Simplified MSBuild configurations distributed with NuGet package.
Import the props/targets you want and specify the package version directly:
<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" />Alternatively, specify the package version in global.json:
{
"msbuild-sdks": {
"Mile.Project.Configurations": "Please replace to the Mile.Project.Configurations package version you want"
}
}The version can then be omitted from the import:
<Import Sdk="Mile.Project.Configurations" Project="Please replace to the props/targets you want in the Mile.Project.Configurations package" />- 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>
<MileProjectEnableCppWinRTSupport>true</MileProjectEnableCppWinRTSupport>
<MileProjectUseClangCLToolset>true</MileProjectUseClangCLToolset>
<MileProjectUseWindowsDriverKit>true</MileProjectUseWindowsDriverKit>
<MileProjectUseKernelMode>true</MileProjectUseKernelMode>
<MileProjectOutputPath>$(MSBuildThisFileDirectory)Output\</MileProjectOutputPath>
<MileProjectCppDisablePackageReferencesSupport>true</MileProjectCppDisablePackageReferencesSupport>
<MileProjectWapDisableNativeProjectWorkarounds>true</MileProjectWapDisableNativeProjectWorkarounds>