diff options
Diffstat (limited to '')
-rw-r--r-- | src/wixnative/wixnative.vcxproj | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/wixnative/wixnative.vcxproj b/src/wixnative/wixnative.vcxproj index cfec54e4..d4b31fd8 100644 --- a/src/wixnative/wixnative.vcxproj +++ b/src/wixnative/wixnative.vcxproj | |||
@@ -23,11 +23,16 @@ | |||
23 | </ProjectConfiguration> | 23 | </ProjectConfiguration> |
24 | </ItemGroup> | 24 | </ItemGroup> |
25 | 25 | ||
26 | <PropertyGroup> | ||
27 | <NameSuffix Condition=" '$(Platform)'=='Win32' ">x86</NameSuffix> | ||
28 | <NameSuffix Condition=" '$(Platform)'=='x64' ">amd64</NameSuffix> | ||
29 | </PropertyGroup> | ||
30 | |||
26 | <PropertyGroup Label="Globals"> | 31 | <PropertyGroup Label="Globals"> |
27 | <ProjectGuid>{8497EC72-B8D0-4272-A9D0-7E9D871CEFBF}</ProjectGuid> | 32 | <ProjectGuid>{8497EC72-B8D0-4272-A9D0-7E9D871CEFBF}</ProjectGuid> |
28 | <ConfigurationType>Application</ConfigurationType> | 33 | <ConfigurationType>Application</ConfigurationType> |
29 | <ProjectSubSystem>Console</ProjectSubSystem> | 34 | <ProjectSubSystem>Console</ProjectSubSystem> |
30 | <TargetName>wixnative</TargetName> | 35 | <TargetName>wixnative.$(NameSuffix)</TargetName> |
31 | <PlatformToolset>v141</PlatformToolset> | 36 | <PlatformToolset>v141</PlatformToolset> |
32 | <CharacterSet>Unicode</CharacterSet> | 37 | <CharacterSet>Unicode</CharacterSet> |
33 | <Description>Native component of WixToolset.Core</Description> | 38 | <Description>Native component of WixToolset.Core</Description> |
@@ -69,6 +74,10 @@ | |||
69 | <None Include="packages.config" /> | 74 | <None Include="packages.config" /> |
70 | </ItemGroup> | 75 | </ItemGroup> |
71 | 76 | ||
77 | <Target Name="Pack" DependsOnTargets="GetBuildVersion"> | ||
78 | <Exec Command="nuget pack runtime.win.WixToolset.Core.Native.nuspec -BasePath "$(BaseOutputPath)\" -OutputDirectory "$(BaseOutputPath)\" -NoPackageAnalysis -Properties Configuration=$(Configuration);Id=runtime.win.WixToolset.Core.Native;Version="$(BuildVersionSimple)";Platform=$(PlatformTarget);Authors="$(Authors)";Copyright="$(Copyright)";Description="$(Description)";Title="$(Title)"" /> | ||
79 | </Target> | ||
80 | |||
72 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 81 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
73 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | 82 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
74 | <PropertyGroup> | 83 | <PropertyGroup> |