Analyzer support in OmniSharp is experimental at the moment, so we need to enable it explicitly. Next, create an omnisharp.json file at the root folder of your project, as explained here. dll, which will make it output an error in the console. Do not place it inside Assets or Packages, as that will cause Unity to try to process the. You can place it inside a folder named NuGet, for example. When you're done, open the package file using a tool such as 7zip and extract onto your project's root folder. You will need to download the analyzers from the NuGet website manually. csproj files, it does not seem possible to install packages automatically. These analyzers ship out of the box with Visual Studio but need to be set up manually in Visual Studio Code.ĭue to how Unity handles its. Unity has a set of custom C# warnings, called analyzers, that check for common issues with your source code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |