- 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.
- Redis使用手冊
- 同步:秩序如何從混沌中涌現
- Hands-On Data Structures and Algorithms with Rust
- 在你身邊為你設計Ⅲ:騰訊服務設計思維與實戰
- 復雜性思考:復雜性科學和計算模型(原書第2版)
- Modern Programming: Object Oriented Programming and Best Practices
- 企業大數據系統構建實戰:技術、架構、實施與應用
- Microsoft Power BI數據可視化與數據分析
- Python金融實戰
- ZeroMQ
- “互聯網+”時代立體化計算機組
- 云原生數據中臺:架構、方法論與實踐
- 科研統計思維與方法:SPSS實戰
- Expert Python Programming(Third Edition)
- 區塊鏈應用開發指南:業務場景剖析與實戰