diff options
Diffstat (limited to 'src/WixToolset.Core.Native/WixToolset.Core.Native.csproj')
| -rw-r--r-- | src/WixToolset.Core.Native/WixToolset.Core.Native.csproj | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/src/WixToolset.Core.Native/WixToolset.Core.Native.csproj b/src/WixToolset.Core.Native/WixToolset.Core.Native.csproj index 3e66d84e..aa87186b 100644 --- a/src/WixToolset.Core.Native/WixToolset.Core.Native.csproj +++ b/src/WixToolset.Core.Native/WixToolset.Core.Native.csproj | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | <PropertyGroup> | 3 | <PropertyGroup> |
| 4 | <TargetFramework>netstandard2.0</TargetFramework> | 4 | <TargetFramework>netstandard2.0</TargetFramework> |
| 5 | <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile> | 5 | <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile> |
| 6 | <Description>Core Native</Description> | ||
| 6 | <!-- <BeforePack>SetNuspecProperties</BeforePack> --> | 7 | <!-- <BeforePack>SetNuspecProperties</BeforePack> --> |
| 7 | </PropertyGroup> | 8 | </PropertyGroup> |
| 8 | 9 | ||
| @@ -10,9 +11,26 @@ | |||
| 10 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.0.41" PrivateAssets="all" /> | 11 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.0.41" PrivateAssets="all" /> |
| 11 | </ItemGroup> | 12 | </ItemGroup> |
| 12 | 13 | ||
| 13 | <!-- <ItemGroup> | 14 | <Target Name="BuildWixNative" |
| 14 | <ProjectReference Include="..\winterop\winterop.vcxproj" ExcludeAssets="All" /> | 15 | BeforeTargets="GetCopyToOutputDirectoryItems"> |
| 15 | </ItemGroup> --> | 16 | <MSBuild Projects="..\wixnative\wixnative.vcxproj" Properties="Platform=Win32" /> |
| 17 | <MSBuild Projects="..\wixnative\wixnative.vcxproj" Properties="Platform=x64" /> | ||
| 18 | |||
| 19 | <ItemGroup> | ||
| 20 | <NativeProjectOutput Include="$(OutputPath)..\Win32\*.exe;$(OutputPath)..\Win32\*.pdb"> | ||
| 21 | <TargetRelativeFolder>x86\</TargetRelativeFolder> | ||
| 22 | </NativeProjectOutput> | ||
| 23 | <NativeProjectOutput Include="$(OutputPath)..\x64\*.exe;$(OutputPath)..\x64\*.pdb"> | ||
| 24 | <TargetRelativeFolder>x64\</TargetRelativeFolder> | ||
| 25 | </NativeProjectOutput> | ||
| 26 | |||
| 27 | <AllItemsFullPathWithTargetPath Include="@(NativeProjectOutput->'%(FullPath)')"> | ||
| 28 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
| 29 | <TargetPath>%(TargetRelativeFolder)%(Filename)%(Extension)</TargetPath> | ||
| 30 | </AllItemsFullPathWithTargetPath> | ||
| 31 | </ItemGroup> | ||
| 32 | </Target> | ||
| 33 | |||
| 16 | <Target Name="SetNuspecProperties" | 34 | <Target Name="SetNuspecProperties" |
| 17 | AfterTargets="Build"> | 35 | AfterTargets="Build"> |
| 18 | <PropertyGroup> | 36 | <PropertyGroup> |
