-
Nov 2nd, 2023, 12:43 AM
#1
MVC project - references not working??
Hi,
I had an MVC project that I did a while ago (orig in VS 2015); and now went to use it on a new computer I am using (2022) and the references all look like they are working; but the code isn't recognizing them at all.
In the screenshot is my references on the right, and intellisense of system.web. for example... and it is like 95%+ of things referenced are not!
Don't really know where to start, any help would be great.
Thanks in advance,
Kris
-
Nov 2nd, 2023, 03:02 AM
#2
Re: MVC project - references not working??
For the record, everything in your screenshot besides the code itself is too small to read.
What framework are you targeting? Have you changed that since opening the project in VS 2022?
-
Nov 2nd, 2023, 03:03 AM
#3
Re: MVC project - references not working??
What happens if you go to the References page of the project properties and remove a reference and then re-add it?
-
Nov 2nd, 2023, 07:43 AM
#4
Re: MVC project - references not working??
Judging by the objects wit red squigglies in what I can read... and given that it was originally written in 2015... The framework that it's targeting isn't installed.
-tg
-
Nov 2nd, 2023, 08:09 AM
#5
Re: MVC project - references not working??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|