Simplified MSBuild configurations distributed with NuGet package.
You only need to import the props/targets you want with the following way.
<Import Sdk="Mile.Project.Configurations" Version="Please replace to the Mile.Project.Configurations package version you want" Project=""Please replace to the props/targets you want in the Mile.Project.Configurations package you want" />
- Mile.Project.Platform.ARM.props
- Mile.Project.Platform.ARM64.props
- Mile.Project.Platform.ARM64EC.props
- Mile.Project.Platform.x64.props
- Mile.Project.Platform.x86.props
- Mile.Project.Cpp.Default.props
- Mile.Project.Cpp.props
- Mile.Project.Cpp.targets
- Mile.Project.Wap.props
- Mile.Project.Wap.targets
- Mile.Project.Build.props
- If the project is a console application project.
<MileProjectType>ConsoleApplication</MileProjectType>
- If the project is a windows application project.
<MileProjectType>WindowsApplication</MileProjectType>
- If the project is a dynamic library project.
<MileProjectType>DynamicLibrary</MileProjectType>
- If the project is a static library project.
<MileProjectType>StaticLibrary</MileProjectType>
- If the project is a WDM driver project.
<MileProjectType>WDMDriver</MileProjectType>
- If the project is a KMDF driver project.
<MileProjectType>KMDFDriver</MileProjectType>
- If the project is a UMDF driver project.
<MileProjectType>UMDFDriver</MileProjectType>
<MileProjectManifestFile>C:\Folder\Manifest.manifest</MileProjectManifestFile>
<MileProjectUseProjectProperties>true</MileProjectUseProjectProperties>
<MileProjectCompanyName>TODO: Company Name</MileProjectCompanyName>
<MileProjectFileDescription>TODO: File Description</MileProjectFileDescription>
<MileProjectInternalName>$(TargetName)</MileProjectInternalName>
<MileProjectLegalCopyright>© TODO: Company Name. All rights reserved.</MileProjectLegalCopyright>
<MileProjectOriginalFilename>$(TargetName)$(TargetExt)</MileProjectOriginalFilename>
<MileProjectProductName>$(TargetName)</MileProjectProductName>
<MileProjectVersion>1.0.0.1</MileProjectVersion>
<MileProjectVersionTag>Preview 1</MileProjectVersionTag>
<MileProjectEnableVCLTLSupport>true</MileProjectEnableVCLTLSupport>
Note: YY-Thunks support will be enabled if you have enabled VC-LTL support.
<MileProjectEnableCppWinRTSupport>true</MileProjectEnableCppWinRTSupport>
<MileProjectUseClangCLToolset>true</MileProjectUseClangCLToolset>
<MileProjectUseWindowsDriverKit>true</MileProjectUseWindowsDriverKit>
<MileProjectUseKernelMode>true</MileProjectUseKernelMode>
<MileProjectEnableYYThunksSupport>true</MileProjectEnableYYThunksSupport>
<MileProjectOutputPath>$(MSBuildThisFileDirectory)Output\</MileProjectOutputPath>
<MileProjectCppDisablePackageReferencesSupport>true</MileProjectCppDisablePackageReferencesSupport>
<MileProjectWapDisableNativeProjectWorkarounds>true</MileProjectWapDisableNativeProjectWorkarounds>