Skip to content

Commit 7579b30

Browse files
authored
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
1 parent 48c1261 commit 7579b30

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

src/Components/WebAssembly/Sdk/src/Microsoft.NET.Sdk.BlazorWebAssembly.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
<NoWarn>$(NoWarn);NU5100</NoWarn>
1313
<!-- Need to build this project in source build -->
1414
<ExcludeFromSourceBuild>false</ExcludeFromSourceBuild>
15+
16+
<IsShipping>false</IsShipping>
1517
</PropertyGroup>
1618

1719
<ItemGroup>

src/Razor/Microsoft.NET.Sdk.Razor/src/Microsoft.NET.Sdk.Razor.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
<NoWarn>$(NoWarn);NU5129</NoWarn>
1616
<!-- Need to build this project in source build -->
1717
<ExcludeFromSourceBuild>false</ExcludeFromSourceBuild>
18+
19+
<IsShipping>false</IsShipping>
1820
</PropertyGroup>
1921

2022
<ItemGroup>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<Project>
2+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" />
3+
4+
<PropertyGroup>
5+
<!--
6+
Projects in this folder don't follow the usual naming conventions for test assets. Marking as such
7+
though the projects directly w/in this folder are more like test infrastructure.
8+
-->
9+
<IsTestAssetProject>false</IsTestAssetProject>
10+
</PropertyGroup>
11+
</Project>

src/Razor/tools/RazorSyntaxGenerator/RazorSyntaxGenerator.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<PackageId>RazorSyntaxGenerator</PackageId>
88
<OutputType>Exe</OutputType>
99
<EnableApiCheck>false</EnableApiCheck>
10+
<IsPackable>false</IsPackable>
1011
</PropertyGroup>
1112

1213
</Project>

0 commit comments

Comments
 (0)