| <!-- | |
| *********************************************************************************************** | |
| Sdk.props | |
| WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have | |
| created a backup copy. Incorrect changes to this file will make it | |
| impossible to load or build your projects from the command-line or the IDE. | |
| Copyright (c) .NET Foundation. All rights reserved. | |
| *********************************************************************************************** | |
| --> | |
| <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <PropertyGroup Condition="'$(_AfterSdkPublishDependsOn)' == ''"> | |
| <_AfterSdkPublishDependsOn Condition="'$(UsingMicrosoftNETSdkWeb)' == 'true'">AfterPublish</_AfterSdkPublishDependsOn> | |
| <_AfterSdkPublishDependsOn Condition="'$(UsingMicrosoftNETSdkWeb)' != 'true'">Publish</_AfterSdkPublishDependsOn> | |
| </PropertyGroup> | |
| <Target Name="AfterSdkPublish" AfterTargets="$(_AfterSdkPublishDependsOn)"></Target> | |
| <PropertyGroup> | |
| <!-- | |
| Indicate to other targets that Microsoft.NET.Sdk is being used. | |
| This must be set here (as early as possible, before Microsoft.Common.props) | |
| so that everything that follows can depend on it. | |
| In particular, Directory.Build.props and nuget package props need to be able | |
| to use this flag and they are imported by Microsoft.Common.props. | |
| --> | |
| <UsingMicrosoftNETSdk>true</UsingMicrosoftNETSdk> | |
| <!-- | |
| Indicate whether the set of SDK defaults that makes SDK style project concise are being used. | |
| For example: globbing, importing msbuild common targets. | |
| Similar to the property above, it must be set here. | |
| --> | |
| <UsingNETSdkDefaults>true</UsingNETSdkDefaults> | |
| <CustomAfterDirectoryBuildProps>$(CustomAfterDirectoryBuildProps);$(MSBuildThisFileDirectory)UseArtifactsOutputPath.props</CustomAfterDirectoryBuildProps> | |
| </PropertyGroup> | |
| <PropertyGroup Condition="'$(MSBuildProjectFullPath)' == '$(ProjectToOverrideProjectExtensionsPath)'"> | |
| <MSBuildProjectExtensionsPath>$(ProjectExtensionsPathForSpecifiedProject)</MSBuildProjectExtensionsPath> | |
| </PropertyGroup> | |
| <Import Project="$(AlternateCommonProps)" Condition="'$(AlternateCommonProps)' != ''" /> | |
| <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="'$(AlternateCommonProps)' == ''"/> | |
| <Import Project="$(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.props" /> | |
| </Project> | |