Net Core - Add .Net 6.0 PublishSingleFile support
- SelfHost BrowserSubprocess when targeting .Net 6.0 and PublishSingleFile
This commit is contained in:
parent
983b230d72
commit
8f3bba483c
@ -31,7 +31,7 @@
|
||||
https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file
|
||||
Defaults differ compared to .Net Core 3.1
|
||||
-->
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'net5.0-windows' AND '$(PublishSingleFile)' == 'true'">
|
||||
<PropertyGroup Condition="('$(TargetFramework)' == 'net5.0-windows' OR '$(TargetFramework)' == 'net6.0-windows') AND '$(PublishSingleFile)' == 'true'">
|
||||
<!-- Extract all files to disk at runtime -->
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<!-- Include our native files in the resulting exe -->
|
||||
|
@ -42,7 +42,7 @@
|
||||
https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file
|
||||
Defaults differ compared to .Net Core 3.1
|
||||
-->
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'net5.0-windows' AND '$(PublishSingleFile)' == 'true'">
|
||||
<PropertyGroup Condition="('$(TargetFramework)' == 'net5.0-windows' OR '$(TargetFramework)' == 'net6.0-windows') AND '$(PublishSingleFile)' == 'true'">
|
||||
<!-- Extract all files to disk at runtime -->
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<!-- Include our native files in the resulting exe -->
|
||||
|
Loading…
Reference in New Issue
Block a user