For some unknown reason got this error few days ago in VS Code. Downloaded .Net Core SDK v2.02, tried to create new project, didnt help. Think project is missing mscorlib library, but dont know how to add it into project.csproj file.
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
4 Points
4 Posts
Predefined type System.Object is not defined or imported
Nov 10, 2017 05:42 PM|polkpolk090|LINK
For some unknown reason got this error few days ago in VS Code. Downloaded .Net Core SDK v2.02, tried to create new project, didnt help. Think project is missing mscorlib library, but dont know how to add it into project.csproj file.
Contributor
2990 Points
1210 Posts
Re: Predefined type System.Object is not defined or imported
Nov 13, 2017 07:31 AM|Deepak Panchal|LINK
Hi polkpolk090,
I can see that your issue is regarding VS Code.
generally on this forum, we are handling the Visual Studio related issues.
I suggest you to post your issue in VS Code related forum.
you can refer links below may help you.
VS Code
for a feature request and bug report, you can refer link below.
Visual Studio Code
Thanks for your understanding.
Regards
Deepak
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
All-Star
163349 Points
9803 Posts
ASPInsiders
Dev Team
Moderator
Re: Predefined type System.Object is not defined or imported
Nov 13, 2017 04:56 PM|tmorton|LINK
Visual Studio Code-related questions are welcome in this forum. I have now updated the forum description to explicitly list VS Code.
ASP.NET Website Manager, Neudesic