Reputation: 51
After Installing Visual Studio Community 2022 version 17.3.4 I have tried to create new new project on asp .net web application(.NET Framework)(c#), but it is not working as you can see it constantly saying object reference not set to an instance of an object. I have tried to run it as administrator. I have done most of the things I have found on the internet but nothing seems to work.
Upvotes: 3
Views: 6053
Reputation: 48989
Hum, I am running 17.3.4, and it works just fine.
I would consider doing a repair - see if that helps.
tools->get tools and features.
You get this:
(it actually opens two pages). So close the above form, and then you get this:
So, try the repair.
I suppose ensuring that previous (legacy) templates are also installed would help, but first try a repair.
Ok, in comments it was asked what additional install(s) is one to select.
From VS menu tools->get tools and features.
You get/see this:
In above, expand the "ASP.NET and web development" on the right
this:
And then select these: (can't remember which exactly from above gets you everything, but given doing legacy development, good idea to select all that I pointed out).
Upvotes: 2