From 4cc0a2b5ab25a968c15d16e231406109fa25ef1a Mon Sep 17 00:00:00 2001 From: Nicholas Rodine Date: Thu, 22 Aug 2013 10:38:55 -0400 Subject: [PATCH] Made a 2nd "_xna" .csproj file for the C# runtimes. This is unavoidable, as microsoft is ass-backwards. The proper solution would be to add an "XNA" configuration (or even better, "XNA-XBOX" and "XNA-Windows" configuration), but Microsoft requires that any project referenced by XNA also import XNA, even if the base project doesn't depend on it. Removed a lot of unneccessary stuff from the normal spine-csharp.csproj file, as no one else has Ultimate Edition and they were not configured properly. Changed the XNA solution to point to the _xna csproj. --- spine-csharp/spine-csharp.csproj | 13 ----- spine-csharp/spine-csharp_xna.csproj | 85 ++++++++++++++++++++++++++++ spine-xna/spine-xna.sln | 2 +- 3 files changed, 86 insertions(+), 14 deletions(-) create mode 100644 spine-csharp/spine-csharp_xna.csproj diff --git a/spine-csharp/spine-csharp.csproj b/spine-csharp/spine-csharp.csproj index 9b12ce007..78317f64a 100644 --- a/spine-csharp/spine-csharp.csproj +++ b/spine-csharp/spine-csharp.csproj @@ -30,14 +30,8 @@ true full AnyCPU - bin\x86\Debug\spine-csharp.dll.CodeAnalysisLog.xml - true - GlobalSuppressions.cs false prompt - MinimumRecommendedRules.ruleset - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules bin\Release\ @@ -46,15 +40,8 @@ true pdbonly AnyCPU - bin\x86\Release\spine-csharp.dll.CodeAnalysisLog.xml - true - GlobalSuppressions.cs false prompt - MinimumRecommendedRules.ruleset - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules - true diff --git a/spine-csharp/spine-csharp_xna.csproj b/spine-csharp/spine-csharp_xna.csproj new file mode 100644 index 000000000..300868cfe --- /dev/null +++ b/spine-csharp/spine-csharp_xna.csproj @@ -0,0 +1,85 @@ + + + + {94144E22-2431-4A8F-AC04-DEC22F7EDD8F} + 9.0.21022 + 2.0 + Debug + x86 + Library + Properties + Spine + spine-csharp_xna + v4.0 + + + v4.0 + Windows + HiDef + 99dfd52d-8beb-4e5c-a68b-365be39e8064 + Library + + + 3.5 + + + + true + bin\Debug\ + DEBUG;TRACE;WINDOWS + true + full + AnyCPU + false + prompt + + + bin\Release\ + TRACE;WINDOWS + true + true + pdbonly + AnyCPU + false + prompt + + + + + + 4.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spine-xna/spine-xna.sln b/spine-xna/spine-xna.sln index fec423e85..212747ac1 100644 --- a/spine-xna/spine-xna.sln +++ b/spine-xna/spine-xna.sln @@ -5,7 +5,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "spine-xna", "spine-xna.cspr EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "spine-xna-example", "example\spine-xna-example.csproj", "{29CC4385-294A-4885-A3E8-FD4825E0CFDD}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "spine-csharp", "..\spine-csharp\spine-csharp.csproj", "{94144E22-2431-4A8F-AC04-DEC22F7EDD8F}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "spine-csharp_xna", "..\spine-csharp\spine-csharp_xna.csproj", "{94144E22-2431-4A8F-AC04-DEC22F7EDD8F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution