Can't get IIS Express 8 beta to run website as 64-bit process

后端 未结 10 2172
南方客
南方客 2020-11-27 03:08

on x64 Windows 7 I am trying to get hello world MVC 3 website running as 64-bit process (so Environment.Is64BitProcess returns true on a page) using IIS Express 8 latest bet

相关标签:
10条回答
  • 2020-11-27 03:51

    Late to the party but VS2013 has this in the Options.

    Tools -> Options -> Projects and Solutions -> Web Projects -> Use the 64 bit version of IIS Express…

    0 讨论(0)
  • 2020-11-27 03:51

    Simple possibility is just to set IIS x64 as starting program for the WEB project :

    Project Properties -> Web -> Start Action - > Start Program : c:\Program Files\IIS Express\iisexpress.exe command arguments: /path:{yourProjectPath} /port:{yourPort}

    0 讨论(0)
  • 2020-11-27 03:56

    This option is now part of Vs 2013 / 2015 / 2017:

    Tools | Options | Projects and Solutions | Web Projects | Use the 64 bit version of IIS Express

    0 讨论(0)
  • 2020-11-27 03:57

    From a Microsoft response to forum post on http://visualstudio.uservoice.com -

    This is working for me even though it is not endorsed or supported officially by Microsoft.

    Mike Harder (Microsoft) commented · January 31, 2013 5:26 p.m.

    You can configure Visual Studio 2012 to use IIS Express 64-bit by setting the following registry key:

    reg add HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\WebProjects /v Use64BitIISExpress /t REG_DWORD /d 1

    However, this feature is not supported and has not been fully tested by Microsoft. Improved support for IIS Express 64-bit is under consideration for the next release of Visual Studio.

    Allow for IIS Express 64 bit to run from Visual Studio 2012

    0 讨论(0)
提交回复
热议问题