Code Monkey home page Code Monkey logo

Comments (12)

calcitem avatar calcitem commented on May 18, 2024 3

楼主,微软日前推出了一个适用于 Visual Studio 的扩展程序 —— .NET Upgrade Assistant,让开发者可以在 Visual Studio 中直接升级 .NET Framework 或 .NET Core 桌面和 Web 应用程序至最新版本的 .NET。

微软在博客中表示,.NET 6(长期支持版本)或 .NET 7(标准支持版本)具有更好的性能,并为开发者提供了一系列的最新特性和功能。如果用户的应用程序是为 .NET Framework 或 .NET Core 构建的,现在是升级的好时机。

以往开发者想要升级应用程序,尤其是从 .NET Framework 升级,往往是一个非常复杂的过程,而且开发者需要为 Visual Studio 中的不同项目类型采用不同的升级方法。在安装了 .NET Upgrade Assistant 扩展后,开发者可以通过在 Solution Explorer 中右键点击项目并选择 "升级",从任何初始版本升级每种类型的 .NET 应用程序。

开发团队表示,.NET Upgrade Assistant 的目的是处理好机械、重复、繁琐的问题,但该扩展还是无法检测和修复所有这些更改。用户需要依据从什么框架和项目类型升级,进行一些额外的修改才能编译代码,并且需要进行彻底的测试以确保代码能够正常运行。

.NET Upgrade Assistant 的目标是支持每一种 .NET 项目类型,只不过目前该工具的支持还比较有限,支持 ASP.NET、Class libraries、Console、WPF 和 WinForms。正处于开发阶段的支持包括 Xamarin 到 .NET MAUI 迁移、UWP 到 WinUI 迁移、WCF 到 WCF Core 迁移。

这个扩展目前已经上架 Visual Studio Marketplace

from pdfpatcher.

l2999019 avatar l2999019 commented on May 18, 2024 2

为什么要支持Core呢?

5.0往后走 .NET已经没有FWK版本了吧
还是希望能支持.net Standard

from pdfpatcher.

wmjordan avatar wmjordan commented on May 18, 2024

为什么要支持Core呢?

from pdfpatcher.

iamsunxing avatar iamsunxing commented on May 18, 2024

如果兼容了.net core, 那我Linux上是不是指日可待了

from pdfpatcher.

wmjordan avatar wmjordan commented on May 18, 2024

如果兼容了.net core, 那我Linux上是不是指日可待了

除了原程序的代码要改造之外,还要重新编译所有的第三方库才行,不是那么容易的。

from pdfpatcher.

Akarinnnnn avatar Akarinnnnn commented on May 18, 2024

如果兼容了.net core, 那我Linux上是不是指日可待了

不可能,除非放弃winform,这工作量基本相当于重写

from pdfpatcher.

calcitem avatar calcitem commented on May 18, 2024

如果兼容了.net core, 那我Linux上是不是指日可待了

可以用wine执行。

from pdfpatcher.

JeffersonQin avatar JeffersonQin commented on May 18, 2024

Linux 和 OSX 还可以考虑 Avalonia 和 Uno

from pdfpatcher.

Akarinnnnn avatar Akarinnnnn commented on May 18, 2024

如果兼容了.net core, 那我Linux上是不是指日可待了

可以用wine执行。

这不失为一个兼容方案

from pdfpatcher.

zhangchunxiao666 avatar zhangchunxiao666 commented on May 18, 2024

所以这个还没有兼容core是吧

from pdfpatcher.

qwerty258 avatar qwerty258 commented on May 18, 2024

初衷:在文档结构探查器下增加删除object功能。
代码pull下来,尝试在VS2022下编译,太多问题了,各位想简单了。
转到 x64 编译不成功。
jbig2就一大堆问题。
@Akarinnnnn 提到的 Windows Forms 的问题,转到 .NET MAUI 也是工作量。
或者转到QT?React Native ?这种框架发布的 binary 都 self contain 没有依赖。

from pdfpatcher.

calcitem avatar calcitem commented on May 18, 2024

初衷:在文档结构探查器下增加删除object功能。 代码pull下来,尝试在VS2022下编译,太多问题了,各位想简单了。 转到 x64 编译不成功。 jbig2就一大堆问题。 @Akarinnnnn 提到的 Windows Forms 的问题,转到 .NET MAUI 也是工作量。 或者转到QT?React Native ?这种框架发布的 binary 都 self contain 没有依赖。

是不是有些网友做的 patch 没打?我的Fork VS编译没问题。
https://github.com/calcitem/PDFPatcher

from pdfpatcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.