简体   繁体   中英

C# & VSCode - OmniSharp not working for multi project workspace

VSC is acting a bit weird and I can't figure out how to fix it. I am doing a tutorial and currently, I have multiple files with the same code. What I can't understand is why one of the files is showing "Problemns" and is highlithing them in the code and the other one doesn't.

Also in the 2nd file, even the breadcrumbs are missing.

1st file

在此处输入图像描述

2nd file

在此处输入图像描述

OK, so it seems that this is due to the fact that at this moment OmniSharp does not Multi Project support. Each time you want autocomplete and error reporting in a folder from your workspace you need to manually change your OmniSharp folder from here: 在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM