Skip to content

Commit dff23ec

Browse files
authored
Allow for PublishAot and PublishSingleFile at the same time (#91141)
1 parent 83ed87b commit dff23ec

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@
5555

5656
<Error Condition="'$(PublishTrimmed)' == 'false'" Text="PublishTrimmed is implied by native compilation and cannot be disabled." />
5757

58-
<Error Condition="'$(PublishAot)' == 'true' and '$(PublishSingleFile)' == 'true'" Text="PublishAot and PublishSingleFile cannot be specified at the same time." />
59-
6058
<!-- Fail with descriptive error message for common unsupported cases. -->
6159
<Error Condition="'$(DisableUnsupportedError)' != 'true' and '$(OS)' == 'Windows_NT' and '$(_targetOS)' != 'win'"
6260
Text="Cross-OS native compilation is not supported." />

0 commit comments

Comments
 (0)