-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run code that uses (nuget) packages #228
Comments
Could you share the screenshot of the output? Code Runner supports two types of C# project:
|
Thanks! I'm just trying to create a basic console app for .NET core. You can see below that my executorMap is set to use mcs and mono on the current file, which I'm guessing is not correct, as it doesn't know about the package location for antlr... Is there a simple example I can reference that uses 'run code' from .csproj (ideally with one or more nuget packages)? |
I am not familiar with Mono. I guess you need another command to do nuget restore. |
So I have a simple csharp program (see below) which works in vscode/code-runner until I add a package. As soon as I install one via nuget (e.g., Antlr4), I can no longer run via code-runner, though things still compile ok.
What am I doing wrong? Thanks
The text was updated successfully, but these errors were encountered: