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

.net6 使用WebApplication构建,热更新失败 #224

Closed
DevelopmentMan opened this issue Feb 20, 2023 · 4 comments
Closed

.net6 使用WebApplication构建,热更新失败 #224

DevelopmentMan opened this issue Feb 20, 2023 · 4 comments

Comments

@DevelopmentMan
Copy link

image
能修复一下吗?

@DevelopmentMan
Copy link
Author

var builder = WebApplication.CreateBuilder(args); #region 添加Apollo配置中心 builder.Host.ConfigureAppConfiguration((context, config) => { LogManager.UseConsoleLogging(Com.Ctrip.Framework.Apollo.Logging.LogLevel.Trace); config.AddApollo(builder.Configuration.GetSection("apollo")) .AddDefault(); }); #endregion

@DevelopmentMan
Copy link
Author

和#206同样的问题,从2.10.0回退到2.4.0正常更新。

@DevelopmentMan
Copy link
Author

#206

@pengweiqhca
Copy link
Contributor

@DevelopmentMan sorry, I fixed.

pengweiqhca added a commit that referenced this issue Feb 20, 2023
Fix #224, #206: hot reload failed on asp.net core 6+ mini api.
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