Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. VS Code On Linux

VS Code On Linux

Scheduled Pinned Locked Moved The Lounge
csharpasp-netdotnetvisual-studiolinux
27 Posts 17 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • realJSOPR Online
    realJSOPR Online
    realJSOP
    wrote on last edited by
    #1

    When you install VS Code on Linux, does it also install the .Net Core stuff (core and sdk)?

    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
    -----
    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
    -----
    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

    F M Richard DeemingR Kornfeld Eliyahu PeterK M 8 Replies Last reply
    0
    • realJSOPR realJSOP

      When you install VS Code on Linux, does it also install the .Net Core stuff (core and sdk)?

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

      F Offline
      F Offline
      Forogar
      wrote on last edited by
      #2

      There's one way to find out...

      - I would love to change the world, but they won’t give me the source code.

      realJSOPR 1 Reply Last reply
      0
      • F Forogar

        There's one way to find out...

        - I would love to change the world, but they won’t give me the source code.

        realJSOPR Online
        realJSOPR Online
        realJSOP
        wrote on last edited by
        #3

        I installed VS Code, but wasn't paying attention to the text scrolling by. I started it up and don't see a way to create a new project.

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

        M M 2 Replies Last reply
        0
        • realJSOPR realJSOP

          I installed VS Code, but wasn't paying attention to the text scrolling by. I started it up and don't see a way to create a new project.

          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
          -----
          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
          -----
          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

          M Offline
          M Offline
          Marc Clifton
          wrote on last edited by
          #4

          John Simmons / outlaw programmer wrote:

          I started it up and don't see a way to create a new project.

          VS Code is totally non-intuitive IMO. But I guess that really only means I haven't worked with it enough to learn How It Does Things. Anyways, to your point, I think you just create a folder and start putting code files into the folder. The folder is the "project." I may be wrong.

          Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

          M E 2 Replies Last reply
          0
          • realJSOPR realJSOP

            When you install VS Code on Linux, does it also install the .Net Core stuff (core and sdk)?

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

            M Offline
            M Offline
            Marc Clifton
            wrote on last edited by
            #5

            John Simmons / outlaw programmer wrote:

            VS Code

            If you haven't looked at [Rider: Cross-platform .NET IDE by JetBrains](https://www.jetbrains.com/rider/) I would definitely take a gander. An excellent product, IMO.

            Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

            A 1 Reply Last reply
            0
            • realJSOPR realJSOP

              When you install VS Code on Linux, does it also install the .Net Core stuff (core and sdk)?

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

              Richard DeemingR Offline
              Richard DeemingR Offline
              Richard Deeming
              wrote on last edited by
              #6

              I suspect you'll need to download those separately: .NET Core 2.1 downloads for Linux, macOS, and Windows[^] You'll probably also want the C# extension: C# - Visual Studio Marketplace[^]


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

              "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

              realJSOPR 1 Reply Last reply
              0
              • realJSOPR realJSOP

                When you install VS Code on Linux, does it also install the .Net Core stuff (core and sdk)?

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu PeterK Offline
                Kornfeld Eliyahu Peter
                wrote on last edited by
                #7

                Yes... If you do it in the way documented on MS's site...

                "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018

                "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                1 Reply Last reply
                0
                • M Marc Clifton

                  John Simmons / outlaw programmer wrote:

                  I started it up and don't see a way to create a new project.

                  VS Code is totally non-intuitive IMO. But I guess that really only means I haven't worked with it enough to learn How It Does Things. Anyways, to your point, I think you just create a folder and start putting code files into the folder. The folder is the "project." I may be wrong.

                  Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                  M Offline
                  M Offline
                  Mel Padden
                  wrote on last edited by
                  #8

                  The philosophy is totally different to the classic .Net / Visual Studio ecosystem, and that is no bad thing IMHO. It does mean you have to actually decide what plugins etc. you want, and install them, to get your toolchain going, but that is a small price to pay for the flexibility and lack of bloat.

                  One morning I shot an elephant in my pajamas. How he got in my pajamas, I don't know.

                  realJSOPR 1 Reply Last reply
                  0
                  • M Mel Padden

                    The philosophy is totally different to the classic .Net / Visual Studio ecosystem, and that is no bad thing IMHO. It does mean you have to actually decide what plugins etc. you want, and install them, to get your toolchain going, but that is a small price to pay for the flexibility and lack of bloat.

                    One morning I shot an elephant in my pajamas. How he got in my pajamas, I don't know.

                    realJSOPR Online
                    realJSOPR Online
                    realJSOP
                    wrote on last edited by
                    #9

                    The install process should at least prompt you to select the desired bloat.

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                    F 1 Reply Last reply
                    0
                    • Richard DeemingR Richard Deeming

                      I suspect you'll need to download those separately: .NET Core 2.1 downloads for Linux, macOS, and Windows[^] You'll probably also want the C# extension: C# - Visual Studio Marketplace[^]


                      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                      realJSOPR Online
                      realJSOPR Online
                      realJSOP
                      wrote on last edited by
                      #10

                      I'm accessing the internet via a tethered connection so I have to wait until I get home (to avoid using up the data). :(

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                      1 Reply Last reply
                      0
                      • realJSOPR realJSOP

                        The install process should at least prompt you to select the desired bloat.

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                        F Offline
                        F Offline
                        Florian Rappl
                        wrote on last edited by
                        #11

                        VS Code is just a text editor. No dotnet core or any other distribution is installed. So there is nothing to prompt about.

                        1 Reply Last reply
                        0
                        • realJSOPR realJSOP

                          When you install VS Code on Linux, does it also install the .Net Core stuff (core and sdk)?

                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                          -----
                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                          -----
                          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                          M Offline
                          M Offline
                          markkuk
                          wrote on last edited by
                          #12

                          VS Code is written in Electron[^] so it has no dependencies on the .NET platform.

                          1 Reply Last reply
                          0
                          • realJSOPR realJSOP

                            I installed VS Code, but wasn't paying attention to the text scrolling by. I started it up and don't see a way to create a new project.

                            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                            -----
                            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                            -----
                            When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                            M Offline
                            M Offline
                            markkuk
                            wrote on last edited by
                            #13

                            VS Code isn't an IDE, it's a text editor. It doesn't have any concept of a "project". If you want a full IDE for Linux, get Eclipse[^].

                            realJSOPR 1 Reply Last reply
                            0
                            • M markkuk

                              VS Code isn't an IDE, it's a text editor. It doesn't have any concept of a "project". If you want a full IDE for Linux, get Eclipse[^].

                              realJSOPR Online
                              realJSOPR Online
                              realJSOP
                              wrote on last edited by
                              #14

                              Well then, that makes VSCode one of the most useless pieces of software to be spewed out of redmond...

                              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                              -----
                              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                              -----
                              When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                              S 1 Reply Last reply
                              0
                              • M Marc Clifton

                                John Simmons / outlaw programmer wrote:

                                VS Code

                                If you haven't looked at [Rider: Cross-platform .NET IDE by JetBrains](https://www.jetbrains.com/rider/) I would definitely take a gander. An excellent product, IMO.

                                Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                                A Offline
                                A Offline
                                Andre Pereira
                                wrote on last edited by
                                #15

                                As a daily user of a JetBrains IDE (Android Studio), I would definitely recommend staying away from anything from JetBrains. The amount of utter jaw dropping moments in disregard for the UI I continue to have each weak is amazingly bad. Like the probabilistic buttons, where there's a 5% chance the click won't register. Or the massive GC breaks for 3-5 seconds while you're trying to write something or just scroll a file. Or the ocasional hash mish-match in temp build files that most IDEs solve with a Clean Project, but not JetBrains' "I'll only clean stuff that never actually causes problems in projects". I could go on, but I'd rather just call you a shill, good sir.

                                1 Reply Last reply
                                0
                                • realJSOPR realJSOP

                                  Well then, that makes VSCode one of the most useless pieces of software to be spewed out of redmond...

                                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                  -----
                                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                  -----
                                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                  S Offline
                                  S Offline
                                  Sean Cullinan
                                  wrote on last edited by
                                  #16

                                  No! Don't give up. It does run like an IDE in many ways. It has intellisense, error checking, a debugger with watch windows etc. I now work in VS Code much how I did in full .NET. Here's what I would do just to get started and learn: 1) Download or create a project in regular Visual Studio using the template you want to use. 2) Copy that file to your Linux machine 3) Open VS Code and then open the directory where that project is VS Code will analyze the type of project you are opening, suggest the plugins you need etc. You can now learn the VS Code terminal and other small things that are key to working in the non VS environment. They are simple and powerful once learned. Down the road when you want to create new projects you can use some scaffolding depending on the project you want to create. For Angular I use NPM. For webapi you can use this: Create a Web API with ASP.NET Core and Visual Studio Code | Microsoft Docs[^] The biggest differences are that it doesn't rely on proj/sln files and that you do these things via command prompt instead of graphical interfaces. Once you get a few commands down it is fantastic and powerful. I started with VS Code for my Angular development but now am using it for my Web API dev too. After spending 15 years in the .NET IDE and VB6 before that it is nice to be able to do everything I need in a more lightweight and cross-platform environment!

                                  realJSOPR 1 Reply Last reply
                                  0
                                  • S Sean Cullinan

                                    No! Don't give up. It does run like an IDE in many ways. It has intellisense, error checking, a debugger with watch windows etc. I now work in VS Code much how I did in full .NET. Here's what I would do just to get started and learn: 1) Download or create a project in regular Visual Studio using the template you want to use. 2) Copy that file to your Linux machine 3) Open VS Code and then open the directory where that project is VS Code will analyze the type of project you are opening, suggest the plugins you need etc. You can now learn the VS Code terminal and other small things that are key to working in the non VS environment. They are simple and powerful once learned. Down the road when you want to create new projects you can use some scaffolding depending on the project you want to create. For Angular I use NPM. For webapi you can use this: Create a Web API with ASP.NET Core and Visual Studio Code | Microsoft Docs[^] The biggest differences are that it doesn't rely on proj/sln files and that you do these things via command prompt instead of graphical interfaces. Once you get a few commands down it is fantastic and powerful. I started with VS Code for my Angular development but now am using it for my Web API dev too. After spending 15 years in the .NET IDE and VB6 before that it is nice to be able to do everything I need in a more lightweight and cross-platform environment!

                                    realJSOPR Online
                                    realJSOPR Online
                                    realJSOP
                                    wrote on last edited by
                                    #17

                                    The whole point of this exercise is to get away from Windows completely. If I have to use Visual Studio to create the project, I may as well stay with Windows. And ya know, it's gonna take a crapload of effort to convince me that a commandline interface is better/easier than a GUI.

                                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                    -----
                                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                    -----
                                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                    B G 2 Replies Last reply
                                    0
                                    • realJSOPR realJSOP

                                      When you install VS Code on Linux, does it also install the .Net Core stuff (core and sdk)?

                                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                      -----
                                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                      -----
                                      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                      P Offline
                                      P Offline
                                      Peter Shaw
                                      wrote on last edited by
                                      #18

                                      NOPE, not at all... Code is just an editor, like sublime or Atom, nothing else. You can use code to work on anything from JS/Node through to bash shell scripts, so you need to decide what plugins you want, based on the work your intending to do. As for the run times, it's really easy. Just go to [.NET Downloads for Linux, macOS, and Windows](https://www.microsoft.com/net/download) Select your OS (Windows/Linux/Mac) Click on "Install .NET Core SDK" Select your distribution from the drop down, and then follow the instructions your given. Once you install the package source and everything else you need, from that point on you only ever need to type "dotnet new " typing "dotnet new" on it's own and pressing return will list the project types you can use. You can also Nuget install new project types, to get things like pre-made templates for Angular, Aurelia, Webpack and much more. Once you have a new project, you can then just open that folder in code and start to work on it. Shawty

                                      1 Reply Last reply
                                      0
                                      • realJSOPR realJSOP

                                        The whole point of this exercise is to get away from Windows completely. If I have to use Visual Studio to create the project, I may as well stay with Windows. And ya know, it's gonna take a crapload of effort to convince me that a commandline interface is better/easier than a GUI.

                                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                        -----
                                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                        -----
                                        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                        B Offline
                                        B Offline
                                        bryanren
                                        wrote on last edited by
                                        #19

                                        (sarc)Then why does TV/movies makes sure that shell/cmd/terminal windows are visible whenever smart people are using computers?(/sarc)

                                        realJSOPR 1 Reply Last reply
                                        0
                                        • B bryanren

                                          (sarc)Then why does TV/movies makes sure that shell/cmd/terminal windows are visible whenever smart people are using computers?(/sarc)

                                          realJSOPR Online
                                          realJSOPR Online
                                          realJSOP
                                          wrote on last edited by
                                          #20

                                          You could also ask why radar scopes make a noise when the sweep detects an object. :) No radar scope I've ever seen does that (my rate was RadarMan in the Navy).

                                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                          -----
                                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                          -----
                                          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups