- C# 7 and .NET Core 2.0 High Performance
- Ovais Mehboob Ahmed Khan
- 135字
- 2021-08-27 18:47:06
2. Upgrade TargetFramework
This is the most important step, and this is where the different versions need to be upgraded in the .NET Core project file. Since we know that, with the .csproj type, we don't have project.json, to modify the framework and other dependencies, we can edit the existing project using any Visual Studio editor and modify the XML.
The XML Node that needs to be changed is the TargetFramework. For .NET Core 2.0, we have to change the TargetFramework moniker to netcoreapp2.0, which is shown as follows:
<TargetFramework>netcoreapp2.0</TargetFramework>
Next, you can start building the project which will upgrade the .NET Core dependencies to 2.0. However, there is a chance of a few of them still referencing the older version, and upgrading those dependencies needs to be done explicitly using NuGet package manager.
- 云計算環境下的信息資源集成與服務
- 分布式數據庫系統:大數據時代新型數據庫技術(第3版)
- Python廣告數據挖掘與分析實戰
- 云計算服務保障體系
- 數據庫應用基礎教程(Visual FoxPro 9.0)
- INSTANT Cytoscape Complex Network Analysis How-to
- 智能數據時代:企業大數據戰略與實戰
- 一個64位操作系統的設計與實現
- 數據庫技術實用教程
- Hands-On Mathematics for Deep Learning
- Spark分布式處理實戰
- 貫通SQL Server 2008數據庫系統開發
- SQL Server 2012實施與管理實戰指南
- 菜鳥學SPSS數據分析
- Gideros Mobile Game Development