{"id":37147,"date":"2019-06-07T06:05:24","date_gmt":"2019-06-07T13:05:24","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/premier-developer\/?p=37147"},"modified":"2019-06-05T06:50:23","modified_gmt":"2019-06-05T13:50:23","slug":"installing-dotnet-core-3-0-preview-to-work-with-visual-studio-code","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/premier-developer\/installing-dotnet-core-3-0-preview-to-work-with-visual-studio-code\/","title":{"rendered":"Installing .NET Core 3.0 preview to work with Visual Studio Code"},"content":{"rendered":"<p>Premier Dev Consultant <a href=\"https:\/\/nam06.safelinks.protection.outlook.com\/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fmark-taylor-5043351%2F&amp;data=02%7C01%7Creedr%40microsoft.com%7C1eaeb4b967ae48fea51508d6e9814efd%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636953138921890905&amp;sdata=OOZnKsTv9nwJxqix12zoWTuLezhJu40HcAWGXXHJzZk%3D&amp;reserved=0\" target=\"_blank\" rel=\"noopener\">Mark Taylor<\/a> shares some tips on .NET Core 3.0 preview with Visual Studio Code.<\/p>\n<hr \/>\n<p>I need to develop cross platform solutions and am often working in Linux, so I have taken to using Visual Studio Code as my IDE instead of Visual Studio. I recently needed to preview some of the features in dotnet core 3 and found it somewhat confusing getting this configured to work with Visual Studio Code on Windows. Here are the steps I took to get it working.<\/p>\n<ol>\n<li>Install the .NET Core preview from here: https:\/\/dotnet.microsoft.com\/download\/dotnet-core\/3.0 (I am running preivew 4)After install, you will be able to create, build, and run projects from the command line.<\/li>\n<li>Update VS Code if needed (I am running 1.33.1)<\/li>\n<li>You have to have the C# extension for VS Code (mine is 1.19.0), install it if you don\u2019t. If you open a dotnet core 3 project at this point in VSCode, you will see red squiggles over object types, and AssemblyInfo.cs showing errors that it was not able to find \u2018system\u2019.<\/li>\n<li>Install the appropriate VS 2019 preview from here: https:\/\/visualstudio.microsoft.com\/vs\/preview\/<\/li>\n<\/ol>\n<p>This will solve the weird \u2018not found\u2019 errors. If you are like me and you don\u2019t want to install over 10 Gb worth of stuff, you can choose to install only the \u201c.Net Core cross-platform development\u201d workload (you have to scroll down in the workloads tab of the installer). This requires a little over 2Gb.<\/p>\n<p>Read more on <a href=\"https:\/\/marksblog.azurewebsites.net\/2019\/04\/20\/vs-code-dotnet-core\/\">Mark&#8217;s blog<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I need to develop cross platform solutions and am often working in Linux, so I have taken to using Visual Studio Code as my IDE instead of Visual Studio.<\/p>\n","protected":false},"author":582,"featured_media":37840,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[80,113],"tags":[83,3,377],"class_list":["post-37147","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-net","category-visual-studio","tag-net-core","tag-team","tag-visual-studio-code"],"acf":[],"blog_post_summary":"<p>I need to develop cross platform solutions and am often working in Linux, so I have taken to using Visual Studio Code as my IDE instead of Visual Studio.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/37147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/users\/582"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/comments?post=37147"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/37147\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media\/37840"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media?parent=37147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/categories?post=37147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/tags?post=37147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}