英文:
.Net Project not updating when publishing to Azure
问题
当我发布到Azure时,我的DevOps管道成功完成,但实际应用程序不会根据我所做的更改进行更新。
我已经尝试手动发布,但仍然遇到相同的问题。我已经尝试了我能想到的一切,以及我在网上看到的一切,但我无法弄清楚是什么原因导致了这个问题。
我已经在Web应用程序上禁用了缓存,禁用了浏览器缓存,并尝试了多台机器。我已经尝试重新启动Web应用程序,停止,运行管道,然后启动它,以及其他许多不同的操作。
这是一个运行C# 11的.NET 7应用程序。
是否有其他人也经历过这种情况?期待您的回复。
英文:
When I publish to Azure, my dev-ops pipeline completes successfully, however the actual application does not update as per the changes I have made.
I have tried publishing this manually and still experience the same issue. I have tried everything I can think of and everything I have seen online, however I cannot work out what is causing this.
I have disabled caching on the web-app, I have disabled browser cache and have tried from multiple machines. I have tried restarting the web-app, stopping, running the pipeline, then starting it amongst a number of different things.
This is a .Net 7 application running C# 11.
Has anyone else experienced this? I look forward to hearing from you.
答案1
得分: 0
我已经找到了这个问题的解决方法。
在移除了 Microsoft.AspNetCore.Razor.Design
包之后,现在它按预期方式运行。
希望这对其他人有所帮助。
英文:
I have managed to find the issue to this.
After removal of the Microsoft.AspNetCore.Razor.Design
package this now functions as expected.
I hope this helps others.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论