Adds package native projects
This commit is contained in:
parent
f27190a1f1
commit
483a8c61a3
|
|
@ -1,5 +1,9 @@
|
||||||
<Project>
|
<Project>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<PackageDependsOn Condition="'$(OS)'=='Windows_NT'">$(PackageDependsOn);PackageNativeProjects</PackageDependsOn>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<Target Name="BuildNativeAssets" DependsOnTargets="GetToolsets" BeforeTargets="Compile" >
|
<Target Name="BuildNativeAssets" DependsOnTargets="GetToolsets" BeforeTargets="Compile" >
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BuildConfigurations Include="/p:Configuration=Release /p:platform=Win32" />
|
<BuildConfigurations Include="/p:Configuration=Release /p:platform=Win32" />
|
||||||
|
|
@ -16,11 +20,11 @@
|
||||||
Condition="'$(VisualStudioMSBuildx86Path)' != ''" />
|
Condition="'$(VisualStudioMSBuildx86Path)' != ''" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="PackageProjects">
|
<Target Name="PackageNativeProjects">
|
||||||
<MSBuild
|
<MSBuild
|
||||||
Projects="$(MSBuildThisFileDirectory)../nuget/AspNetCore.csproj"
|
Projects="$(MSBuildThisFileDirectory)../nuget/AspNetCore.csproj"
|
||||||
Targets="Restore;Pack"
|
Targets="Restore;Pack"
|
||||||
Properties="PackageVersion=$(PackageVersion);PackageOutputPath=$(BuildDir)" />
|
Properties="PackageVersion=$(PackageVersion);PackageOutputPath=$(BuildDir);BuildNumber=$(BuildNumber)" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
Loading…
Reference in New Issue