NetOffice icon indicating copy to clipboard operation
NetOffice copied to clipboard

Net Core 6 preview

Open lorinkundert opened this issue 4 years ago • 6 comments

I have not found any real issues with this working under a pure Net Core 6 project except for one, if compiled as a single file app the error is : System.ApplicationException: Process_MSWord_Documents ---> System.Exception: MSDOC ---> System.AggregateException: One or more errors occurred. (CodeBase is not supported on assemblies loaded from a single-file bundle.) ---> System.NotSupportedException: CodeBase is not supported on assemblies loaded from a single-file bundle.

If I package it normally with all dependencies outside of the exe, it works fine, I would suspect that once you have Net Core 3.1 available that might go away.

lorinkundert avatar May 25 '21 00:05 lorinkundert

I haven't used NetOffice but will likely do so in the next few months. Ideally this would eventually lead to using it with .NET 6.0.

@lorinkundert Do you compile the NetOffice source code from scratch in a forked repo to be able to work under a "pure Net Core 6" project? Or is the reference to "Net core 6" a NetOffice version reference and nothing to do with Microsoft .NET?

ApolonTorq avatar Dec 08 '21 00:12 ApolonTorq

Hi, we will have the package with support for .NET Core 3.1 LTS and .NET 6.0 LTS ready soon. The package will support only Windows (eg. net6.0-windows TFM) and it won't be a cross platform library.

jozefizso avatar Dec 08 '21 13:12 jozefizso

Hi, we will have the package with support for .NET Core 3.1 LTS and .NET 6.0 LTS ready soon.

Brilliant, thanks.

The package will support only Windows (eg. net6.0-windows TFM) and it won't be a cross platform library.

Of course! 😄

ApolonTorq avatar Dec 09 '21 00:12 ApolonTorq

Hello! Do you have any success with porting to .NET 6 or NET Core 3.1?

Kiriller12 avatar Feb 03 '22 13:02 Kiriller12

Hi @Kiriller12, the port for .NET 6 is being done on branch https://github.com/NetOfficeFw/NetOffice/tree/dev/net6

jozefizso avatar Feb 06 '22 10:02 jozefizso

First set of preview packages are published here: https://www.myget.org/gallery/netoffice

They are compiled for .NET Framework 4.6.1, .NET Core 3.1 and .NET 6.

jozefizso avatar Feb 06 '22 20:02 jozefizso

Closing in favor of #343

jozefizso avatar Sep 04 '22 09:09 jozefizso