Help us understand the problem. What is going on with this article?

Unity 2018.4.12f1でVisual Studio Community(for Mac) ver.7.7.4を使ってると途中でUnityEngineのnamespaceが見つかりません(could not be found)と急に言われる。

表題の問題が発生し、コード補完もなにもあったもんじゃない状態になって途方にくれてましたが、インストール何度もし直したり、アップデートしようとするとVS自体が壊れるということで色々設定をいじってたところ、メニューバーの、

Project > Solution Options
で開いたダイアログの、

Source Code > .NET Naming Policies
の、

Associate namespaces with directory names
の下の、

Use default namespace as root
に、チェック入れたところとりあえず直りました。

ググっても全然情報ないので、備忘録代わりと、同現象で悩まれてる方の一助になればと思い記事に残してみます。
(理由も原理も、完全にこれで正しいかも疑問ですが。。)

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした