2017-03-22 66 views
0

项目(全net461,核1.1)从VS2015转换:VS2017调试:没有启动URL设置

enter image description here

{ 
    "iisSettings": { 
    "windowsAuthentication": false, 
    "anonymousAuthentication": true, 
    "iisExpress": { 
     "applicationUrl": "http://localhost:17901/", 
     "sslPort": 0 
    } 
    }, 
    "profiles": { 
    "IIS Express": { 
     "commandName": "IISExpress", 
     "launchBrowser": true, 
     "environmentVariables": { 
     "ASPNETCORE_ENVIRONMENT": "Development" 
     } 
    }, 
    "WebApplication1": { 
     "commandName": "Project", 
     "launchBrowser": true, 
     "launchUrl": "http://localhost:5000", 
     "environmentVariables": { 
     "ASPNETCORE_ENVIRONMENT": "Development" 
     } 
    } 
    } 
} 

还没有浏览器F5后自动打开。 (但是当我手动去url时,网站会打开)。

而且我也不能在2017年创建核心web项目来查看它是如何工作的 - VS只是在底线和空解决方案资源管理器中写下“无法创建项目”的内容,只创建了文件夹,输出中没有任何内容, devenv /Log C:/log.xml日志。

+0

尝试关闭VS2017和删除文件夹.VS解决方案中的根文件夹 – Tseng

+0

没有help.'' – smg

回答

0

要解决:打开“天青应用服务工具”