VS2015或VS2017 RC无法启动IIS Express 64位 [英] VS2015 or VS2017 RC does not start IIS Express 64 bit

查看:243
本文介绍了VS2015或VS2017 RC无法启动IIS Express 64位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即使我已经设置了Visual Studio来运行IIS Express 64位,它将继续启动IIS Express 32位.我需要运行64位版本,因为我有 一些仅适用于64位主机环境的引用.

  • 我的项目是基于模板"ASP.NET Core Web应用程序(.NET Framework)"创建的;并且
  • 我已经设置了Visual Studio(2015年和2017年RC)以使用IIS Express 64位通过转到工具/选项/项目和解决方案" /"Web项目"并检查选项 使用< g class =" gr_ gr_98 gr-alert gr_spell gr_run_anim ContextualSpelling multiReplace" data-gr-id ="98". id ="98"> 64位/g.版本的IIS Express用于网站和项目".

我知道它正在运行IIS Express 32位版本,因为任务管理器会指示"IIS Express工作进程(32位)".并且启动该过程的命令还显示路径"C:\ Program Files(x86)\ IIS Express \ iisexpress.exe". 这就是IIS Express的32位版本的位置.

在此先感谢您提供的帮助.

解决方案

Cayetano,

根据您的描述,我在ASP.NET Core Web应用程序(.NET Framework)项目中遇到了相同的问题.而且我还发现此问题仅在核心Web应用程序中发生.对于常见的ASP.NET Web应用程序,它可以正确地与IIS Express 64位一起运行.

因此,我已将此问题提交给Visual Studio Connect,以下是反馈链接.您可以投票并添加评论.

https://connect.microsoft.com/VisualStudio/feedback/details/3117500

在确认并纠正此问题之前,请尝试通过直接选择Web应用程序来运行Core Web应用程序.例如,我的核心Web应用程序名为"IIS64BitIssue".当我选择"IIS64BitIssue"时,开始调试 它将启动IIS Express 64位.

最好的问候,
Weiwei


Even though I have set up visual studio to run IIS Express 64 bit, it continues to start IIS Express 32 bit. I need to run the 64-bit version because I have some references that will only work on a 64-bit host environment.

  • My projects were created based on template "ASP.NET Core Web Application (.NET Framework)" and,
  • I have set up visual studio (2015 and 2017 RC) to use IIS Express 64 bit by going to Tools / Options / "Project and solutions" / "Web Projects" and checking the option "Use the <g class="gr_ gr_98 gr-alert gr_spell gr_run_anim ContextualSpelling multiReplace" data-gr-id="98" id="98">64 bit</g> version of IIS Express for web sites and projects".

I know it is running IIS Express 32 bit version because the task manager indicates "IIS Express Worker Process (32 bit)" and also the command that started the process shows the path "C:\Program Files (x86)\IIS Express\iisexpress.exe" that is the location of the 32 bit version of IIS Express.

Thank you in advance for the help you can provide.

解决方案

Hi Cayetano,

According to your description, I get the same issue with ASP.NET Core Web Application (.NET Framework) project. And I also found this issue only occurs with Core Web Application. For common ASP.NET web application, it could run with IIS Express 64 bit correctly.

So I have submit this issue to Visual Studio Connect and following is the feedback link. You could vote and add your comments.

https://connect.microsoft.com/VisualStudio/feedback/details/3117500

Before this issue confirmed and corrected, please try run your Core Web application by choose your web application directly. For example, my Core Web application named "IIS64BitIssue". When I choose "IIS64BitIssue" to start debugging it, it will start the IIS Express 64 bit.

Best Regards,
Weiwei


这篇关于VS2015或VS2017 RC无法启动IIS Express 64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆