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
If I look to Output tab in vscode, and after some projects are loaded, other fails to load with same error (see logs attached).
May it be caused ~300 projects in same solution?
May it be caused that path for referenced projects in csproj looks like windows-specific (\ - with this char instead of /)?
All projects in solution are .Net Core 2.1 + some .Net Standard 2.0 libraries.
Is there are any useful info I can provide?
Steps to Reproduce
1 Open folder with solution in vscode
2 Open output tab
Expected Behavior
No errors in output tab
Actual Behavior
Errors in output tab
Logs
OmniSharp log
[info]: OmniSharp.MSBuild.ProjectManager
Update project: _PROJ_NAME_.PhoneVerification.API
[fail]: OmniSharp.MSBuild.ProjectManager
Exception thrown while calling event sinks
System.InvalidOperationException: object_op ---> System.EntryPointNotFoundException: SystemNative_RealPath
at (wrapper managed-to-native) Interop+Sys.RealPath(string)
at System.IO.CoreFX.FileSystemWatcher+RunningInstance.Start () [0x00000] in <3f22ea5f607241f9a072ae168e2509e2>:0
at System.IO.CoreFX.FileSystemWatcher.StartRaisingEvents () [0x00067] in <3f22ea5f607241f9a072ae168e2509e2>:0
at System.IO.CoreFX.FileSystemWatcher.StartRaisingEventsIfNotDisposed () [0x00019] in <3f22ea5f607241f9a072ae168e2509e2>:0
at System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0001d] in <3f22ea5f607241f9a072ae168e2509e2>:0
at (wrapper remoting-invoke-with-check) System.IO.CoreFX.FileSystemWatcher.set_EnableRaisingEvents(bool)
at System.IO.CoreFXFileSystemWatcherProxy+<>c.b__9_0 (System.IO.CoreFX.FileSystemWatcher internal_fsw, System.IO.FileSystemWatcher fsw) [0x00048] in <3f22ea5f607241f9a072ae168e2509e2>:0
at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x00184] in <3f22ea5f607241f9a072ae168e2509e2>:0
--- End of inner exception stack trace ---
at System.IO.CoreFXFileSystemWatcherProxy.Operation (System.Action`4[T1,T2,T3,T4] map_op, System.Action`2[T1,T2] object_op, System.Object handle, System.Action`2[T1,T2] cancel_op) [0x001a6] in <3f22ea5f607241f9a072ae168e2509e2>:0
at System.IO.CoreFXFileSystemWatcherProxy.StartDispatching (System.Object handle) [0x00004] in <3f22ea5f607241f9a072ae168e2509e2>:0
at System.IO.FileSystemWatcher.Start () [0x0001b] in <3f22ea5f607241f9a072ae168e2509e2>:0
at System.IO.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x0003d] in <3f22ea5f607241f9a072ae168e2509e2>:0
at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher.set_EnableRaisingEvents(bool)
at Microsoft.AspNetCore.Razor.OmniSharpPlugin.MSBuildProjectDocumentChangeDetector.ProjectLoaded (OmniSharp.MSBuild.Notification.ProjectLoadedEventArgs loadedArgs) [0x00266] in :0
at OmniSharp.MSBuild.ProjectManager.ProcessQueue (System.Threading.CancellationToken cancellationToken) [0x00198] in :0
[info]: OmniSharp.MSBuild.ProjectManager
Update project: _PROJ_NAME_.Common.Models
[fail]: OmniSharp.MSBuild.ProjectManager
Exception thrown while calling event sinks
Environment information
VSCode version: 1.35.0 C# Extension: 1.19.1
Mono Information
OmniSharp using global mono :5.20.1Dotnet Information
.NET Core SDK (reflecting any global.json):
Version: 2.2.107
Commit: 2212cac826
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.14
OS Platform: Darwin
RID: osx.10.14-x64
Base Path: /usr/local/share/dotnet/sdk/2.2.107/
Host (useful for support):
Version: 2.2.5
Commit: 0a3c9209c0
@SuddenGunter Can you try setting omnisharp.useGlobalMono to never and see if that helps? I wonder if this is an issue with the specific mono installation on your machine (given that it's crashing in .net framework code)
hmm
maybe this is the issue, yeah. I forget that there are several .Net FW projects in that solution. If I'm not interest in them - so can I just ignore this crash warnings?
Issue Description
If I look to Output tab in vscode, and after some projects are loaded, other fails to load with same error (see logs attached).
May it be caused ~300 projects in same solution?
May it be caused that path for referenced projects in csproj looks like windows-specific (\ - with this char instead of /)?
All projects in solution are .Net Core 2.1 + some .Net Standard 2.0 libraries.
Is there are any useful info I can provide?
Steps to Reproduce
1 Open folder with solution in vscode
2 Open output tab
Expected Behavior
No errors in output tab
Actual Behavior
Errors in output tab
Logs
OmniSharp log
Environment information
VSCode version: 1.35.0
C# Extension: 1.19.1
Mono Information
OmniSharp using global mono :5.20.1Dotnet Information
.NET Core SDK (reflecting any global.json): Version: 2.2.107 Commit: 2212cac826Runtime Environment:
OS Name: Mac OS X
OS Version: 10.14
OS Platform: Darwin
RID: osx.10.14-x64
Base Path: /usr/local/share/dotnet/sdk/2.2.107/
Host (useful for support):
Version: 2.2.5
Commit: 0a3c9209c0
.NET Core SDKs installed:
2.1.700 [/usr/local/share/dotnet/sdk]
2.2.103 [/usr/local/share/dotnet/sdk]
2.2.107 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.11 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.11 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.11 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
Visual Studio Code Extensions
The text was updated successfully, but these errors were encountered: