Skip to content

Commit

Permalink
Changed: Disable ReadyToRun Compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Sep 18, 2021
1 parent d0bd809 commit bd30e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Publish.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ New-Item $publishDirectory -ItemType Directory
# Build
dotnet restore $solutionName
dotnet clean $solutionName
dotnet publish $solutionName -c Release -r win-x86 --self-contained false -o "$modOutputPath/x86" /p:PublishReadyToRun=true
dotnet publish $solutionName -c Release -r win-x86 --self-contained false -o "$modOutputPath/x86" /p:PublishReadyToRun=false

# Remove Redundant Files
Move-Item -Path "$modOutputPath/x86/Preview.png" -Destination "$modOutputPath/Preview.png"
Expand Down

0 comments on commit bd30e49

Please sign in to comment.