Is Visual Studio 2010 WebDev WebServer (Cassini) 64-bit compatible?

倖福魔咒の 提交于 2019-11-27 02:08:54

问题


I'm now developing on Visual Studio 2008 on a 64-bit OS (Windows Server 2008 64-bit).

While the apps I write are 64-bit capable, as is IIS7, the built-in ASP.NET Development Server (aka Cassini aka WebDev.Webserver.exe) runs as 32-bit.

This brings up a plethora of issues, such as:

  • 32-bit and 64-bit applications have separate HKLM\Software registry homes
  • There are 32-bit and 64-bit versions of the SQL Server Client Network Utility
  • Other fun surprises I haven't discovered but I'm sure will spring up

While I am finding workarounds for most of this, I have to ask...

Does anyone who has played with the Visual Studio 2010 preview bits on 64-bit architecture know if the development web servers can handle 64-bit, and if so, are there options for which mode to run it in? (Like a checkbox in the project properties, for instance)


回答1:


Full source code for a direct replacement for VS2008/2010 dev servers is available at http://cassinidev.codeplex.com. You can compile to x64 to support your requirements.




回答2:


32 bit IDE and related things make it easier to develop.

When you start to test and deploy further, such as x64, IIS is a better choice.




回答3:


Here is x64 built version of cassini web server (only binaries for VS2008 and VS2010).

I just went to http://cassinidev.codeplex.com/, and built the source code in x64 mode.

Resulting binaries worked for me, when I replace them as stated here: http://cassinidev.codeplex.com/wikipage?title=Visual%20Studio%202008%2f2010%20Development%20server%20drop-in%20replacement&referringTitle=Documentation

You can download binaries here: https://sites.google.com/site/csharpstuff1/CassiniDevx64.zip?attredirects=0&d=1




回答4:


Looks like this guy took a similar approach to using Reflector and re-compiling as 64 bit: http://codeka.com/blogs/index.php/2007/06/18/64_bit_webdev_webserver_exe

I haven't found anything that suggests the story will be different in VS2010, but fingers crossed.




回答5:


There's a third-party product called UltiDev Cassini that advertises a 64bit version. It's free and redistributable; that may solve your needs.

Information here: http://ultidev.com/Products/Cassini/CassiniDevGuide.htm



来源:https://stackoverflow.com/questions/1890582/is-visual-studio-2010-webdev-webserver-cassini-64-bit-compatible

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!