diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-30 21:59:04 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-30 21:59:04 -0700 |
commit | d5ce85a1441fc9e315c96c6453f42c3f02dd4dbb (patch) | |
tree | e217a50506e208ddc1bff77fbd3e55a40342a616 /nuget/nuget.proj | |
parent | 218f7e45a3448af033bb891061c34595cc512811 (diff) | |
parent | 8b1b1824dcb10e5a23e545d79181cac2370a1b36 (diff) | |
download | DotNetOpenAuth-d5ce85a1441fc9e315c96c6453f42c3f02dd4dbb.zip DotNetOpenAuth-d5ce85a1441fc9e315c96c6453f42c3f02dd4dbb.tar.gz DotNetOpenAuth-d5ce85a1441fc9e315c96c6453f42c3f02dd4dbb.tar.bz2 |
Adds missing version .cs files to NuGet symbol packages.
Fixes #135
Diffstat (limited to 'nuget/nuget.proj')
-rw-r--r-- | nuget/nuget.proj | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/nuget/nuget.proj b/nuget/nuget.proj index 220deaa..9a2091e 100644 --- a/nuget/nuget.proj +++ b/nuget/nuget.proj @@ -32,7 +32,6 @@ Targets="@(AspNetTargets)" Properties="TargetFrameworkVersion=v4.0" BuildInParallel="$(BuildInParallel)"> - <Output TaskParameter="TargetOutputs" ItemName="TargetOutputs40"/> </MSBuild> <ItemGroup> @@ -51,20 +50,29 @@ <Target Name="Build" DependsOnTargets="BuildIntermediates"> <ItemGroup> - <NuGetPackages Include="*.nuspec" Exclude="DotNetOpenAuth.nuspec"> - <Symbols>true</Symbols> - </NuGetPackages> - <NuGetPackages Include="DotNetOpenAuth.nuspec" /> - <NuGetProperties Include="version=$(NuGetPackageVersion)" /> <NuGetProperties Include="oauth2version=$(OAuth2PackagesVersion)" /> <NuGetProperties Include="OutputPath35=$(OutputPath35)" /> <NuGetProperties Include="OutputPath40=$(OutputPath40)" /> + <NuGetProperties Include="IntermediatePath=$(IntermediatePath40)" /> + + <NuGetPackages Include="*.nuspec" Exclude="DotNetOpenAuth.nuspec"> + <Symbols>true</Symbols> + </NuGetPackages> + <NuGetPackages Include="DotNetOpenAuth.nuspec" /> + </ItemGroup> + <PropertyGroup> + <_NuGetProperties>@(NuGetProperties)</_NuGetProperties> + </PropertyGroup> + <ItemGroup> + <NuGetPackages> + <Properties>$(_NuGetProperties);Identity=%(FileName);GeneratedAssemblyInfoSourceFile=$(IntermediatePath40)%(FileName).Version.cs</Properties> + </NuGetPackages> </ItemGroup> <NuGetPack NuSpec="%(NuGetPackages.Identity)" OutputPackageDirectory="$(DropsRoot)" - Properties="@(NuGetProperties)" + Properties="%(NuGetPackages.Properties)" Symbols="%(NuGetPackages.Symbols)" ToolPath="$(NuGetToolPath)" /> </Target> |