Mark some projects as non-packable or non-shippable (#25468)

- used `$(IsTestAssetProject)` in src/Razor/test; slightly more correct
  - we don't have a special category for test infrastructure projects
This commit is contained in:
Doug Bunting 2020-08-31 22:46:53 -07:00 committed by GitHub
parent 48c1261097
commit 7579b300f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 0 deletions

View File

@ -12,6 +12,8 @@
<NoWarn>$(NoWarn);NU5100</NoWarn>
<!-- Need to build this project in source build -->
<ExcludeFromSourceBuild>false</ExcludeFromSourceBuild>
<IsShipping>false</IsShipping>
</PropertyGroup>
<ItemGroup>

View File

@ -15,6 +15,8 @@
<NoWarn>$(NoWarn);NU5129</NoWarn>
<!-- Need to build this project in source build -->
<ExcludeFromSourceBuild>false</ExcludeFromSourceBuild>
<IsShipping>false</IsShipping>
</PropertyGroup>
<ItemGroup>

View File

@ -0,0 +1,11 @@
<Project>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" />
<PropertyGroup>
<!--
Projects in this folder don't follow the usual naming conventions for test assets. Marking as such
though the projects directly w/in this folder are more like test infrastructure.
-->
<IsTestAssetProject>false</IsTestAssetProject>
</PropertyGroup>
</Project>

View File

@ -7,6 +7,7 @@
<PackageId>RazorSyntaxGenerator</PackageId>
<OutputType>Exe</OutputType>
<EnableApiCheck>false</EnableApiCheck>
<IsPackable>false</IsPackable>
</PropertyGroup>
</Project>