Commit b1c05cc
committed
[dotnet] Only set PublishAotUsingRuntimePack=true if we're actually publishing.
.NET now shows an error if PublishAotUsingRuntimePack=true and PublishAot=true, but we're not actually publishing:
> Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(231): error NETSDK1225: Native compilation is not supported when invoking the Publish target directly. Try running dotnet publish.
Ref: dotnet/sdk#460701 parent 2b650d5 commit b1c05cc
File tree
1 file changed
+3
-3
lines changed- dotnet/targets
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | 190 | | |
194 | 191 | | |
195 | 192 | | |
| |||
202 | 199 | | |
203 | 200 | | |
204 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
0 commit comments