Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running the 64 bit version of IIS Express 8 RC with Visual Studio 2010

I have a web app that uses the 64 bit version of SharpSvn, a managed DLL with an unmanaged dependency. It will not run in IIS Express 7.0. Switching to the 32 bit version of the assembly works fine.

I installed the 64 bit version of IIS 8 RC. However Visual Studio 2010 launches the 32 bit version of IIS Express.

IIS.

I can launch the 64 bit version of IIS manually with the following command:

"C:\Program Files\IIS Express\iisexpress.exe"  /config:"C:\Users\zippy\Documents\IISExpress\config\applicationhost.config"  /site:"MrDVCS" /apppool:"Clr4IntegratedAppPool"

In my WebProject.csproj The relevant XML seems to be <UseIISExpress>true</UseIISExpress>. If I edit the file in Visual Studio, the Intellisense does not offer a similar named tag for 64 bit, and it does not offer me an attribute.

So how do I get Visual Studio to launch the 64 bit version of IIS Express RC?

like image 911
Justin Dearing Avatar asked Aug 19 '12 12:08

Justin Dearing


People also ask

Does IIS Express come with Visual Studio?

IIS Express is not included with VS 10 SP1 and will need to be installed separately. You can also manually launch IIS Express from the command line and use it with Visual Studio 2008, using the custom web server option.

How do I open IIS Express in Windows 10?

To enable IIS and the required IIS components on Windows 10, do the following: Open Control Panel and click Programs and Features > Turn Windows features on or off. Enable Internet Information Services.


1 Answers

I have been trying to do the same thing, but can't seem to find how to launch IIS Express in 64 bit mode.
The only way that I can find to debug in 64 bit mode is the following:
Start IIS Express as you have above (in 64 bit mode).
In your Visual Studio project Properties, switch the servers to specify "Use Custom Web Server", and put in a url.
Go to debug | Attach to process, and then select your running IISExpress instance.
Place a breakpoint, and debug in 64 bit mode.
Have fun,

like image 129
blorkfish Avatar answered Sep 18 '22 16:09

blorkfish