Skip to content
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

vs2002下发布选择“生成单个文件”时无法正常启动 #324

Open
JetL3e opened this issue Jul 13, 2023 · 4 comments
Open

vs2002下发布选择“生成单个文件”时无法正常启动 #324

JetL3e opened this issue Jul 13, 2023 · 4 comments

Comments

@JetL3e
Copy link

JetL3e commented Jul 13, 2023

问题描述:vs2002下发布时,文件发布选项选择“生成单个文件”,生成后的文件运行报错,无法启动。

@JetL3e
Copy link
Author

JetL3e commented Jul 13, 2023

该问题在net6后端版本会出现

@thkings
Copy link

thkings commented Jul 28, 2023

我们用的.net6,单个文件运行没有遇到问题。能否贴上你的错误信息?

@JetL3e
Copy link
Author

JetL3e commented Aug 3, 2023

下载最新代码,发布选项和报错信息如下:
微信图片_20230803083604
微信图片_20230803083548

@JetL3e
Copy link
Author

JetL3e commented Aug 3, 2023

生成单个文件时,DependencyContext.Default 是null
微信图片_20230803095449

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants