From 40f65d4c9e6711706366daab7fb2fcfc1309f910 Mon Sep 17 00:00:00 2001 From: csharptest Date: Tue, 16 Oct 2012 13:39:17 -0500 Subject: [PATCH] Working project templates for Silverlight testing of SL2..4 and PL4 --- build/target.csproj | 6 ++-- csproj_templates/CF35.csproj | 3 ++ csproj_templates/NET35.csproj | 3 ++ csproj_templates/NET40.csproj | 3 ++ csproj_templates/PL40.csproj | 27 ++++++++++++++-- csproj_templates/SL20.csproj | 6 +++- csproj_templates/SL30.csproj | 9 +++++- csproj_templates/SL40.csproj | 9 +++++- csproj_templates/SLTest.targets | 31 +++++++++++++++++++ .../ProtocolBuffers.Test.csproj | 3 +- .../ProtocolBuffersLite.Test.csproj | 3 +- .../ProtocolBuffersLiteMixed.Test.csproj | 3 +- 12 files changed, 95 insertions(+), 11 deletions(-) create mode 100644 csproj_templates/SLTest.targets diff --git a/build/target.csproj b/build/target.csproj index 0436b83d95..5babb6ff10 100644 --- a/build/target.csproj +++ b/build/target.csproj @@ -82,7 +82,7 @@ Target Versions 4.0 - NONE + SILVERLIGHT v4.0 $(ProjectDirectory)\build_output\$(Configuration)\portable-net40+sl4+sl5+wp7+wp8+win8 @@ -101,7 +101,7 @@ File Groups - + @@ -160,7 +160,7 @@ Targets For Test - diff --git a/csproj_templates/CF35.csproj b/csproj_templates/CF35.csproj index fb42a1a771..eae866f006 100644 --- a/csproj_templates/CF35.csproj +++ b/csproj_templates/CF35.csproj @@ -23,6 +23,9 @@ $(DefineConstants);NOSERIALIZABLE;NOFILEVERSION true + + + diff --git a/csproj_templates/NET35.csproj b/csproj_templates/NET35.csproj index b69f7a591f..80ef69aa3d 100644 --- a/csproj_templates/NET35.csproj +++ b/csproj_templates/NET35.csproj @@ -14,4 +14,7 @@ obj\NET35\Release\ $(DefineConstants) + + + \ No newline at end of file diff --git a/csproj_templates/NET40.csproj b/csproj_templates/NET40.csproj index 0783be2db1..691845a656 100644 --- a/csproj_templates/NET40.csproj +++ b/csproj_templates/NET40.csproj @@ -14,4 +14,7 @@ obj\NET40\Release\ $(DefineConstants) + + + \ No newline at end of file diff --git a/csproj_templates/PL40.csproj b/csproj_templates/PL40.csproj index ad969bdc00..fa3b098ea7 100644 --- a/csproj_templates/PL40.csproj +++ b/csproj_templates/PL40.csproj @@ -1,4 +1,6 @@ - + 10.0 PORTABLE_LIBRARY @@ -17,7 +19,21 @@ obj\PL40\Release\ $(DefineConstants);NOSERIALIZABLE;NOSORTEDLIST - + + + + + + + {A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + false + false + + + + + + + + + + + \ No newline at end of file diff --git a/csproj_templates/SL20.csproj b/csproj_templates/SL20.csproj index 48de13fc31..ba6f20d33a 100644 --- a/csproj_templates/SL20.csproj +++ b/csproj_templates/SL20.csproj @@ -1,4 +1,6 @@ - + SILVERLIGHT SL20 @@ -20,6 +22,8 @@ $(DefineConstants);NOSERIALIZABLE;NOSORTEDLIST;NOEXTENSIONS true + + + + - + Program $(ProjectDir)..\..\lib\NUnit\tools\nunit-console.exe /nologo /noshadow /labels /wait $(AssemblyName).dll diff --git a/src/ProtocolBuffersLite.Test/ProtocolBuffersLite.Test.csproj b/src/ProtocolBuffersLite.Test/ProtocolBuffersLite.Test.csproj index 7cf48eec51..73630e3f4c 100644 --- a/src/ProtocolBuffersLite.Test/ProtocolBuffersLite.Test.csproj +++ b/src/ProtocolBuffersLite.Test/ProtocolBuffersLite.Test.csproj @@ -3,6 +3,7 @@ CLIENTPROFILE NET35 + TEST Debug AnyCPU 9.0.30729 @@ -112,7 +113,7 @@ --> - + Program $(ProjectDir)..\..\lib\NUnit\tools\nunit-console.exe /nologo /noshadow /labels /wait $(AssemblyName).dll diff --git a/src/ProtocolBuffersLite.Test/ProtocolBuffersLiteMixed.Test.csproj b/src/ProtocolBuffersLite.Test/ProtocolBuffersLiteMixed.Test.csproj index 970e8b951f..e6480b132a 100644 --- a/src/ProtocolBuffersLite.Test/ProtocolBuffersLiteMixed.Test.csproj +++ b/src/ProtocolBuffersLite.Test/ProtocolBuffersLiteMixed.Test.csproj @@ -3,6 +3,7 @@ CLIENTPROFILE NET35 + TEST Debug AnyCPU 9.0.30729 @@ -105,7 +106,7 @@ --> - + Program $(ProjectDir)..\..\lib\NUnit\tools\nunit-console.exe /nologo /noshadow /labels /wait $(AssemblyName).dll