Skip to content

Commit cb5f656

Browse files
author
John Luo
committed
Fixup
1 parent 59adb88 commit cb5f656

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Directory.Build.props

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,18 @@
105105
<InternalInstallerBaseName>$(RuntimeInstallerBaseName)-internal</InternalInstallerBaseName>
106106
</PropertyGroup>
107107

108-
<ItemGroup Condition="'$(DisablePubternalApiCheck)' != 'true' AND '$(IsTestProject)' != 'true' AND '$(IsBenchmarkProject)' != 'true' AND '$(IsTestAssetProject)' != 'true' AND '$(MSBuildProjectName)' != 'Internal.AspNetCore.Analyzers'">
109-
<ProjectReference Include="$(RepoRoot)src\Analyzers\Internal.AspNetCore.Analyzers\src\Internal.AspNetCore.Analyzers.csproj" PrivateAssets="All" Version="$(InternalAspNetCoreAnalyzersPackageVersion)" IsImplicitlyDefined="true" />
108+
<ItemGroup
109+
Condition="'$(DisablePubternalApiCheck)' != 'true'
110+
AND '$(IsTestProject)' != 'true'
111+
AND '$(IsBenchmarkProject)' != 'true'
112+
AND '$(IsTestAssetProject)' != 'true'
113+
AND '$(MSBuildProjectName)' != 'Internal.AspNetCore.Analyzers'
114+
AND '$(MSBuildProjectExtension)' == '.csproj'">
115+
<ProjectReference
116+
Include="$(RepoRoot)src\Analyzers\Internal.AspNetCore.Analyzers\src\Internal.AspNetCore.Analyzers.csproj"
117+
PrivateAssets="All"
118+
Version="$(InternalAspNetCoreAnalyzersPackageVersion)"
119+
IsImplicitlyDefined="true" />
110120
</ItemGroup>
111121

112122
<!-- Compilation options which apply to all languages. Language-specific options should be set in eng/targets/$(lang).Common.props -->

0 commit comments

Comments
 (0)