diff options
-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> |