admin管理员组文章数量:1241096
I'm facing a weird behavior in VS 2022, after publishing my ASP.NET MVC project to disk. The tool creates a lot of .gz
files, for each related .js
file.
Not to mention that it also creates many .js.br
files.
I'm using the latest VS 2022 Community edition, v17.13.0.
How to prevent this weird behavior on publishing, please?
I'm facing a weird behavior in VS 2022, after publishing my ASP.NET MVC project to disk. The tool creates a lot of .gz
files, for each related .js
file.
Not to mention that it also creates many .js.br
files.
I'm using the latest VS 2022 Community edition, v17.13.0.
How to prevent this weird behavior on publishing, please?
Share Improve this question edited yesterday marc_s 755k184 gold badges1.4k silver badges1.5k bronze badges asked yesterday gtezinigtezini 434 bronze badges1 Answer
Reset to default 1Option is called CompressionEnabled
. Set it to false
see https://learn.microsoft/en-us/aspnet/core/migration/70-80?view=aspnetcore-9.0&tabs=visual-studio
本文标签: aspnet mvcVS 2022How to prevent creating gz files on publishStack Overflow
版权声明:本文标题:asp.net mvc - VS 2022 - How to prevent creating .gz files on publish - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1740053309a2222243.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论