summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-11-17 22:23:45 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-11-17 22:23:45 -0500
commit59c35862ca429590ff0e4f8001d894bf70fc3704 (patch)
tree200ebefb68c47a0c7d2ba29678c7e2f3c15cf8af
parent22fe2d8716b81821908f0f6631cd3384d8af66c7 (diff)
downloadSMAPI-59c35862ca429590ff0e4f8001d894bf70fc3704.tar.gz
SMAPI-59c35862ca429590ff0e4f8001d894bf70fc3704.tar.bz2
SMAPI-59c35862ca429590ff0e4f8001d894bf70fc3704.zip
add global assembly info
-rw-r--r--README.md2
-rw-r--r--src/GlobalAssemblyInfo.cs6
-rw-r--r--src/StardewModdingAPI.Installer/Properties/AssemblyInfo.cs3
-rw-r--r--src/StardewModdingAPI.Installer/StardewModdingAPI.Installer.csproj5
-rw-r--r--src/StardewModdingAPI.sln1
-rw-r--r--src/StardewModdingAPI/Properties/AssemblyInfo.cs3
-rw-r--r--src/StardewModdingAPI/StardewModdingAPI.csproj3
-rw-r--r--src/TrainerMod/Properties/AssemblyInfo.cs35
-rw-r--r--src/TrainerMod/TrainerMod.csproj3
9 files changed, 19 insertions, 42 deletions
diff --git a/README.md b/README.md
index de77f10f..bd200b7a 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@ _[crossplatforming a SMAPI mod](http://canimod.com/guides/crossplatforming-a-sma
for the first-time setup. For simplicity, all paths are relative to the root of the repository (the
directory containing `src`).
-1. Update the version number in `AssemblyInfo.cs` and `Constants::Version`. Make sure you use a
+1. Update the version number in `GlobalAssemblyInfo.cs` and `Constants::Version`. Make sure you use a
[semantic version](http://semver.org). Recommended format:
build type | format | example
diff --git a/src/GlobalAssemblyInfo.cs b/src/GlobalAssemblyInfo.cs
new file mode 100644
index 00000000..00098350
--- /dev/null
+++ b/src/GlobalAssemblyInfo.cs
@@ -0,0 +1,6 @@
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+[assembly: ComVisible(false)]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")] \ No newline at end of file
diff --git a/src/StardewModdingAPI.Installer/Properties/AssemblyInfo.cs b/src/StardewModdingAPI.Installer/Properties/AssemblyInfo.cs
index 5d2b0dcc..3a6a4648 100644
--- a/src/StardewModdingAPI.Installer/Properties/AssemblyInfo.cs
+++ b/src/StardewModdingAPI.Installer/Properties/AssemblyInfo.cs
@@ -3,7 +3,4 @@ using System.Runtime.InteropServices;
[assembly: AssemblyTitle("StardewModdingAPI.Installer")]
[assembly: AssemblyProduct("StardewModdingAPI.Installer")]
-[assembly: ComVisible(false)]
[assembly: Guid("443ddf81-6aaf-420a-a610-3459f37e5575")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/StardewModdingAPI.Installer/StardewModdingAPI.Installer.csproj b/src/StardewModdingAPI.Installer/StardewModdingAPI.Installer.csproj
index d08d3352..6f9ed2eb 100644
--- a/src/StardewModdingAPI.Installer/StardewModdingAPI.Installer.csproj
+++ b/src/StardewModdingAPI.Installer/StardewModdingAPI.Installer.csproj
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
@@ -36,6 +36,9 @@
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
+ <Compile Include="..\GlobalAssemblyInfo.cs">
+ <Link>Properties\GlobalAssemblyInfo.cs</Link>
+ </Compile>
<Compile Include="Enums\ScriptAction.cs" />
<Compile Include="Enums\Platform.cs" />
<Compile Include="InteractiveInstaller.cs" />
diff --git a/src/StardewModdingAPI.sln b/src/StardewModdingAPI.sln
index 29c80e89..31bf5f2f 100644
--- a/src/StardewModdingAPI.sln
+++ b/src/StardewModdingAPI.sln
@@ -11,6 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "metadata", "metadata", "{86
ProjectSection(SolutionItems) = preProject
..\.gitattributes = ..\.gitattributes
..\.gitignore = ..\.gitignore
+ GlobalAssemblyInfo.cs = GlobalAssemblyInfo.cs
..\LICENSE = ..\LICENSE
..\README.md = ..\README.md
..\release-notes.md = ..\release-notes.md
diff --git a/src/StardewModdingAPI/Properties/AssemblyInfo.cs b/src/StardewModdingAPI/Properties/AssemblyInfo.cs
index 34399ee5..348c2109 100644
--- a/src/StardewModdingAPI/Properties/AssemblyInfo.cs
+++ b/src/StardewModdingAPI/Properties/AssemblyInfo.cs
@@ -3,7 +3,4 @@ using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Stardew Modding API (SMAPI)")]
[assembly: AssemblyDescription("A modding API for Stardew Valley.")]
-[assembly: ComVisible(false)]
[assembly: Guid("5c3f7f42-fefd-43db-aaea-92ea3bcad531")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")] \ No newline at end of file
diff --git a/src/StardewModdingAPI/StardewModdingAPI.csproj b/src/StardewModdingAPI/StardewModdingAPI.csproj
index 475d8893..7b28a63e 100644
--- a/src/StardewModdingAPI/StardewModdingAPI.csproj
+++ b/src/StardewModdingAPI/StardewModdingAPI.csproj
@@ -158,6 +158,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
+ <Compile Include="..\GlobalAssemblyInfo.cs">
+ <Link>Properties\GlobalAssemblyInfo.cs</Link>
+ </Compile>
<Compile Include="Advanced\ConfigFile.cs" />
<Compile Include="Advanced\IConfigFile.cs" />
<Compile Include="Command.cs" />
diff --git a/src/TrainerMod/Properties/AssemblyInfo.cs b/src/TrainerMod/Properties/AssemblyInfo.cs
index 521f5a79..0b19e78a 100644
--- a/src/TrainerMod/Properties/AssemblyInfo.cs
+++ b/src/TrainerMod/Properties/AssemblyInfo.cs
@@ -1,39 +1,6 @@
using System.Reflection;
using System.Runtime.InteropServices;
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-
[assembly: AssemblyTitle("TrainerMod")]
[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("TrainerMod")]
-[assembly: AssemblyCopyright("Copyright © 2016")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-
-[assembly: Guid("76791e28-b1b5-407c-82d6-50c3e5b7e037")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")] \ No newline at end of file
+[assembly: Guid("76791e28-b1b5-407c-82d6-50c3e5b7e037")] \ No newline at end of file
diff --git a/src/TrainerMod/TrainerMod.csproj b/src/TrainerMod/TrainerMod.csproj
index 4b940780..229e6b4d 100644
--- a/src/TrainerMod/TrainerMod.csproj
+++ b/src/TrainerMod/TrainerMod.csproj
@@ -98,6 +98,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
+ <Compile Include="..\GlobalAssemblyInfo.cs">
+ <Link>Properties\GlobalAssemblyInfo.cs</Link>
+ </Compile>
<Compile Include="Framework\Extensions.cs" />
<Compile Include="TrainerMod.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />