Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

How to reference project in Visual Studio?

Discussion in 'Code Editors & IDEs' started by dkalkwarf, Oct 17, 2021.

  1. dkalkwarf

    dkalkwarf

    Joined:
    Mar 29, 2020
    Posts:
    11
    My first project is a simple turn-based card game. I developed the logic for the game outside of Unity in Visual Studio. I now wish to incorporate it (Visual Studio project) into my Unity app. I cannot figure out how to reference the logic code in Visual Studio.

    I added the project to my solution. Intellisense says that I need to add a reference to my project and offers to do so. I do this, but it doesn't seem to do anything. Now Intellisense indicates that I just need to add 'using MyLogic'. I did that but the compiler doesn't recognize that namespace.

    What am I missing?