I have a app which is under source control (TFS 2012 also) on c:\Dev\MyApp\Main.
Because im developing a new feature I decided to open a branch on c:\Dev\MyApp\BranchNewFeature.
I developed and when I decided that it was time to test it was like i hadn't done any changes at all. I hit F5 and i see the baseline version of the app... Looking into it I noticed a very curious fact: When i check IIS Express the "launch path" for the applications is the old one (c:\Dev\MyApp\Main).
Can anyone help me make IIS Express point to the new path? (C:\Dev\MyApp\BranchNewFeature)
I ran into the same issue. To fix it, I used cheesemacfly's suggestion, to update C:\Users\%USERNAME%\Documents\IISExpress\config\applicationhost.config
to point to the new directory.
The obvious downside with this solution is that you need to do this repeatedly if you plan on switching between your new branches often. Seems like a bug in VS2012...
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