-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[.NetCore 3.x] [.Net 5 RTM] Single File for OpenMU target 3.1 app, launch failed #42570
Comments
Tagging subscribers to this area: @agocke |
Should be fixed by #42352 |
Fixed in #42352 |
@agocke We verified the app with RTM build:5.0.100-rtm.20508.12, the issue is still happening even if we publish singlefile with As #42665 has been fixed, after retarget 5.0, the app is also failing with the same error with target 3.1. So this bug is for both .NetCore 3.1 & .Net 5 RTM. |
Verified with dotnet-sdk-5.0.204-win-x64, this issue has been fixed, hence closing it. |
Application Name: OpenMU
OS: Windows 10 RS5
CPU: X64
.NET Build Number: 5.0.100-rc.2.20471.7
App Location: \appcompatsrv\Appcompat\DotNetCore\AppSource\SingleFileP0AppsTarget5\Apps\OpenMU-3.1
App Source: \appcompatsrv\Appcompat\DotNetCore\AppSource\SingleFileP0AppsTarget5\AppSources\OpenMU-3.1
DevDiv bug: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1217878
Repro steps:
Build with default 3.x
Single File exe was created by
dotnet publish MUnique.OpenMU.Startup.csproj -r win-x64 -p:PublishSingleFile=true --self-contained true
using 5.0.100-rc.2.20471.7 SDK
Copy '\appcompatsrv\Appcompat\DotNetCore\AppSource\SingleFileP0AppsTarget5\Apps\OpenMU-3.1' to local machine.
Double-click on MUnique.OpenMU.Startup.exe
Access "localhost:1234/admin"
Expected Result:
Open OpenMU app, "localhost:1234/admin" page will be open successful.
Actual Result:
The "localhost:1234/admin" page unable to be opened and get exception.
Findings:
The Framework-Dependency and Self-contained app can be launched. But the Single file unable to launch.
Checked Event view, there is no errors in Event View.
Exception from command window:
Exception from accessing webpage:
cc @dotnet-actwx-bot
The text was updated successfully, but these errors were encountered: