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.
UPDATE
Event viewer info
Right click on the project folder and click Reload project. You will see the projects and folders that you originally had. You will see .
Generally, it is because the path of project has been changed or its name has been changed. Regardless of the changed path or name, Visual Studio failed to load the project because it could not be found based on the original path.
In Solution Explorer, select the projects you want to load (press Ctrl while clicking to select more than one project), and then right-click on the project and choose Reload Project. Visual Studio will remember which projects are loaded the next time you open the solution locally.
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.
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