I recently switched to IIS Express for asp.net developement but I don't understand that clicking on "Use IIS Express..." (contextual menu on project in Visual Studio) affects the .csproj file...
The problem is when I commit changes (Source Control) I also commit the new IIS Express configuration and this is, in my opinion, a user preference configuration. Therefore it should be written in a .suo file (which is ignored by source control).
I understand this is more rambling than a question but I thought maybe someone would have a solution.
Unfortunately, these project settings are how VS can tell whether to use Cassini or IIS Express. However, you can choose to save the project server settings in the proj.user file, so that they will not be checked in to source control. Under project Properties -> Web, you can unselect the "Apply server settings to all users" option:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With