From af68910685326a660cc88cd92582b38cbc0d9b2f Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 8 Oct 2017 00:20:13 -0400 Subject: [PATCH] convert mod build config into .NET project to simplify C# build tasks --- .../Properties/AssemblyInfo.cs | 9 ++++ .../README.md | 0 .../StardewModdingAPI.ModBuildConfig.csproj | 49 ++++++++++++++++++ .../assets/nuget-icon.pdn | Bin .../assets/nuget-icon.png | Bin .../build/smapi.targets | 0 .../package.nuspec | 0 .../release-notes.md | 0 src/SMAPI.sln | 12 +++++ 9 files changed, 70 insertions(+) create mode 100644 src/SMAPI.ModBuildConfig/Properties/AssemblyInfo.cs rename src/{ModBuildConfig => SMAPI.ModBuildConfig}/README.md (100%) create mode 100644 src/SMAPI.ModBuildConfig/StardewModdingAPI.ModBuildConfig.csproj rename src/{ModBuildConfig => SMAPI.ModBuildConfig}/assets/nuget-icon.pdn (100%) rename src/{ModBuildConfig => SMAPI.ModBuildConfig}/assets/nuget-icon.png (100%) rename src/{ModBuildConfig => SMAPI.ModBuildConfig}/build/smapi.targets (100%) rename src/{ModBuildConfig => SMAPI.ModBuildConfig}/package.nuspec (100%) rename src/{ModBuildConfig => SMAPI.ModBuildConfig}/release-notes.md (100%) diff --git a/src/SMAPI.ModBuildConfig/Properties/AssemblyInfo.cs b/src/SMAPI.ModBuildConfig/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..57dde638 --- /dev/null +++ b/src/SMAPI.ModBuildConfig/Properties/AssemblyInfo.cs @@ -0,0 +1,9 @@ +using System.Reflection; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("StardewModdingAPI.ModBuildConfig")] +[assembly: AssemblyDescription("")] +[assembly: Guid("ea4f1e80-743f-4a1d-9757-ae66904a196a")] +[assembly: ComVisible(false)] +[assembly: AssemblyVersion("1.7.1.0")] +[assembly: AssemblyFileVersion("1.7.1.0")] diff --git a/src/ModBuildConfig/README.md b/src/SMAPI.ModBuildConfig/README.md similarity index 100% rename from src/ModBuildConfig/README.md rename to src/SMAPI.ModBuildConfig/README.md diff --git a/src/SMAPI.ModBuildConfig/StardewModdingAPI.ModBuildConfig.csproj b/src/SMAPI.ModBuildConfig/StardewModdingAPI.ModBuildConfig.csproj new file mode 100644 index 00000000..2e37a89d --- /dev/null +++ b/src/SMAPI.ModBuildConfig/StardewModdingAPI.ModBuildConfig.csproj @@ -0,0 +1,49 @@ + + + + + Debug + x86 + {EA4F1E80-743F-4A1D-9757-AE66904A196A} + Library + Properties + StardewModdingAPI.ModBuildConfig + StardewModdingAPI.ModBuildConfig + v4.6.1 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ModBuildConfig/assets/nuget-icon.pdn b/src/SMAPI.ModBuildConfig/assets/nuget-icon.pdn similarity index 100% rename from src/ModBuildConfig/assets/nuget-icon.pdn rename to src/SMAPI.ModBuildConfig/assets/nuget-icon.pdn diff --git a/src/ModBuildConfig/assets/nuget-icon.png b/src/SMAPI.ModBuildConfig/assets/nuget-icon.png similarity index 100% rename from src/ModBuildConfig/assets/nuget-icon.png rename to src/SMAPI.ModBuildConfig/assets/nuget-icon.png diff --git a/src/ModBuildConfig/build/smapi.targets b/src/SMAPI.ModBuildConfig/build/smapi.targets similarity index 100% rename from src/ModBuildConfig/build/smapi.targets rename to src/SMAPI.ModBuildConfig/build/smapi.targets diff --git a/src/ModBuildConfig/package.nuspec b/src/SMAPI.ModBuildConfig/package.nuspec similarity index 100% rename from src/ModBuildConfig/package.nuspec rename to src/SMAPI.ModBuildConfig/package.nuspec diff --git a/src/ModBuildConfig/release-notes.md b/src/SMAPI.ModBuildConfig/release-notes.md similarity index 100% rename from src/ModBuildConfig/release-notes.md rename to src/SMAPI.ModBuildConfig/release-notes.md diff --git a/src/SMAPI.sln b/src/SMAPI.sln index 7941394d..d43ba1c2 100644 --- a/src/SMAPI.sln +++ b/src/SMAPI.sln @@ -45,6 +45,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{09CF91E5 ..\build\prepare-install-package.targets = ..\build\prepare-install-package.targets EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StardewModdingAPI.ModBuildConfig", "SMAPI.ModBuildConfig\StardewModdingAPI.ModBuildConfig.csproj", "{EA4F1E80-743F-4A1D-9757-AE66904A196A}" +EndProject Global GlobalSection(SharedMSBuildProjectFiles) = preSolution SMAPI.Common\StardewModdingAPI.Common.projitems*{2aa02fb6-ff03-41cf-a215-2ee60ab4f5dc}*SharedItemsImports = 13 @@ -121,6 +123,16 @@ Global {A308F679-51A3-4006-92D5-BAEC7EBD01A1}.Release|Mixed Platforms.Build.0 = Release|Any CPU {A308F679-51A3-4006-92D5-BAEC7EBD01A1}.Release|x86.ActiveCfg = Release|Any CPU {A308F679-51A3-4006-92D5-BAEC7EBD01A1}.Release|x86.Build.0 = Release|Any CPU + {EA4F1E80-743F-4A1D-9757-AE66904A196A}.Debug|Any CPU.ActiveCfg = Debug|x86 + {EA4F1E80-743F-4A1D-9757-AE66904A196A}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 + {EA4F1E80-743F-4A1D-9757-AE66904A196A}.Debug|Mixed Platforms.Build.0 = Debug|x86 + {EA4F1E80-743F-4A1D-9757-AE66904A196A}.Debug|x86.ActiveCfg = Debug|x86 + {EA4F1E80-743F-4A1D-9757-AE66904A196A}.Debug|x86.Build.0 = Debug|x86 + {EA4F1E80-743F-4A1D-9757-AE66904A196A}.Release|Any CPU.ActiveCfg = Release|x86 + {EA4F1E80-743F-4A1D-9757-AE66904A196A}.Release|Mixed Platforms.ActiveCfg = Release|x86 + {EA4F1E80-743F-4A1D-9757-AE66904A196A}.Release|Mixed Platforms.Build.0 = Release|x86 + {EA4F1E80-743F-4A1D-9757-AE66904A196A}.Release|x86.ActiveCfg = Release|x86 + {EA4F1E80-743F-4A1D-9757-AE66904A196A}.Release|x86.Build.0 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE