Skip to content

Commit

Permalink
add Configuration to nuspec location in target
Browse files Browse the repository at this point in the history
this is so they go in obj/Configuration/ instead of obj/
  • Loading branch information
johlrich committed Oct 29, 2017
1 parent a36dcb4 commit ad0c22f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .paket/Paket.Restore.targets
Expand Up @@ -144,7 +144,7 @@
</PropertyGroup>

<ItemGroup>
<_NuspecFiles Include="$(BaseIntermediateOutputPath)*.nuspec"/>
<_NuspecFiles Include="$(BaseIntermediateOutputPath)$(Configuration)/*.nuspec"/>
</ItemGroup>

<Exec Command='$(PaketCommand) fix-nuspecs files "@(_NuspecFiles)" project-file "$(PaketProjectFile)" ' Condition="@(_NuspecFiles) != ''" />
Expand Down Expand Up @@ -188,7 +188,7 @@
Serviceable="$(Serviceable)"
FrameworkAssemblyReferences="@(_FrameworkAssemblyReferences)"
ContinuePackingAfterGeneratingNuspec="$(ContinuePackingAfterGeneratingNuspec)"
NuspecOutputPath="$(BaseIntermediateOutputPath)"
NuspecOutputPath="$(BaseIntermediateOutputPath)$(Configuration)/"
IncludeBuildOutput="$(IncludeBuildOutput)"
BuildOutputFolder="$(BuildOutputTargetFolder)"
ContentTargetFolders="$(ContentTargetFolders)"
Expand Down Expand Up @@ -230,7 +230,7 @@
Serviceable="$(Serviceable)"
AssemblyReferences="@(_References)"
ContinuePackingAfterGeneratingNuspec="$(ContinuePackingAfterGeneratingNuspec)"
NuspecOutputPath="$(BaseIntermediateOutputPath)"
NuspecOutputPath="$(BaseIntermediateOutputPath)$(Configuration)/"
IncludeBuildOutput="$(IncludeBuildOutput)"
BuildOutputFolder="$(BuildOutputTargetFolder)"
ContentTargetFolders="$(ContentTargetFolders)"
Expand Down
6 changes: 3 additions & 3 deletions src/Paket/embedded/Paket.Restore.targets
Expand Up @@ -144,7 +144,7 @@
</PropertyGroup>

<ItemGroup>
<_NuspecFiles Include="$(BaseIntermediateOutputPath)*.nuspec"/>
<_NuspecFiles Include="$(BaseIntermediateOutputPath)$(Configuration)/*.nuspec"/>
</ItemGroup>

<Exec Command='$(PaketCommand) fix-nuspecs files "@(_NuspecFiles)" project-file "$(PaketProjectFile)" ' Condition="@(_NuspecFiles) != ''" />
Expand Down Expand Up @@ -188,7 +188,7 @@
Serviceable="$(Serviceable)"
FrameworkAssemblyReferences="@(_FrameworkAssemblyReferences)"
ContinuePackingAfterGeneratingNuspec="$(ContinuePackingAfterGeneratingNuspec)"
NuspecOutputPath="$(BaseIntermediateOutputPath)"
NuspecOutputPath="$(BaseIntermediateOutputPath)$(Configuration)/"
IncludeBuildOutput="$(IncludeBuildOutput)"
BuildOutputFolder="$(BuildOutputTargetFolder)"
ContentTargetFolders="$(ContentTargetFolders)"
Expand Down Expand Up @@ -230,7 +230,7 @@
Serviceable="$(Serviceable)"
AssemblyReferences="@(_References)"
ContinuePackingAfterGeneratingNuspec="$(ContinuePackingAfterGeneratingNuspec)"
NuspecOutputPath="$(BaseIntermediateOutputPath)"
NuspecOutputPath="$(BaseIntermediateOutputPath)$(Configuration)/"
IncludeBuildOutput="$(IncludeBuildOutput)"
BuildOutputFolder="$(BuildOutputTargetFolder)"
ContentTargetFolders="$(ContentTargetFolders)"
Expand Down

0 comments on commit ad0c22f

Please sign in to comment.