From 8715a709497cfb0ccd99cf0ba15167d69422aa66 Mon Sep 17 00:00:00 2001 From: Andrew Cassidy Date: Thu, 5 Sep 2024 00:05:34 -0700 Subject: [PATCH] nuget needs a sln file to not freak out MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🙄 --- .github/workflows/test-plugin-legacy.yml | 2 +- KSPBuildTools.csproj | 3 +-- tests/plugin-mod-legacy/PluginModLegacy.sln | 22 +++++++++++++++++++ .../Properties/AssemblyInfo.cs | 0 .../{ => PluginModLegacy}/packages.config | 0 .../plugin-mod-legacy.csproj | 17 ++++++++------ 6 files changed, 34 insertions(+), 10 deletions(-) create mode 100644 tests/plugin-mod-legacy/PluginModLegacy.sln rename tests/plugin-mod-legacy/{ => PluginModLegacy}/Properties/AssemblyInfo.cs (100%) rename tests/plugin-mod-legacy/{ => PluginModLegacy}/packages.config (100%) rename tests/plugin-mod-legacy/{ => PluginModLegacy}/plugin-mod-legacy.csproj (69%) diff --git a/.github/workflows/test-plugin-legacy.yml b/.github/workflows/test-plugin-legacy.yml index 4e09285..9f95748 100644 --- a/.github/workflows/test-plugin-legacy.yml +++ b/.github/workflows/test-plugin-legacy.yml @@ -16,7 +16,7 @@ jobs: - uses: ./.github/actions/compile with: - solution-file-path: ${{ env.TESTDIR }}/plugin-mod-legacy.csproj + solution-file-path: ${{ env.TESTDIR }}/PluginModLegacy.sln ksp-zip-url: https://github.com/KSPModdingLibs/KSPLibs/raw/main/KSP-1.12.5.zip - uses: ./.github/actions/assemble-release diff --git a/KSPBuildTools.csproj b/KSPBuildTools.csproj index 425e5b9..15c8db9 100644 --- a/KSPBuildTools.csproj +++ b/KSPBuildTools.csproj @@ -34,7 +34,6 @@ - - + \ No newline at end of file diff --git a/tests/plugin-mod-legacy/PluginModLegacy.sln b/tests/plugin-mod-legacy/PluginModLegacy.sln new file mode 100644 index 0000000..20a4cfd --- /dev/null +++ b/tests/plugin-mod-legacy/PluginModLegacy.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "plugin-mod-legacy", "PluginModLegacy\plugin-mod-legacy.csproj", "{F19C7AB4-50C2-4378-9673-CC039CA12E10}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F19C7AB4-50C2-4378-9673-CC039CA12E10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F19C7AB4-50C2-4378-9673-CC039CA12E10}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F19C7AB4-50C2-4378-9673-CC039CA12E10}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F19C7AB4-50C2-4378-9673-CC039CA12E10}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/tests/plugin-mod-legacy/Properties/AssemblyInfo.cs b/tests/plugin-mod-legacy/PluginModLegacy/Properties/AssemblyInfo.cs similarity index 100% rename from tests/plugin-mod-legacy/Properties/AssemblyInfo.cs rename to tests/plugin-mod-legacy/PluginModLegacy/Properties/AssemblyInfo.cs diff --git a/tests/plugin-mod-legacy/packages.config b/tests/plugin-mod-legacy/PluginModLegacy/packages.config similarity index 100% rename from tests/plugin-mod-legacy/packages.config rename to tests/plugin-mod-legacy/PluginModLegacy/packages.config diff --git a/tests/plugin-mod-legacy/plugin-mod-legacy.csproj b/tests/plugin-mod-legacy/PluginModLegacy/plugin-mod-legacy.csproj similarity index 69% rename from tests/plugin-mod-legacy/plugin-mod-legacy.csproj rename to tests/plugin-mod-legacy/PluginModLegacy/plugin-mod-legacy.csproj index 91aa357..94c84cf 100644 --- a/tests/plugin-mod-legacy/plugin-mod-legacy.csproj +++ b/tests/plugin-mod-legacy/PluginModLegacy/plugin-mod-legacy.csproj @@ -1,6 +1,6 @@ - + Debug AnyCPU @@ -54,9 +54,12 @@ $(MSBuildThisFileDirectory) GameData/plugin-mod-legacy - - - + + + + + + @@ -67,8 +70,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + - + \ No newline at end of file