简体   繁体   English

VS2015发布错误

[英]VS2015 publishing errors

So I'm trying to publish my .net application using Visual Studio 2015, and every time that i upload the files to the website, and then i enter the URL to my browser, it just automatically downloads the .aspx file instead of showing it like it should? 因此,我尝试使用Visual Studio 2015发布.net应用程序,每次我将文件上传到网站,然后输入浏览器的URL时,它只会自动下载.aspx文件而不显示它喜欢吗? What should I do? 我该怎么办?

I've solved this question. 我已经解决了这个问题。 I purchased a Windows VPS after this, installed IIS, then just contacted my web host to map the domain to the IP of the new VPS. 之后,我购买了Windows VPS,安装了IIS,然后刚与我的Web主机联系以将域映射到新VPS的IP。 And it worked. 而且有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM