If you have already tried all the other logical solutions on this page, double check this. In my app.config, I had a link to the old structure.
<startup> <supportedRuntime version="v2.0.50727"/> </startup>
should be
<startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup>
The project tab showed v4.0 correctly, but app.config was not tied to our repo with this change. To fix this, I changed the framework to something else and again on 4.0, updating the app.config file.
user2209195 Jun 13 '16 at 20:57 2016-06-13 20:57
source share