{"id":9260,"date":"2020-12-02T10:51:38","date_gmt":"2020-12-02T02:51:38","guid":{"rendered":"https:\/\/bohu.net\/blog\/?p=9260"},"modified":"2020-12-02T10:51:38","modified_gmt":"2020-12-02T02:51:38","slug":"%e8%a7%a3%e5%86%b3vs2019-vscode-%e9%94%99%e8%af%af%e6%8f%90%e7%a4%ba-no-sdks-were-found","status":"publish","type":"post","link":"https:\/\/www.bohu.net\/blog\/9260\/","title":{"rendered":"\u89e3\u51b3VS2019\/VsCode \u9519\u8bef\u63d0\u793a No SDKs were found."},"content":{"rendered":"\n<p>\u88c5\u4e86 .net core 5.0\u7684SDK\uff0c\u5728VS2019\u5efa\u4e86\u4e2a\u9879\u76ee\uff0c\u6253\u5f00\u53d1\u73b0\u89e3\u51b3\u65b9\u6848\u4e2d\u662f\u7a7a\u7684\u3002\u6362VScode\u4e5f\u662f\u63d0\u793a\uff1a No SDKs were found.  <\/p>\n\n\n\n<p>CMD\u4e0b \u201cdotnet &#8211;info\u201d\uff0c.NET  SDKs \u4e0b\u6ca1\u6709\u6761\u76ee\uff0c\u53ea\u6709.NET runtimes\u3002<\/p>\n\n\n\n<p>\u53d1\u73b0\u95ee\u9898\u5728\u4e8e\u73af\u5883\u53d8\u91cf\u7684path\u8bbe\u7f6e\uff1a<\/p>\n\n\n\n<p>\u539f\u5148\u7684\u662f\uff1a&#8221;C:\\Program Files (x86)\\dotnet&#8221; \uff0c\u4f46\u76ee\u5f55\u4e0b\u6ca1\u6709SDK\u6587\u4ef6\u5939<\/p>\n\n\n\n<p>\u5e94\u8be5\u6dfb\u52a0\u8def\u5f84\uff1a<em>&#8220;C:\\Program Files\\dotnet&#8221;<\/em> \uff0c\u6b64\u76ee\u5f55\u4e0b\u6709SDK<\/p>\n\n\n\n<p>\u6dfb\u52a0\u8fc7\u95ee\u9898\u4f9d\u7136\u3002<\/p>\n\n\n\n<p>\u539f\u6765\u5e94\u7528\u7a0b\u5e8f\u4f1a\u53bb\u73af\u5883\u53d8\u91cfpath\u6761\u76ee\u7684\u76ee\u5f55\u4e2d\uff0c\u6309\u987a\u5e8f\uff0c\u67e5\u627e\u201cdotnet.exe\u201d\uff0c\u5728&#8221;C:\\Program Files (x86)\\dotnet&#8221;\u627e\u5230\u4e00\u4e2a\uff0c\u5c31\u505c\u6b62\u5bfb\u627e\u4e0b\u9762\u7684\u8def\u5f84\u6761\u76ee\uff0c<\/p>\n\n\n\n<p>\u6240\u4ee5<em>&#8220;C:\\Program Files\\dotnet&#8221;<\/em>\uff0c\u8981\u653e\u5728 &#8220;C:\\Program Files (x86)\\dotnet&#8221;\u4e4b\u524d\u3002<\/p>\n\n\n\n<p>\u5728\u73af\u5883\u53d8\u91cf\u5217\u8868\uff0c\u9009\u62e9<em>&#8220;C:\\Program Files\\dotnet&#8221;<\/em>\uff0c\u4e0a\u79fb\u6b64\u6761\u76ee\u81f3 &#8220;C:\\Program Files (x86)\\dotnet&#8221;\u4e4b\u524d\uff0c\u5c31\u53ef\u4ee5\u627e\u5230SDK\u4e86\u3002<\/p>\n\n\n\n<p>\u8bbe\u7f6e\u540e\uff0c\u5728CMD\u4e0b \u201cdotnet &#8211;info\u201d\uff0c\u5df2\u7ecf\u770b\u5230 .NET SDKs  \u6761\u76ee\u4e86\u3002<\/p>\n\n\n\n<p>\u4f46\u4e4b\u524d\u521b\u5efa\u7684\u9879\u76ee\uff0c\u76f4\u63a5\u6253\u5f00\u89e3\u51b3\u65b9\u6848\u8fd8\u662f\u4e0d\u80fd\u52a0\u8f7d\uff0c\u8981\u53bb\u6253\u5f00.csproj\u6587\u4ef6\u624d\u80fd\u52a0\u8f7d\u3002\u6216\u8005\u91cd\u65b0\u65b0\u5efa\u9879\u76ee\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u88c5\u4e86 .net core 5.0\u7684SDK\uff0c\u5728VS2019\u5efa\u4e86\u4e2a\u9879\u76ee\uff0c\u6253\u5f00\u53d1\u73b0\u89e3\u51b3\u65b9\u6848\u4e2d\u662f\u7a7a\u7684\u3002\u6362VScode\u4e5f &hellip; <a href=\"https:\/\/www.bohu.net\/blog\/9260\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u89e3\u51b3VS2019\/VsCode \u9519\u8bef\u63d0\u793a No SDKs were found.\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,4],"tags":[663,665,334,661,662,664,666],"class_list":["post-9260","post","type-post","status-publish","format-standard","hentry","category-net","category-c-net","tag-no-sdks-were-found","tag-path","tag-sdk","tag-vs2019","tag-vscode","tag-664","tag-666"],"_links":{"self":[{"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/posts\/9260","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/comments?post=9260"}],"version-history":[{"count":0,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/posts\/9260\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/media?parent=9260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/categories?post=9260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/tags?post=9260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}