Open xobs opened 4 years ago
I too have this issue when trying to use vscode in the plugins directory for my Rust (facepunch video game). Would be nice to be able to easily specify DLLs to use as references to these bare .cs files in my game server directory somehow.
I did come up with a solution, which involves creating a fake .csproj
file with references to all of the DLLs. I've documented it in my project here: https://github.com/betrusted-io/xous-core/tree/main/emulation#editing-renode-peripherals
Issue Description
The documentation states:
I am working with Renode, where extensions are written in C# (much in the same way I gather Unity works). When I open these files, I don't see a flame, but I do get some C# features such as reference counting and autocomplete for System assemblies.
There is no documentation on how to add project-specific assemblies such as Renode's.
Steps to Reproduce
Expected Behavior
IntelliSense should either auto-complete the AntMicro packages, or give a warning that such packages cannot be found.
Actual Behavior
IntelliSense does nothing with the Antmicro packages. System packages auto-complete, however.
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.40.1 C# Extension: 1.21.7
Dotnet Information
.NET Core SDK (reflecting any global.json): Version: 2.1.505 Commit: b220231234 Runtime Environment: OS Name: Windows OS Version: 10.0.18362 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\2.1.505\ Host (useful for support): Version: 2.1.9 Commit: dcedc87d22 .NET Core SDKs installed: 2.1.201 [C:\Program Files\dotnet\sdk] 2.1.202 [C:\Program Files\dotnet\sdk] 2.1.400 [C:\Program Files\dotnet\sdk] 2.1.402 [C:\Program Files\dotnet\sdk] 2.1.403 [C:\Program Files\dotnet\sdk] 2.1.503 [C:\Program Files\dotnet\sdk] 2.1.505 [C:\Program Files\dotnet\sdk] .NET Core runtimes installed: Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-downloadVisual Studio Code Extensions
|Extension|Author|Version| |---|---|---| |asciidoctor-vscode|joaompinto|2.7.6| |cmake-tools|ms-vscode|1.2.2| |code-beautifier|michelemelluso|2.3.3| |code-gnu-global|austin|0.2.2| |cpptools|ms-vscode|0.26.1| |csharp|ms-vscode|1.21.7| |powershell|ms-vscode|2019.11.0| |python|ms-python|2019.11.49689| |remote-wsl|ms-vscode-remote|0.40.3| |rewrap|stkb|1.9.1| |riscv|zhwu95|0.0.6| |rust|rust-lang|0.7.0| |scala-lsp|dragos|0.2.3| |smali|crazywolf|1.0.1| |spellright|ban|3.0.48| |veriloghdl|mshr-h|1.0.4| |vscode-html-css|ecmel|0.2.3| |vscode-markdownlint|DavidAnson|0.32.0|;