diff options
Diffstat (limited to 'src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj')
-rw-r--r-- | src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj index 687e8955..bc830163 100644 --- a/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj +++ b/src/WixToolset.Core.InternalPackage/WixToolset.Core.InternalPackage.csproj | |||
@@ -15,9 +15,11 @@ | |||
15 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.0.41" PrivateAssets="all" /> | 15 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.0.41" PrivateAssets="all" /> |
16 | </ItemGroup> | 16 | </ItemGroup> |
17 | 17 | ||
18 | <Target Name="SetNuspecVersion" | 18 | <PropertyGroup> |
19 | AfterTargets="GetBuildVersion"> | 19 | <GenerateNuspecDependsOn>$(GenerateNuspecDependsOn);SetNuspecVersion</GenerateNuspecDependsOn> |
20 | <Error Text="Cannot pack $(MSBuildThisFileName) until all projects are published to: $(NuspecBasePath). Run appveyor.cmd to publish projects properly." Condition=" !Exists('$(NuspecBasePath)') " /> | 20 | </PropertyGroup> |
21 | <Target Name="SetNuspecVersion"> | ||
22 | <Error Text="Cannot pack $(MSBuildThisFileName) until all projects are published to: '$(NuspecBasePath)'. Run appveyor.cmd to publish projects properly." Condition=" !Exists('$(NuspecBasePath)') " /> | ||
21 | 23 | ||
22 | <PropertyGroup> | 24 | <PropertyGroup> |
23 | <NuspecProperties>$(NuspecProperties);Version=$(Version);ProjectFolder=$(MSBuildThisFileDirectory)</NuspecProperties> | 25 | <NuspecProperties>$(NuspecProperties);Version=$(Version);ProjectFolder=$(MSBuildThisFileDirectory)</NuspecProperties> |