master
vcxproj 72 lines 3.4 KB
Raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Debug|x64">
5 <Configuration>Debug</Configuration>
6 <Platform>x64</Platform>
7 </ProjectConfiguration>
8 <ProjectConfiguration Include="Release|x64">
9 <Configuration>Release</Configuration>
10 <Platform>x64</Platform>
11 </ProjectConfiguration>
12 <ProjectConfiguration Include="Debug|ARM64">
13 <Configuration>Debug</Configuration>
14 <Platform>ARM64</Platform>
15 </ProjectConfiguration>
16 <ProjectConfiguration Include="Release|ARM64">
17 <Configuration>Release</Configuration>
18 <Platform>ARM64</Platform>
19 </ProjectConfiguration>
20 </ItemGroup>
21 <PropertyGroup Label="Globals">
22 <VCProjectVersion>17.0</VCProjectVersion>
23 <Keyword>Win32Proj</Keyword>
24 <ProjectGuid>{2B5C2E11-2C0A-4F1B-9F3D-7E8A1C2D3E4F}</ProjectGuid>
25 <RootNamespace>WSLCHelloWorld</RootNamespace>
26 <TargetName>helloworld</TargetName>
27 <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
28 </PropertyGroup>
29 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
30 <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
31 <ConfigurationType>Application</ConfigurationType>
32 <UseDebugLibraries>true</UseDebugLibraries>
33 <PlatformToolset>v145</PlatformToolset>
34 <CharacterSet>Unicode</CharacterSet>
35 </PropertyGroup>
36 <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
37 <ConfigurationType>Application</ConfigurationType>
38 <UseDebugLibraries>false</UseDebugLibraries>
39 <PlatformToolset>v145</PlatformToolset>
40 <WholeProgramOptimization>true</WholeProgramOptimization>
41 <CharacterSet>Unicode</CharacterSet>
42 </PropertyGroup>
43 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
44 <ItemDefinitionGroup>
45 <ClCompile>
46 <WarningLevel>Level3</WarningLevel>
47 <SDLCheck>true</SDLCheck>
48 <ConformanceMode>true</ConformanceMode>
49 <PreprocessorDefinitions>_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
50 </ClCompile>
51 <Link>
52 <SubSystem>Console</SubSystem>
53 <GenerateDebugInformation>true</GenerateDebugInformation>
54 </Link>
55 </ItemDefinitionGroup>
56 <ItemGroup>
57 <ClCompile Include="helloworld.c" />
58 </ItemGroup>
59 <ItemGroup>
60 <None Include="packages.config" />
61 </ItemGroup>
62 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
63 <ImportGroup Label="ExtensionTargets">
64 <Import Project="packages\Microsoft.WSL.Containers.2.9.3\build\native\Microsoft.WSL.Containers.targets" Condition="Exists('packages\Microsoft.WSL.Containers.2.9.3\build\native\Microsoft.WSL.Containers.targets')" />
65 </ImportGroup>
66 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
67 <PropertyGroup>
68 <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
69 </PropertyGroup>
70 <Error Condition="!Exists('packages\Microsoft.WSL.Containers.2.9.3\build\native\Microsoft.WSL.Containers.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Microsoft.WSL.Containers.2.9.3\build\native\Microsoft.WSL.Containers.targets'))" />
71 </Target>
72 </Project>