- Home /
- Visual Studio /
dylan
reported
Aug 21, 2018 at 09:23 PM
Solution by
Max Jones
·
Aug 29, 2018 at 10:48 AM
I came accross this issue aswell. I found that the issue for me was that these projects had a 'project.assets.json file' in the obj folder - This file seems to point at the previous .NET Framework, not sure what generated this or when (An older VS most likely) but a clean does not delete this file. I went through and manually deleted the bin and obj folders for all these projects, and then I was able to build without this error.
Solution by
Andy Martin
·
Oct 26, 2018 at 03:13 PM
Relevant solution that worked for me: https://stackoverflow.com/a/52075493/42514
Solution by
Celal Ak
·
Aug 27, 2018 at 07:49 AM
if any NuGet package is not installed on the project, the specified problem occurs. Ypo can add System.AppContext NuGet Package.
81 People are following this
程序没错,会陷入死循环-The program is correct, it will fall into an infinite loop
0
Solution
VS15.8 breaks WRL AGAIN.
0
Solution
Visual Studio crashes opening SSIS package
5
Solution
Intellisense errors for dependencies referenced with $(SolutionDir) in their .csproj
1
Solution
SlowCheetah 3.0.66 is causing massive build issues, and only started recently.
1
Solution
Linux Project won't build in WSL on windows drive
0
Solution
High CPU use when opening solution
0
Solution
Visual Studio 2017 data flow SSIS finished but intermediate steps waiting
0
Solution
Error C2676 binary '
0
Solution
VS 2017 Enterprise Update to Version 15.9.3 not available
2
Solution