简体   繁体   中英

How to reference two assemblies in Visual Studio?

I have two assemblies: Assembly-CSharp and Assembly-CSharp-Editor.

Example: https://ibb.co/Phy8Y7S - Structure of my project

I have the following error: https://ibb.co/jgwzYmx - The error

ThirdPersonController.cs is in the first assembly Assembly-CSharp. But I get an error.

Why? Thanks in advice!

If you press Alt + Enter or Ctrl +. Visual Studio should be smart enough to automatically add a reference from the one project to the other or import the correct using statement if such is omitted.

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