Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make build files consistent across all projs

  • Loading branch information...
commit b072b263676058e9e5a847b1bc1920e91901271b 1 parent d89f351
@mythz mythz authored
Showing with 484 additions and 0 deletions.
  1. +223 −0 build/build-remote.proj
  2. +261 −0 build/build.proj
View
223 build/build-remote.proj
@@ -0,0 +1,223 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+ <Import Project="$(MSBuildProjectDirectory)/Build.tasks" />
+
+ <PropertyGroup>
+ <MajorVersion>3</MajorVersion>
+ <MinorVersion>9</MinorVersion>
+ <PatchVersion>$(BUILD_NUMBER)</PatchVersion>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <BuildSolutionDir>$(MSBuildProjectDirectory)/..</BuildSolutionDir>
+ <SrcDir>$(BuildSolutionDir)/src</SrcDir>
+ <Configuration Condition="$(Configuration) == ''">Release</Configuration>
+ <NUnitConsoleArgs>/noshadow</NUnitConsoleArgs>
+ <NuGetPath>$(BuildSolutionDir)/src/.nuget/nuget.exe</NuGetPath>
+ <NuGetPackageDir>$(BuildSolutionDir)/NuGet/</NuGetPackageDir>
+ <NuGetBasePath>$(MSBuildProjectDirectory)</NuGetBasePath>
+ <Version>$(MajorVersion).$(MinorVersion).$(PatchVersion).0</Version>
+ <UnstableTag Condition="$(RELEASE) == ''">-unstable</UnstableTag>
+ <PackageVersion>$(MajorVersion).$(MinorVersion).$(PatchVersion)$(UnstableTag)</PackageVersion>
+ <EnvVersion>$(MajorVersion).$(MinorVersion)$(PatchVersion)</EnvVersion>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <DoBuildSolutionsDependsOn>
+ BuildSolutions
+ </DoBuildSolutionsDependsOn>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <NugetPackageFilesToDelete Include="$(NuGetPackageDir)/*.nupkg"/>
+ </ItemGroup>
+
+ <Target Name="Default" DependsOnTargets="$(DoBuildSolutionsDependsOn)" />
+
+ <Target Name="TeamCityBuild">
+ <Copy SourceFiles="$(BuildSolutionDir)/tests/ServiceStack.Common.Tests/ci.app.config" DestinationFiles="$(BuildSolutionDir)/tests/ServiceStack.Common.Tests/app.config" />
+ <CallTarget Targets="Default" />
+ </Target>
+
+ <Target Name="UnitTests" DependsOnTargets="$(DoBuildSolutionsDependsOn)">
+ <Exec Command="$(BuildSolutionDir)/lib/tests/nunit-console-x86.exe $(BuildSolutionDir)/tests/ServiceStack.ServiceHost.Tests/bin/$(Configuration)/ServiceStack.ServiceHost.Tests.dll $(NUnitConsoleArgs)" />
+ <Exec Command="$(BuildSolutionDir)/lib/tests/nunit-console-x86.exe $(BuildSolutionDir)/tests/ServiceStack.Messaging.Tests/bin/$(Configuration)/ServiceStack.Messaging.Tests.dll $(NUnitConsoleArgs)" />
+ <Exec Command="$(BuildSolutionDir)/lib/tests/nunit-console-x86.exe $(BuildSolutionDir)/tests/ServiceStack.Common.Tests/bin/$(Configuration)/ServiceStack.Common.Tests.dll $(NUnitConsoleArgs)" />
+ <Exec Command="$(BuildSolutionDir)/lib/tests/nunit-console-x86.exe $(BuildSolutionDir)/tests/ServiceStack.Auth.Tests/bin/$(Configuration)/ServiceStack.Auth.Tests.dll $(NUnitConsoleArgs)" />
+ <Exec Command="$(BuildSolutionDir)/lib/tests/nunit-console-x86.exe $(BuildSolutionDir)/tests/ServiceStack.WebHostApp/bin/ServiceStack.WebHost.Endpoints.Tests.dll $(NUnitConsoleArgs)" />
+ </Target>
+
+ <Target Name="Build">
+ <MSBuild Projects="../src/ServiceStack.Interfaces/ServiceStack.Interfaces.csproj" Properties="Configuration=$(Configuration)"/>
+ <MSBuild Projects="../src/ServiceStack.Common/ServiceStack.Common.csproj" Properties="Configuration=$(Configuration)"/>
+ <MSBuild Projects="../src/ServiceStack/ServiceStack.csproj" Properties="Configuration=$(Configuration)"/>
+ </Target>
+
+ <Target Name="BuildSolutions">
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.sln" Targets="Build"
+ Properties="Configuration=$(Configuration)" />
+ </Target>
+
+ <Target Name="NuGetPack">
+
+ <!-- Update Version -->
+ <ItemGroup>
+ <RegexTransform Include="$(BuildSolutionDir)/src/**/AssemblyInfo.cs">
+ <Find>\d+\.\d+\.\d+\.\d+</Find>
+ <ReplaceWith>$(Version)</ReplaceWith>
+ </RegexTransform>
+ </ItemGroup>
+
+ <RegexTransform Items="@(RegexTransform)" />
+
+ <Delete Files="@(NugetPackageFilesToDelete)" />
+
+ <ItemGroup>
+ <ServiceStackFiles Include="$(SrcDir)/ServiceStack.ServiceInterface/bin/$(Configuration)/ServiceStack.ServiceInterface.*"></ServiceStackFiles>
+ <ServiceStackFiles Include="$(SrcDir)/ServiceStack.ServiceInterface/bin/$(Configuration)/ServiceStack.dll"></ServiceStackFiles>
+ <ServiceStackFiles Include="$(SrcDir)/ServiceStack.ServiceInterface/bin/$(Configuration)/ServiceStack.pdb"></ServiceStackFiles>
+ <ServiceStackFiles Include="$(SrcDir)/ServiceStack.ServiceInterface/bin/$(Configuration)/ServiceStack.xml"></ServiceStackFiles>
+
+ <ServiceStackRazorFiles Include="$(SrcDir)/ServiceStack.Razor/bin/$(Configuration)/ServiceStack.Razor.*"></ServiceStackRazorFiles>
+
+ <ServiceStackCommonFiles Include="$(SrcDir)/ServiceStack.Common/bin/$(Configuration)/ServiceStack.Common.*"></ServiceStackCommonFiles>
+ <ServiceStackCommonFiles Include="$(SrcDir)/ServiceStack.Common/bin/$(Configuration)/ServiceStack.Interfaces.*"></ServiceStackCommonFiles>
+
+ <ServiceStackMvcFiles Include="$(SrcDir)/ServiceStack.FluentValidation.Mvc3/bin/$(Configuration)/ServiceStack.FluentValidation.Mvc3.*"></ServiceStackMvcFiles>
+
+ <ServiceStackAuthenticationOpenIdFiles Include="$(SrcDir)/ServiceStack.Authentication.OpenId/bin/$(Configuration)/ServiceStack.Authentication.OpenId.*"></ServiceStackAuthenticationOpenIdFiles>
+
+ <ServiceStackAuthenticationOAuth2Files Include="$(SrcDir)/ServiceStack.Authentication.OAuth2/bin/$(Configuration)/ServiceStack.Authentication.OAuth2.*"></ServiceStackAuthenticationOAuth2Files>
+
+ <ServiceStackPluginsProtoBufFiles Include="$(SrcDir)/ServiceStack.Plugins.ProtoBuf/bin/$(Configuration)/ServiceStack.Plugins.ProtoBuf.*"></ServiceStackPluginsProtoBufFiles>
+
+ <ServiceStackPluginsMsgPackFiles Include="$(SrcDir)/ServiceStack.Plugins.MsgPack/bin/$(Configuration)/ServiceStack.Plugins.MsgPack.*"></ServiceStackPluginsMsgPackFiles>
+ <ServiceStackPluginsMsgPackFiles Include="$(BuildSolutionDir)/lib/MsgPack.dll"></ServiceStackPluginsMsgPackFiles>
+
+ <ServiceStackClientSilverlightFiles Include="$(SrcDir)/ServiceStack.Client.Silverlight/bin/$(Configuration)/ServiceStack.Client.Silverlight.*"></ServiceStackClientSilverlightFiles>
+
+ <StackOverflowSwaggerFiles Include="$(SrcDir)/ServiceStack.Api.Swagger/bin/$(Configuration)/ServiceStack.Api.Swagger.*"></StackOverflowSwaggerFiles>
+ </ItemGroup>
+
+
+ <!-- ServiceStack.Api.Swagger -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Api.Swagger/ServiceStack.Api.Swagger.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <Copy SourceFiles="%(StackOverflowSwaggerFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Api.Swagger/lib/net35" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Api.Swagger/servicestack.api.swagger.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion)"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Authentication.OpenId -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Authentication.OpenId/ServiceStack.Authentication.OpenId.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Authentication.OpenId/lib/net35" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Authentication.OpenId/lib/net35')" />
+ <Copy SourceFiles="%(ServiceStackAuthenticationOpenIdFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Authentication.OpenId/lib/net35" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Authentication.OpenId/servicestack.authentication.openid.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion)"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Authentication.OAuth2 -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Authentication.OAuth2/ServiceStack.Authentication.OAuth2.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2/lib/net35" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2/lib/net35')" />
+ <Copy SourceFiles="%(ServiceStackAuthenticationOpenIdFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2/lib/net35" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2/servicestack.authentication.oauth2.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion)"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Client.Silverlight - Empty NuGet wrapper around ServiceStack.Common -->
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Client.Silverlight/servicestack.client.silverlight.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion)"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Host.AspNet - Content Templates -->
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Host.AspNet/servicestack.host.aspnet.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion)"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Host.Mvc - Content Templates -->
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Host.Mvc/servicestack.host.mvc.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion)"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Mvc -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.FluentValidation.Mvc3/ServiceStack.FluentValidation.Mvc3.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Mvc/lib/net40" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Mvc/lib/net40')" />
+ <Copy SourceFiles="%(ServiceStackMvcFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Mvc/lib/net40" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Mvc/servicestack.mvc.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion)"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Plugins.MsgPack -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Plugins.MsgPack/ServiceStack.Plugins.MsgPack.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Plugins.MsgPack/lib/net40" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Plugins.MsgPack/lib/net40')" />
+ <Copy SourceFiles="%(ServiceStackPluginsMsgPackFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Plugins.MsgPack/lib/net40" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Plugins.MsgPack/servicestack.plugins.msgpack.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion)"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Plugins.ProtoBuf -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Plugins.ProtoBuf/ServiceStack.Plugins.ProtoBuf.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Plugins.ProtoBuf/lib/net35" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Plugins.ProtoBuf/lib/net35')" />
+ <Copy SourceFiles="%(ServiceStackPluginsProtoBufFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Plugins.ProtoBuf/lib/net35" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Plugins.ProtoBuf/servicestack.plugins.protobuf.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion)"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Razor -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Razor/ServiceStack.Razor.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <Copy SourceFiles="%(ServiceStackRazorFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Razor/lib/net40" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Razor/servicestack.razor.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion)"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Common -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Common/ServiceStack.Common.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <Copy SourceFiles="%(ServiceStackCommonFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Common/lib/net35" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Common/servicestack.common.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion)"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.ServiceInterface/ServiceStack.ServiceInterface.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <Copy SourceFiles="%(ServiceStackFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack/lib/net35" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack/servicestack.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion)"
+ LogStandardErrorAsError="true" />
+
+ </Target>
+
+</Project>
View
261 build/build.proj
@@ -0,0 +1,261 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+ <Import Project="$(MSBuildProjectDirectory)/build.tasks" />
+
+ <PropertyGroup>
+ <MajorVersion Condition="$(MajorVersion) == ''">3</MajorVersion>
+ <MinorVersion Condition="$(MinorVersion) == ''">9</MinorVersion>
+ <PatchVersion Condition="$(PatchVersion) == ''">$(BUILD_NUMBER)</PatchVersion>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <BuildSolutionDir>$(MSBuildProjectDirectory)/..</BuildSolutionDir>
+ <SrcDir>$(BuildSolutionDir)/src</SrcDir>
+ <Configuration Condition="$(Configuration) == ''">Release</Configuration>
+ <NUnitConsoleArgs>/noshadow</NUnitConsoleArgs>
+ <NuGetPath>$(BuildSolutionDir)/src/.nuget/nuget.exe</NuGetPath>
+ <NuGetPackageDir>$(BuildSolutionDir)/NuGet/</NuGetPackageDir>
+ <Version>$(MajorVersion).$(MinorVersion).$(PatchVersion).0</Version>
+ <UnstableTag Condition="$(RELEASE) == ''">-unstable</UnstableTag>
+ <PackageVersion>$(MajorVersion).$(MinorVersion).$(PatchVersion)$(UnstableTag)</PackageVersion>
+ <EnvVersion>$(MajorVersion).$(MinorVersion)$(PatchVersion)</EnvVersion>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <DoBuildSolutionsDependsOn>
+ BuildSolutions
+ </DoBuildSolutionsDependsOn>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <NugetPackageFilesToDelete Include="$(NuGetPackageDir)/*.nupkg"/>
+ </ItemGroup>
+
+ <Target Name="Default" DependsOnTargets="$(DoBuildSolutionsDependsOn)" />
+
+ <Target Name="TeamCityBuild">
+ <!--<Copy SourceFiles="$(BuildSolutionDir)/tests/ServiceStack.Common.Tests/ci.app.config" DestinationFiles="$(BuildSolutionDir)/tests/ServiceStack.Common.Tests/app.config" />-->
+ <CallTarget Targets="Default" />
+ </Target>
+
+ <Target Name="UnitTests" DependsOnTargets="$(DoBuildSolutionsDependsOn)">
+ <Exec Command="$(BuildSolutionDir)/lib/tests/nunit-console-x86.exe $(BuildSolutionDir)/tests/ServiceStack.ServiceHost.Tests/bin/$(Configuration)/ServiceStack.ServiceHost.Tests.dll $(NUnitConsoleArgs)" />
+ <Exec Command="$(BuildSolutionDir)/lib/tests/nunit-console-x86.exe $(BuildSolutionDir)/tests/ServiceStack.Messaging.Tests/bin/$(Configuration)/ServiceStack.Messaging.Tests.dll $(NUnitConsoleArgs)" />
+ <Exec Command="$(BuildSolutionDir)/lib/tests/nunit-console-x86.exe $(BuildSolutionDir)/tests/ServiceStack.Common.Tests/bin/$(Configuration)/ServiceStack.Common.Tests.dll $(NUnitConsoleArgs)" />
+ <Exec Command="$(BuildSolutionDir)/lib/tests/nunit-console-x86.exe $(BuildSolutionDir)/tests/ServiceStack.Auth.Tests/bin/$(Configuration)/ServiceStack.Auth.Tests.dll $(NUnitConsoleArgs)" />
+ <Exec Command="$(BuildSolutionDir)/lib/tests/nunit-console-x86.exe $(BuildSolutionDir)/tests/ServiceStack.WebHostApp/bin/ServiceStack.WebHost.Endpoints.Tests.dll $(NUnitConsoleArgs)" />
+ </Target>
+
+ <Target Name="Build">
+ <MSBuild Projects="../src/ServiceStack.Interfaces/ServiceStack.Interfaces.csproj" Properties="Configuration=$(Configuration)"/>
+ <MSBuild Projects="../src/ServiceStack.Common/ServiceStack.Common.csproj" Properties="Configuration=$(Configuration)"/>
+ <MSBuild Projects="../src/ServiceStack/ServiceStack.csproj" Properties="Configuration=$(Configuration)"/>
+ </Target>
+
+ <Target Name="BuildSolutions">
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.sln" Targets="Build"
+ Properties="Configuration=$(Configuration)" />
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.SL5.sln" Targets="Build"
+ Properties="Configuration=$(Configuration)" />
+ </Target>
+
+ <Target Name="NuGetPack">
+
+ <ItemGroup>
+ <!-- Exclude versioning future strong-named libs -->
+ <RegexTransform Include="$(BuildSolutionDir)/src/**/AssemblyInfo.cs"
+ Exclude="$(SrcDir)/ServiceStack.Interfaces*/Properties/AssemblyInfo.cs">
+ <Find>\d+\.\d+\.\d+\.\d+</Find>
+ <ReplaceWith>$(Version)</ReplaceWith>
+ </RegexTransform>
+ </ItemGroup>
+
+ <RegexTransform Items="@(RegexTransform)" />
+
+ <Delete Files="@(NugetPackageFilesToDelete)" />
+
+ <ItemGroup>
+ <ServiceStackFiles Include="$(SrcDir)/ServiceStack.ServiceInterface/bin/$(Configuration)/ServiceStack.ServiceInterface.*"></ServiceStackFiles>
+ <ServiceStackFiles Include="$(SrcDir)/ServiceStack.ServiceInterface/bin/$(Configuration)/ServiceStack.dll"></ServiceStackFiles>
+ <ServiceStackFiles Include="$(SrcDir)/ServiceStack.ServiceInterface/bin/$(Configuration)/ServiceStack.pdb"></ServiceStackFiles>
+ <ServiceStackFiles Include="$(SrcDir)/ServiceStack.ServiceInterface/bin/$(Configuration)/ServiceStack.xml"></ServiceStackFiles>
+
+ <ServiceStackRazorFiles Include="$(SrcDir)/ServiceStack.Razor/bin/$(Configuration)/ServiceStack.Razor.*"></ServiceStackRazorFiles>
+
+ <ServiceStackCommonFiles Include="$(SrcDir)/ServiceStack.Common/bin/$(Configuration)/ServiceStack.Common.*"></ServiceStackCommonFiles>
+ <ServiceStackCommonFiles Include="$(SrcDir)/ServiceStack.Common/bin/$(Configuration)/ServiceStack.Interfaces.*"></ServiceStackCommonFiles>
+ <ServiceStackCommonFilesSL5 Include="$(SrcDir)/ServiceStack.Common.SL5/bin/$(Configuration)/ServiceStack.Common.*"></ServiceStackCommonFilesSL5>
+ <ServiceStackCommonFilesSL5 Include="$(SrcDir)/ServiceStack.Common.SL5/bin/$(Configuration)/ServiceStack.Interfaces.*"></ServiceStackCommonFilesSL5>
+
+ <ServiceStackMvcFiles Include="$(SrcDir)/ServiceStack.FluentValidation.Mvc3/bin/$(Configuration)/ServiceStack.FluentValidation.Mvc3.*"></ServiceStackMvcFiles>
+
+ <ServiceStackAuthenticationOpenIdFiles Include="$(SrcDir)/ServiceStack.Authentication.OpenId/bin/$(Configuration)/ServiceStack.Authentication.OpenId.*"></ServiceStackAuthenticationOpenIdFiles>
+
+ <ServiceStackAuthenticationOAuth2Files Include="$(SrcDir)/ServiceStack.Authentication.OAuth2/bin/$(Configuration)/ServiceStack.Authentication.OAuth2.*"></ServiceStackAuthenticationOAuth2Files>
+
+ <ServiceStackPluginsProtoBufFiles Include="$(SrcDir)/ServiceStack.Plugins.ProtoBuf/bin/$(Configuration)/ServiceStack.Plugins.ProtoBuf.*"></ServiceStackPluginsProtoBufFiles>
+
+ <ServiceStackPluginsMsgPackFiles Include="$(SrcDir)/ServiceStack.Plugins.MsgPack/bin/$(Configuration)/ServiceStack.Plugins.MsgPack.*"></ServiceStackPluginsMsgPackFiles>
+ <ServiceStackPluginsMsgPackFiles Include="$(BuildSolutionDir)/lib/MsgPack.dll"></ServiceStackPluginsMsgPackFiles>
+
+ <ServiceStackClientSilverlightFiles Include="$(SrcDir)/ServiceStack.Client.Silverlight/bin/$(Configuration)/ServiceStack.Client.Silverlight.*"></ServiceStackClientSilverlightFiles>
+
+ <StackOverflowSwaggerFiles Include="$(SrcDir)/ServiceStack.Api.Swagger/bin/$(Configuration)/ServiceStack.Api.Swagger.*"></StackOverflowSwaggerFiles>
+ </ItemGroup>
+
+
+ <!-- ServiceStack.Api.Swagger -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Api.Swagger/ServiceStack.Api.Swagger.csproj"
+ Targets="Build"
+ Properties="Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Api.Swagger/lib/net35" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Api.Swagger/lib/net35')" />
+ <Copy SourceFiles="%(StackOverflowSwaggerFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Api.Swagger/lib/net35" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Api.Swagger/servicestack.api.swagger.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Authentication.OpenId -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Authentication.OpenId/ServiceStack.Authentication.OpenId.csproj"
+ Targets="Build"
+ Properties="Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Authentication.OpenId/lib/net35" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Authentication.OpenId/lib/net35')" />
+ <Copy SourceFiles="%(ServiceStackAuthenticationOpenIdFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Authentication.OpenId/lib/net35" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Authentication.OpenId/servicestack.authentication.openid.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Authentication.OAuth2 -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Authentication.OAuth2/ServiceStack.Authentication.OAuth2.csproj"
+ Targets="Build"
+ Properties="Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2/lib/net35" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2/lib/net35')" />
+ <Copy SourceFiles="%(ServiceStackAuthenticationOAuth2Files.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2/lib/net35" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2/servicestack.authentication.oauth2.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Client.Silverlight - Empty NuGet wrapper around ServiceStack.Common -->
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Client.Silverlight/servicestack.client.silverlight.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion)"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Host.AspNet - Content Templates -->
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Host.AspNet/servicestack.host.aspnet.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Host.Mvc - Content Templates -->
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Host.Mvc/servicestack.host.mvc.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Mvc -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.FluentValidation.Mvc3/ServiceStack.FluentValidation.Mvc3.csproj"
+ Targets="Build"
+ Properties="Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Mvc/lib/net40" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Mvc/lib/net40')" />
+ <Copy SourceFiles="%(ServiceStackMvcFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Mvc/lib/net40" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Mvc/servicestack.mvc.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Plugins.MsgPack -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Plugins.MsgPack/ServiceStack.Plugins.MsgPack.csproj"
+ Targets="Build"
+ Properties="Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Plugins.MsgPack/lib/net40" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Plugins.MsgPack/lib/net40')" />
+ <Copy SourceFiles="%(ServiceStackPluginsMsgPackFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Plugins.MsgPack/lib/net40" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Plugins.MsgPack/servicestack.plugins.msgpack.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Plugins.ProtoBuf -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Plugins.ProtoBuf/ServiceStack.Plugins.ProtoBuf.csproj"
+ Targets="Build"
+ Properties="Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Plugins.ProtoBuf/lib/net35" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Plugins.ProtoBuf/lib/net35')" />
+ <Copy SourceFiles="%(ServiceStackPluginsProtoBufFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Plugins.ProtoBuf/lib/net35" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Plugins.ProtoBuf/servicestack.plugins.protobuf.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Razor -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Razor/ServiceStack.Razor.csproj"
+ Targets="Build"
+ Properties="Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Razor/lib/net40" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Razor/lib/net40')" />
+ <Copy SourceFiles="%(ServiceStackRazorFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Razor/lib/net40" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Razor/servicestack.razor.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack.Common -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Common/ServiceStack.Common.csproj"
+ Targets="Build"
+ Properties="Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Common/lib/net35" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Common/lib/net35')" />
+ <Copy SourceFiles="%(ServiceStackCommonFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Common/lib/net35" />
+
+ <!-- Silverlight -->
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Common.SL5/ServiceStack.Common.SL5.csproj"
+ Targets="Build"
+ Properties="Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Common/lib/sl5" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Common/lib/sl5')" />
+ <Copy SourceFiles="%(ServiceStackCommonFilesSL5.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Common/lib/sl5" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Common/servicestack.common.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
+ LogStandardErrorAsError="true" />
+
+ <!-- ServiceStack -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.ServiceInterface/ServiceStack.ServiceInterface.csproj"
+ Targets="Build"
+ Properties="Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <MakeDir Directories="$(NuGetPackageDir)/ServiceStack/lib/net35" Condition="!Exists('$(NuGetPackageDir)/ServiceStack/lib/net35')" />
+ <Copy SourceFiles="%(ServiceStackFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack/lib/net35" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack/servicestack.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
+ LogStandardErrorAsError="true" />
+
+ </Target>
+
+ <Target Name="NuGetPackTest">
+
+ <Delete Files="@(NugetPackageFilesToDelete)" />
+
+ <ItemGroup>
+ <ServiceStackAuthenticationOAuth2TestFiles Include="$(SrcDir)/ServiceStack.Authentication.OAuth2/bin/$(Configuration)/ServiceStack.Authentication.OAuth2.*"></ServiceStackAuthenticationOAuth2TestFiles>
+ </ItemGroup>
+
+ <!-- ServiceStack.Authentication.OAuth2 -->
+
+ <MSBuild Projects="$(BuildSolutionDir)/src/ServiceStack.Authentication.OAuth2/ServiceStack.Authentication.OAuth2.csproj"
+ Targets="Build"
+ Properties="BuildPackage=true;Version=$(PackageVersion);Configuration=$(Configuration)" />
+
+ <!--<MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2/lib/net35" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2/lib/net35')" />
+ <Copy SourceFiles="%(ServiceStackAuthenticationOAuth2TestFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2/lib/net35" />
+
+ <Exec Command="&quot;$(NuGetPath)&quot; pack &quot;$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2/servicestack.authentication.oauth2.nuspec&quot; -OutputDirectory &quot;$(NuGetPackageDir)&quot; -Version $(PackageVersion) -Symbols"
+ LogStandardErrorAsError="true" />-->
+
+ </Target>
+
+</Project>
Please sign in to comment.
Something went wrong with that request. Please try again.