You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OmniSharp.MSBuild.ProjectFile.ProjectFileInfo
The "GetReferenceNearestTargetFrameworkTask" task was not found.
Check the following:
1.) The name of the task in the project file is the same as the name of the task class.
2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface.
3.) The task is correctly declared with in the project file, or in the *.tasks files located in the
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin" directory.
Reproduces without extensions: No (OmniSharp is an extension)
This problem only happens with certain projects. When it happens OmniSharp doesn't run. I've tried many solns posted on stackoverflow such as make sure .Net 1.x is installed ,etc.
Problem is somewhat erratic, hard to find cause.
The text was updated successfully, but these errors were encountered:
Has to do with having Visual Studio installed. Output shows both are installed and OmniSharp picks VisualStudio instead of .NET Core.
How do I tell OmniSharp NOT to use Visual Studio?
I have to uninstall Visual Studio to fix this issue.
Steps to Reproduce:
OmniSharp.MSBuild.ProjectFile.ProjectFileInfo
The "GetReferenceNearestTargetFrameworkTask" task was not found.
Check the following:
1.) The name of the task in the project file is the same as the name of the task class.
2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface.
3.) The task is correctly declared with in the project file, or in the *.tasks files located in the
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin" directory.
Reproduces without extensions: No (OmniSharp is an extension)
This problem only happens with certain projects. When it happens OmniSharp doesn't run. I've tried many solns posted on stackoverflow such as make sure .Net 1.x is installed ,etc.
Problem is somewhat erratic, hard to find cause.
The text was updated successfully, but these errors were encountered: