File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1676,7 +1676,8 @@ function Invoke-DotNetPublish {
16761676 New-Item - Path $outDir - ItemType Directory - Force | Write-InformationStream - Tags " Invoke-DotNetPublish"
16771677
16781678 # Publish application with optimized settings for both general use and winget compatibility
1679- " dotnet publish `" $csproj `" --configuration $Configuration --runtime $arch --self-contained true --output `" $outDir `" -p:PublishSingleFile=true -p:PublishTrimmed=false -p:EnableCompressionInSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=none -p:DebugSymbols=false -logger:`" Microsoft.Build.Logging.ConsoleLogger,Microsoft.Build;Summary;ForceNoAlign;ShowTimestamp;ShowCommandLine;Verbosity=quiet`" " | Invoke-ExpressionWithLogging | Write-InformationStream - Tags " Invoke-DotNetPublish"
1679+ # Note: PublishSingleFile is disabled because Silk.NET native libraries (GLFW, SDL) don't bundle correctly
1680+ " dotnet publish `" $csproj `" --configuration $Configuration --runtime $arch --self-contained true --output `" $outDir `" -p:PublishSingleFile=false -p:PublishTrimmed=false -p:DebugType=none -p:DebugSymbols=false -logger:`" Microsoft.Build.Logging.ConsoleLogger,Microsoft.Build;Summary;ForceNoAlign;ShowTimestamp;ShowCommandLine;Verbosity=quiet`" " | Invoke-ExpressionWithLogging | Write-InformationStream - Tags " Invoke-DotNetPublish"
16801681
16811682 if ($LASTEXITCODE -eq 0 ) {
16821683 # Create general application zip archive for all platforms
You can’t perform that action at this time.
0 commit comments