我发现,当从Visual Stu
dio发布网站,它没有
上传我的
一个文件。它的
一个Razor
文件与
一个’.cshtml’扩展(它做的其他人!)和它的项目的一部分。
任何想法为什么它会排除它?
在Visual Stu
dio中,右键单击
文件并转到
属性。
在文件的属性下,确保“构建操作”设置为“内容”。否则将不会通过web部署发布。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。