解决VS2019/VsCode 错误提示 No SDKs were found.

装了 .net core 5.0的SDK,在VS2019建了个项目,打开发现解决方案中是空的。换VScode也是提示: No SDKs were found.

CMD下 “dotnet –info”,.NET SDKs 下没有条目,只有.NET runtimes。

发现问题在于环境变量的path设置:

原先的是:”C:\Program Files (x86)\dotnet” ,但目录下没有SDK文件夹

应该添加路径:“C:\Program Files\dotnet” ,此目录下有SDK

添加过问题依然。

原来应用程序会去环境变量path条目的目录中,按顺序,查找“dotnet.exe”,在”C:\Program Files (x86)\dotnet”找到一个,就停止寻找下面的路径条目,

所以“C:\Program Files\dotnet”,要放在 “C:\Program Files (x86)\dotnet”之前。

在环境变量列表,选择“C:\Program Files\dotnet”,上移此条目至 “C:\Program Files (x86)\dotnet”之前,就可以找到SDK了。

设置后,在CMD下 “dotnet –info”,已经看到 .NET SDKs 条目了。

但之前创建的项目,直接打开解决方案还是不能加载,要去打开.csproj文件才能加载。或者重新新建项目。

Windows Live Writer @ 2003 sERVER

从XP上拷贝了份msi安装文件.

安装在2003上,现测试一篇.

Technical Preview: Now Available for Download

You can now install the latest technical preview of Windows Live Writer.

clip_image001

What you’ll find in this release:

SDK Updates

This release is largely about updates to the Writer SDK, which now includes hooks for pre- and post-publish events. These updates are still experimental and these APIs are not stable–we may make changes based on your feedback that break plug-ins that use these new methods. However, we’re really excited about the new set of scenarios have been unlocked and look forward to hearing feedback from all of you Writer plug-in developers out there.

For more details about the SDK, please see the blog post on Windows Live Dev.

New Features

You’ll also get an early look at some improvements and new features we’ve been working on:

Video and Image Publishing Enhancements
  • Upload videos to Soapbox
  • Image cropping and tilting
  • Additional border styles
  • Support for LightBox and other image previewing effects (like Slimbox, Smoothbox, and others)
  • Support for centering images
Editing Enhancements
  • Auto Linking
  • Smart quotes/typographic characters
  • Word count
UI Improvements
  • Revised main toolbar
  • Tabs for view switching
  • Improved category control with search/filtering

Send Feedback

We look forward to hearing your feedback about this release. The following resources are available to you for providing feedback to the Writer team:

We hope you enjoy the Technical Preview!

The Windows Live Writer Team