{"id":11512,"date":"2025-07-15T18:56:59","date_gmt":"2025-07-15T18:56:59","guid":{"rendered":"https:\/\/putridparrot.com\/blog\/?p=11512"},"modified":"2025-07-15T18:56:59","modified_gmt":"2025-07-15T18:56:59","slug":"dotnet-says-the-runtime-and-sdk-exists-on-linux-but-rider-and-visual-code-thinks-they-dont","status":"publish","type":"post","link":"https:\/\/putridparrot.com\/blog\/dotnet-says-the-runtime-and-sdk-exists-on-linux-but-rider-and-visual-code-thinks-they-dont\/","title":{"rendered":"dotnet says the runtime and sdk exists on Linux but Rider and Visual Code thinks they don&#8217;t"},"content":{"rendered":"<p>As part of my Macbook Air using Linux Mint, I&#8217;ve been getting my development environments set up.<\/p>\n<p>I got .NET 8 and .NET 9 installed so that running both of the following listed them<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\ndotnet --list-sdks\r\ndotnet --line-runtimes\r\n<\/pre>\n<p>But Visual Studio Code and Rider complain that .NET 8 and .NET 9 need to be installed. <\/p>\n<p>It was this <a href=\"https:\/\/stackoverflow.com\/questions\/77655639\/cannot-run-project-with-rider-2023-and-dotnet-8-0-on-ubuntu-22-04-3\" target=\"_blank\">Stackoverflow post<\/a> that had the answer.<\/p>\n<p>I deleted  the <em>\/etc\/dotnet<\/em> folder as per the previous link suggests and things started working.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As part of my Macbook Air using Linux Mint, I&#8217;ve been getting my development environments set up. I got .NET 8 and .NET 9 installed so that running both of the following listed them dotnet &#8211;list-sdks dotnet &#8211;line-runtimes But Visual Studio Code and Rider complain that .NET 8 and .NET 9 need to be installed. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[744,58],"tags":[],"class_list":["post-11512","post","type-post","status-publish","format-standard","hentry","category-dotnet","category-linux"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/11512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/comments?post=11512"}],"version-history":[{"count":5,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/11512\/revisions"}],"predecessor-version":[{"id":11517,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/posts\/11512\/revisions\/11517"}],"wp:attachment":[{"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/media?parent=11512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/categories?post=11512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/putridparrot.com\/blog\/wp-json\/wp\/v2\/tags?post=11512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}