Skip to content

Commit 1a77bc9

Browse files
committed
Disable GenerateRuntimeAnalyzersSWR in source build
1 parent cf5c1f3 commit 1a77bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Installer/redist-installer/targets/GenerateMSIs.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@
420420

421421
<Target Name="GenerateRuntimeAnalyzersNupkg"
422422
DependsOnTargets="GenerateLayout;MsiTargetsSetupInputOutputs"
423-
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' "
423+
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' And '$(DotNetBuildSourceOnly)' != 'true' "
424424
Inputs="$(RuntimeAnalyzersLayoutDirectory)/**/*;
425425
$(SdkRuntimeAnalyzersNuspecFile);
426426
$(GenerateNupkgPowershellScript)"

0 commit comments

Comments
 (0)