Search Unity

Always "missing a using directive or an assembly reference" after installing DotNetty in VS.

Discussion in 'Multiplayer' started by Solidcomer, May 7, 2020.

  1. Solidcomer

    Solidcomer

    Joined:
    Sep 12, 2017
    Posts:
    95
    Hello,
    I'm trying to use DotNetty in Unity client.

    When I installed dependent DotNetty packages from Visual Studio Nuget Package Manager, everything seems fine in VS, and a lot of files were downloaded into Packages folder under the Unity project.

    But after compilation, Unity shows a lot of "missing a using directive or an assembly reference" (The type or namespace name 'DotNetty' could not be found).

    I'm wondering how I can successfully implement DotNetty libraries. It seems DotNetty requires .Net Standard, and my project is running on .Net Standard 2.0. Or, DotNetty is not ready for Unity client yet?

    Thank you so much for reading my question.
     
  2. wizard872

    wizard872

    Joined:
    Nov 28, 2018
    Posts:
    1
  3. Solidcomer

    Solidcomer

    Joined:
    Sep 12, 2017
    Posts:
    95
    Thank you, let me check this out.