portable-devtools / dotnet /sdk /9.0.313 /Current /SolutionFile /ImportAfter /Microsoft.NET.Sdk.Solution.targets
codekingpro's picture
Add files using upload-large-folder tool
ca994a1 verified
Raw
History Blame Contribute Delete
1.57 kB
<!--
***********************************************************************************************
Microsoft.NET.Sdk.Solution.targets
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 ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildSDKsPath)\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.Common.targets" />
<!--
============================================================
_CheckForSolutionLevelRuntimeIdentifier
Ensure that a runtime identifier is not specified at the solution level
============================================================
-->
<Target Name="_CheckForSolutionLevelRuntimeIdentifier"
BeforeTargets="Build"
Condition="'$(RuntimeIdentifier)' != ''">
<NETSdkError ResourceName="CannotHaveSolutionLevelRuntimeIdentifier" />
</Target>
<Target Name="_CheckForSolutionLevelOutputPath"
BeforeTargets="Build;Publish;Clean;Store;VSTest"
Condition="'$(_CommandLineDefinedOutputPath)' == 'true'">
<NetSdkWarning ResourceName="CannotHaveSolutionLevelOutputPath" />
</Target>
</Project>