Search Unity

How to add "com.unity.code-analysis"

Discussion in 'Package Manager' started by CortiWins, Nov 17, 2020.

  1. CortiWins

    CortiWins

    Joined:
    Sep 24, 2018
    Posts:
    150
    Hello!

    I want to use roslyn and i found out, that com.unity.code-analysis uses those dlls, so it will collide if i manually insert the roslyn files.
    https://forum.unity.com/threads/sol...codeanalysis-csharp-for-editor-script.681283/

    Now i want to use the com.unity.code-analysis package, which according to this post is part of visual scripting.
    https://forum.unity.com/threads/dot...-experimental-drop.677476/page-2#post-4598263
    Visual Scripting is Bolt if i researched correctly, but that doesnt include the package.

    Here unity employee @mathieur described how to add none-whitelisted packages
    https://forum.unity.com/threads/dot...-experimental-drop.677476/page-2#post-4616428
    which in my case leads to a 40 second loading time and no further packages shown.

    And finally, here we got a github-fork of com.unity.code-analysis.
    https://github.com/needle-mirror/com.unity.code-analysis'
    Where did that person get the code? He only links to documentation.

    So.
    • Where could i get the code for com.unity.code-analysis?
    • How could i include the com.unity.code-analysis package?
    • How could i get a visual scripting package that includes com.unity.code-analysis?

    Thats a lot. Thanks for taking the time!
     
  2. UnityMaru

    UnityMaru

    Community Engagement Manager PSM

    Joined:
    Mar 16, 2016
    Posts:
    1,227
    Hey there!

    Can you let us know which version of Unity you're currently using to try and achieve this?