.NET Core必备条件

在本章中,我们将讨论学习需要部署和运行的各种依赖关系。这些包括使用Visual Studio开发的Windows机器上的.NET Core应用程序。

支持的Windows版本

以下版本的Windows支持.NET Core –

  • Windows 7 SP1
  • Windows 8.1
  • Windows 10
  • Windows Server 2008 R2 SP1 (Full Server or Server Core)
  • Windows Server 2012 SP1 (Full Server or Server Core)
  • Windows Server 2012 R2 SP1 (Full Server or Server Core)
  • Windows Server 2016 (Full Server, Server Core or Nano Server)

依赖

  • 如果在早于Windows 10和Windows Server 2016的Windows版本上运行.NET Core应用程序,则还需要Visual C++可再发行组件。

  • 如果使用.NET Core安装程序,则会自动安装此依赖项。

  • 如果要通过安装程序脚本安装.NET Core或部署自包含的.NET Core应用程序,则需要手动安装适用于Visual Studio 2015的Visual C++ Redistributable。

  • 对于Windows 7和Windows Server 2008计算机,需要确保您的Windows安装是最新的,并且还包括通过Windows Update安装的修补程序KB2533623。

注意:本教程使用的是 Windows 10系统,Visual Studio 2017 社区版本

使用Visual Studio的先决条件

要使用.NET Core SDK开发.NET Core应用程序,可以使用选择任何编辑器。

但是,如果要使用Visual Studio在Windows上开发.NET Core应用程序,则可以使用以下两个版本 –

  • Visual Studio 2015
  • Visual Studio 2017 RC 或以上版本

使用Visual Studio 2015 创建的项目默认是基于project.json的,而使用Visual Studio 2017 RC创建的项目将始终基于MSBuild

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/267006.html

(0)
上一篇 2022年6月12日
下一篇 2022年6月12日

相关推荐

发表回复

登录后才能评论