This is an older project that I'm trying to spin up for the first time. I am getting this error:
Could not load file or assembly 'Microsoft.Web.Infrastructure,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of
its dependencies. The system cannot find the file specified
MVC4 (dotnet 4.5) application on VS2017.
I came across this S/O post but am unable to fully try the accepted answer as the Copy Local
continues to change to back to False
when I try to save the changes. Additionally, this other S/O post seemed to indicate that I should not be tampering with Copy Local
properties so that behavior preventing me from setting Copy Local
to True
appears to be deliberate (or perhaps indicate the "assembly is found in the global assembly cache".
Why can't I set the Copy Local
field? Any ideas on how I can try updating the Copy Local
to True
in VS2017?