I have a web project in VS2015 that I want to run on Local IIS. I set this up in the project properties and it works correctly, but whenever I close and reopen Visual Studio it always resets the project to use IIS Express.
EDIT: this happens when I close and reopen the solution, even if Visual Studio has stayed open.
Why is this happening, and how can I change it? (Note - other users are working on the same project so I don't want to store my Local IIS settings in the project file as I assume this would overwrite their settings when they got the latest version of the code.)
I edited the .csproj.user file and this fixed the problem. I changed <UseIISExpress>true</UseIISExpress>
to <UseIISExpress>false</UseIISExpress>
and left everything else the same.
I still don't know why doing this through the UI didn't save, if anyone else can explain it I'll happily accept their answer.
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