diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-01-15 20:41:20 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-01-15 20:41:20 -0800 |
commit | 697715565590f15ab684613d468032563fa4f7ad (patch) | |
tree | 9f1f615ca99ed35a8ff545e6727d4458a0d769f7 | |
parent | 522e1c9fc7be5c3519a6cf83f221e71362f9245d (diff) | |
download | DotNetOpenAuth-697715565590f15ab684613d468032563fa4f7ad.zip DotNetOpenAuth-697715565590f15ab684613d468032563fa4f7ad.tar.gz DotNetOpenAuth-697715565590f15ab684613d468032563fa4f7ad.tar.bz2 |
Fixed NuGet package to support both .NET 3.5 and 4.0.
-rw-r--r-- | nuget/nuget.proj | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nuget/nuget.proj b/nuget/nuget.proj index 5ace1ac..dfa7323 100644 --- a/nuget/nuget.proj +++ b/nuget/nuget.proj @@ -16,8 +16,10 @@ <ItemGroup> <NuGetSource Include="%(ResignedAssembliesOutputs.Identity)" Condition=" '%(FileName)%(Extension)' == 'DotNetOpenAuth.dll' "/> <NuGetSource> - <TargetPath Condition=" '$(ClrVersion)' == '2' ">$(NuGetLayoutPath)lib\full\%(FileName)%(Extension)</TargetPath> - <TargetPath Condition=" '$(ClrVersion)' == '4' ">$(NuGetLayoutPath)lib\net40-full\%(FileName)%(Extension)</TargetPath> + <TargetPath>$(NuGetLayoutPath)lib\net40-full\%(FileName)%(Extension)</TargetPath> + </NuGetSource> + <NuGetSource Condition=" '$(ClrVersion)' == '2' " Include="@(NuGetSource)"> + <TargetPath>$(NuGetLayoutPath)lib\full\%(FileName)%(Extension)</TargetPath> </NuGetSource> </ItemGroup> <ItemGroup> @@ -52,7 +54,7 @@ <Purge Directories="$(NuGetLayoutPath)" IntendedFiles="@(NuGetContentsTarget);@(NuSpecTarget)" /> </Target> - + <Target Name="Build" DependsOnTargets="Layout"> <NuGetPack NuSpec="%(NuSpecTarget.Identity)" @@ -63,4 +65,4 @@ <Import Project="$(ProjectRoot)tools\DotNetOpenAuth.automated.targets"/> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.targets))\EnlistmentInfo.targets" Condition=" '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), EnlistmentInfo.targets))' != '' " /> -</Project>
\ No newline at end of file +</Project> |