P
P
PRIYD2020-05-29 21:50:54
C++ / C#
PRIYD, 2020-05-29 21:50:54

How to fix cs0121 and cs0229?

Hello, I recently installed the .net developer pack, I used to write without snippets. Before that, in vs code, a c# exception just flew out stating that the aforementioned v4.7.1 devpack was not available, I installed it, but I started getting cs0121 and cs0229 errors. I tried to install v4.8, but the problem was not solved. How would you advise to get out of this situation?
PS Unity itself perceives the code normally, no errors, but vs code swears. Below are screenshots
5ed1597210317646141875.png
5ed1597775531406006140.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman, 2020-05-30
@PRIYD

This happened to me when renaming classes or fields. Resolved by restarting vscode. Looks like some kind of glitch OmniSharp plugin

E
Evgeny Zaletsky, 2020-05-29
@JZ_52

cs0121
cs0229

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question