Project cannot solve mscorlib for Framework . NET 4.5.2

Asked

Viewed 52 times

0

I have a C# Windows Form project that uses Framework 4.5.2. I bought a new notebook and I am trying to run this project, but when trying to run it does not appear any error and even then the project is not built. I accessed the project properties and when I click on Services or Settings the message appears:

Could not resolve mscorlib for target framework '.NETFramework,Version=v4.5.2'.  This can happen if the target framework is not installed or if the framework moniker is incorrectly formatted.

This version of the Framework is installed on my machine. I have already created a test project using this version of the Framework and run normal. How can I solve this problem of the project not being able to solve mscorlib?

1 answer

1

I was able to solve the problem. I clicked on Reference and saw that the Microsoft.Office.Core reference had a question mark, so I removed it. I clicked to add the reference again and added again to Microsoft Office 14.0 Object Library, which corresponds to Microsoft.Office.Core. After adding, I compiled the application and ran normal.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.