Archive for category Visual Studio

Kill all instances of Cassini aka WebDev.WebServer.exe

I was working on a project which had many Web-Applications & Web-Services so when I debug there will be many instances of Cassini aka WebDev.WebServer.exe which was fine but I also came across a need to really kill/stop them all and doing it from system tray was real pain.

Everyone would come up with a simple solution to run a command that can kill all!

To do that I just Created a simple batch file that will kill all instances which is attached with this post. I hope that will be usefull to many.
Download KillCassini

Tags:

The following module was built either with optimizations enabled or without debug information + Silverlight

While coding with VS 2005/2008 you may encounter with an exception that " The following module was built either with optimizations enabled or without debug information" .

To Resolve this, first thing you can do is enable full debug info on your project. to do this,

- Right Click the Project which is giving the exception and Go to Properties

- Under the Build tab go to the Advance option

- Set Debug Info to Full as shown below ,

Advance Settings

If this doesnt resolve you problem,

Please remove all the project references from your project that gives this exception.

- Remove all files from the bin folder of your project.

- If bin folder file attributes are read only , remove the read only attributes on bin folder.

- Add the existing project references again

- Rebuild the project

This should resolve your problem.

Tags: ,

Paying the bills.!