I'm trying to load my VS2015 project into the newly installed VS2017RC but it keeps giving me the error (when loading or reloading):
Object reference not set to an instance of an object.
It also tells me:
"The project requires user input. Reload the project for more information",
but reload throws me the NullRef exception.
How do I know what is wrong with my VS Instance, where can I find info about the error?
I tried the Event Viewer but that has not been very resourceful.
Possible cause #1:
Try adding this to your project file, or check if it has that or not:
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
Possible cause #2:
Removing the two import lines that contain:
"Microsoft.WebApplication.targets"
Hope one of these works. The first one worked for me.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.