|
@@ -14,7 +14,7 @@
|
|
|
<CustomCommands>
|
|
|
<Command>
|
|
|
<type>AfterBuild</type>
|
|
|
- <command>dotnet publish --framework net5.0 --runtime osx-x64 -p:IsPublishing=True -p:PublishTrimmed=true</command>
|
|
|
+ <command>dotnet publish --framework net6.0 --runtime osx-x64 --self-contained false -p:IsPublishing=true -p:PublishSingleFile=true</command>
|
|
|
</Command>
|
|
|
</CustomCommands>
|
|
|
</CustomCommands>
|
|
@@ -32,9 +32,9 @@
|
|
|
<Target Name="PublishAppWin" AfterTargets="AfterBuild" Condition="$(TargetFramework.StartsWith('net6')) and '$(IsPublishing)' != 'True' and $([MSBuild]::IsOSPlatform('Windows'))">
|
|
|
<!-- Publish both platforms on Windows for packaging -->
|
|
|
<Message Text="Publishing..." Importance="High" />
|
|
|
- <Exec Command="dotnet publish --framework $(TargetFramework) --configuration Release -p:IsPublishing=True -p:PublishTrimmed=true --runtime win-x86 --self-contained -p:PublishSingleFile=true" />
|
|
|
- <Exec Command="dotnet publish --framework $(TargetFramework) --configuration Release -p:IsPublishing=True -p:PublishTrimmed=true --runtime win-x64 --self-contained -p:PublishSingleFile=true" />
|
|
|
- <Exec Command="dotnet publish --framework $(TargetFramework) --configuration Release -p:IsPublishing=True -p:PublishTrimmed=true --runtime osx-x64 --self-contained -p:PublishSingleFile=true" />
|
|
|
+ <Exec Command="dotnet publish -c Release --runtime win-x86 --self-contained false -p:IsPublishing=true -p:PublishSingleFile=true" />
|
|
|
+ <Exec Command="dotnet publish -c Release --runtime win-x64 --self-contained false -p:IsPublishing=true -p:PublishSingleFile=true" />
|
|
|
+ <Exec Command="dotnet publish -c Release --runtime osx-x64 --self-contained false -p:IsPublishing=true -p:PublishSingleFile=true" />
|
|
|
|
|
|
<!--Generate nuget packages-->
|
|
|
<Exec Command="$(ProjectDir)Assets\nuget.exe pack $(ProjectDir)Assets\win-x86\CefGlueBrowserProcess.win-x86.nuspec -OutputDirectory $(ProjectDir)bin" />
|