Reputation: 6300
I have all my references setup to "PackageReference" and it works and builds fine but I don't have intellisense with Razor. I can't move to .netcore, but it builds and runs fine I just lose a lot with intellisense. I guess I can do the "choose" switch in the csproj to point it to DLLs, but what is the bare minimum that I need to get intellisense to run?
Upvotes: 0
Views: 47
Reputation: 28156
All my references setup to "PackageReference"
How do you handle the references like system
, system.web
?
We should only need to change the format of Hintpath in xx.csproj(assemblies from nuget), and keep other things the same. If this is actually what you did, close vs=>delete the hidden .vs
folder in Solution folder=>restart vs and reload the project to check if Intellisense can work now.
In addition: It's not officially supported to migrate asp.net full framework
projects from packages.config
to PackageReference
format. For me, I use this extension in VS2017 to make this job for me, you can give it a try. And there's one discussion about the official support for that migration in DC, you can vote for it and track the latest info there.
Upvotes: 1