| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
| 3 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 4 | <ItemGroup Label="ProjectConfigurations"> |
| 5 | <ProjectConfiguration Include="Debug|ARM64"> |
| 6 | <Configuration>Debug</Configuration> |
| 7 | <Platform>ARM64</Platform> |
| 8 | </ProjectConfiguration> |
| 9 | <ProjectConfiguration Include="Release|ARM64"> |
| 10 | <Configuration>Release</Configuration> |
| 11 | <Platform>ARM64</Platform> |
| 12 | </ProjectConfiguration> |
| 13 | <ProjectConfiguration Include="Debug|Win32"> |
| 14 | <Configuration>Debug</Configuration> |
| 15 | <Platform>Win32</Platform> |
| 16 | </ProjectConfiguration> |
| 17 | <ProjectConfiguration Include="Release|Win32"> |
| 18 | <Configuration>Release</Configuration> |
| 19 | <Platform>Win32</Platform> |
| 20 | </ProjectConfiguration> |
| 21 | <ProjectConfiguration Include="Debug|x64"> |
| 22 | <Configuration>Debug</Configuration> |
| 23 | <Platform>x64</Platform> |
| 24 | </ProjectConfiguration> |
| 25 | <ProjectConfiguration Include="Release|x64"> |
| 26 | <Configuration>Release</Configuration> |
| 27 | <Platform>x64</Platform> |
| 28 | </ProjectConfiguration> |
| 29 | </ItemGroup> |
| 30 | |
| 31 | <PropertyGroup Label="Globals"> |
| 32 | <ProjectGuid>{A7FD9EF2-68CF-4C8E-AD81-3E8A6C7E1937}</ProjectGuid> |
| 33 | <ConfigurationType>Application</ConfigurationType> |
| 34 | <CharacterSet>Unicode</CharacterSet> |
| 35 | <ProjectSubSystem>Console</ProjectSubSystem> |
| 36 | <TargetName>netcoresearch</TargetName> |
| 37 | </PropertyGroup> |
| 38 | |
| 39 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
| 40 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
| 41 | |
| 42 | <PropertyGroup> |
| 43 | <NetHostPlatform>$(Platform)</NetHostPlatform> |
| 44 | <NetHostPlatform Condition=" '$(NetHostPlatform)'=='Win32' ">x86</NetHostPlatform> |
| 45 | <NetHostPath>..\..\..\..\packages\runtime.win-$(NetHostPlatform).Microsoft.NETCore.DotNetAppHost.6.0.4\runtimes\win-$(NetHostPlatform)\native\</NetHostPath> |
| 46 | <HostfxrPath>..\..\..\..\packages\runtime.win-$(NetHostPlatform).Microsoft.NETCore.DotNetHostResolver.6.0.4\runtimes\win-$(NetHostPlatform)\native\</HostfxrPath> |
| 47 | <ProjectAdditionalIncludeDirectories>$(NetHostPath)</ProjectAdditionalIncludeDirectories> |
| 48 | </PropertyGroup> |
| 49 | |
| 50 | <ItemGroup> |
| 51 | <ClCompile Include="netcoresearch.cpp" /> |
| 52 | <ClCompile Include="precomp.cpp"> |
| 53 | <PrecompiledHeader>Create</PrecompiledHeader> |
| 54 | </ClCompile> |
| 55 | </ItemGroup> |
| 56 | |
| 57 | <ItemGroup> |
| 58 | <ClInclude Include="netcoresearch.h" /> |
| 59 | <ClInclude Include="precomp.h" /> |
| 60 | </ItemGroup> |
| 61 | |
| 62 | <ItemGroup> |
| 63 | <PackageReference Include="WixToolset.Dutil" /> |
| 64 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> |
| 65 | </ItemGroup> |
| 66 | |
| 67 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 68 | |
| 69 | <Target Name="CopyHostfxr" AfterTargets="Build"> |
| 70 | <Copy SourceFiles="$(HostfxrPath)hostfxr.dll" DestinationFolder="$(OutputPath)" /> |
| 71 | </Target> |
| 72 | </Project> |