Skip to content
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

Do I need to install dotnet? #669

Closed
nojaf opened this issue Aug 17, 2016 · 5 comments
Closed

Do I need to install dotnet? #669

nojaf opened this issue Aug 17, 2016 · 5 comments
Labels

Comments

@nojaf
Copy link

nojaf commented Aug 17, 2016

Sorry if this is the wrong place to ask.
I learning about Docker these days and I like the fact that you don't have to install anything to get up and running with a new technology.

Is it possible to download the vscode extension and not having to install dotnet cli tooling on my local machine? The dotnet cli is installed within the Docker container so can vscode use it from there?

@gregg-miskelly
Copy link
Contributor

@nojaf You can use VS Code as an editor without a local CLI install, and if you are willing to do a lot more work you can get other things to work. But if you want things to be easy you will need dotnet on the path that VS Code is started from. You don't necessarily need to go through the installer, but obviously that makes things easier. Here is how dotnet is used --

  1. Dotnet includes the ability to restore nuget packages, and that is how we acquire the debugger
  2. While you are certainly free to build your code anyway you want, the default experience is to build your code locally, which isn't going to work without a local dotnet CLI.
  3. This one is less required, but obviously if you want to run your code locally you will need the .NET CLI.

@nojaf
Copy link
Author

nojaf commented Aug 18, 2016

Ok, thanks. I'll try and get this working.
Any chance some work will be done to streamline this process?
For example a project setting where you can tell vscode what container you are using.

{
  "docker-container-name":"my-container"
}

If this setting is present package restore would try and execute:
docker exec my-container dotnet restore

@gregg-miskelly
Copy link
Contributor

@nojaf I don't know much about the plans for the VS Code Docker tooling. @SteveLasker can you comment?

@filipw
Copy link
Contributor

filipw commented Nov 24, 2016

Is it possible to download the vscode extension and not having to install dotnet cli tooling on my local machine

I think this is true going forward, as it will use desktop .net/embedded mono?

@DustinCampbell
Copy link
Member

This issue looks pretty stale to me. I'm going to go ahead and close it. Please let me know if there are any concerns -- especially with regard to the Docker question which hasn't been answered (though it's now 6 months old).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants