Comments (13)
Which version of SixLabors you have added? Please don't use anything higher than 2.1.6, as it wasn't tested and it's differently licensed (you need to pay for it).
from officeimo.
Which version of SixLabors you have added? Please don't use anything higher than 2.1.6, as it wasn't tested and it's differently licensed (you need to pay for it).
Thank you for your reply. The version of SixLabors is 2.1.3. It is automatically installed when installing the OfficeIMO package. Can you provide me with guidance on the problems I have encountered? Thank you.
from officeimo.
Which version of SixLabors you have added? Please don't use anything higher than 2.1.6, as it wasn't tested and it's differently licensed (you need to pay for it).
I carefully checked my project and understood what you meant. Installing OfficeIMO In Word's project, A, SixLabors ImageSharp is 2.1.3, but in Project B that references Project A, that is where the Word feature is actually used, the SixLabors ImageSharp is 3.1.2. I only used the function of inserting images into Word in one place in the project. I don't want to use this feature now. Is there a version that does not include SixLabors ImageSharp?
from officeimo.
You have 2 choices:
- Downgrade SixLabors in your project to 2.1.3 or 2.1.6 (it's free)
- Remove SixLabors completly from your project and just let OfficeIMO use what it uses. Don't upgrade.
As final alternative:
- Stop using OfficeIMO - it uses 2.1.3 because it's free. Technically 3.xx of ImageSharp could also be used as a dependency and be free, but I don't want to risk it with futre license changes. Now the reason why we use ImageSharp is that we read some data from images to help inserting them properly. Could we do it differently - yes. Could we do it with another library - most likely. But so far the imagesharp is free and and I don't have a power to build something new.
from officeimo.
You have 2 choices:
- Downgrade SixLabors in your project to 2.1.3 or 2.1.6 (it's free)
- Remove SixLabors completly from your project and just let OfficeIMO use what it uses. Don't upgrade.
As final alternative:
- Stop using OfficeIMO - it uses 2.1.3 because it's free. Technically 3.xx of ImageSharp could also be used as a dependency and be free, but I don't want to risk it with futre license changes. Now the reason why we use ImageSharp is that we read some data from images to help inserting them properly. Could we do it differently - yes. Could we do it with another library - most likely. But so far the imagesharp is free and and I don't have a power to build something new.
Thank you very much for your prompt reply. Because my project is. net8.0, in the application of OfficeIMO, SixLabors ImageSharp will automatically become version 3.1.2 due to other dependencies. So, the first suggestion doesn't seem to work for me. For the second suggestion, I downloaded OfficeIMO and would like to remove SixLabors ImageSharp, but it caused a chain reaction that could not be achieved in reality. If I disable OfficeIMO, my complex Word layout would also be very painful to rewrite. If you could tell me: "Completely remove SixLabors from the project and let OfficeIMO use the content it uses. Do not upgrade",I will be very grateful. Anyway, thank you again!
from officeimo.
So if you try to downgrade 3.1.2 to 2.1.6 version does it not let you with net 8?
- 3.1.2 supports net 6.0 and up only
- 2.1.6 supports net standard 2.1 so should be compatible with net 8 as far as I know
It may seem you have another project that requires 3.1.2, other than OfficeIMO. Can you provide a list of nugets you use?
In the end I can try to add support 3.1.2, and see what changes there are. Not sure if it's possible.
from officeimo.
因此,如果您尝试将 3.1.2 降级到 2.1.6 版本,它不会让您使用 net 8 吗?
- 3.1.2 仅支持 NET 6.0 及更高版本
- 2.1.6 支持网络标准 2.1,所以据我所知应该与网络 8 兼容
除了 OfficeIMO 之外,您似乎还有另一个需要 3.1.2 的项目。你能提供你使用的 nuget 列表吗?
最后,我可以尝试添加对 3.1.2 的支持,看看有什么变化。不确定这是否可能。
Hello! As you said, 3.1.2 is a fee, and I have also checked and found that the cost is actually quite high. You don't need to spend time supporting 3.1.2. The error is as follows: I installed your library directly in the net8 project, and SixLabors installed version 3.1.2 directly. When it is explicitly stated in the project file that version 3.1.2 is version 2.1.3, it will prompt that the target of the low code framework I am using is dotnet8.0, and version reduction is not allowed. I can only follow your suggestion to deactivate OfficeIMO now. Testing to see if using Microsoft's DocumentFormat OpenXml implementation.You are really great. Thank you. If you have the opportunity to come to China, I will treat you to Chinese cuisine :)
from officeimo.
I just created net 8 project
So it clearly works. You can add nuget OfficeIMO to net 8 project without forcing 3.1.2.
from officeimo.
Thank you for your reply. Unfortunately, the low code framework I am using uses SixLabors and is a higher version. It turns out that the reason is that lower versions cannot be used.
from officeimo.
I have contacted the author of walkingtec and he said that the version can be downgraded. In this way, my code was saved. Thank you! My phone number and WeChat number are 13821086888. I hope to stay in touch.
from officeimo.
Ye, so you're using WalkingTec.Mvvm.mvc which bumps imagesharp.
According to licensing of 3.1.2 if you're not using it directly but on dependency you can continue using it for free. One way to fix it is to check why OfficeIMO breaks on newer ImageSharp and just add support for both versions. But it's not my priority at the moment.
from officeimo.
Another issue you will have is with DocumentFormat which you use 3.0.1 - we use older version for now, and we don't yet support new one.
from officeimo.
Okay, I understand. You are so kind and patient in answering my question. Thank you sincerely!
from officeimo.
Related Issues (20)
- Stable and unlikely to change vs unstable and subject to change vs depreciated api HOT 13
- How to add paragraph without pagebreak? HOT 4
- ContentControls.Add() is trimming space from user selection HOT 1
- How to display the specific gravity value in a pie chart HOT 2
- How to add image watermark? HOT 3
- how can I add a table with two rows and each row had diff columns and width? HOT 1
- Issue with Text Replacement in Multi-Line Text Boxes HOT 1
- ConditionalFormattingFirstColumn sample HOT 2
- [Question] Does OfficeIMO provide support for HTML fragments? HOT 4
- [Question] Is Save As Web Page support? HOT 2
- Repeat as header row at the top on each page HOT 6
- How do I set the first column style of a table not to be bold HOT 2
- WordParagraph.Style can throw an exception HOT 3
- MergeVertically not working on Rows[0].Cells[0] HOT 1
- How to access all of document contents in correct order? HOT 4
- WordParagraph.IsFirstRun and IsLastRun can throw a null reference exception HOT 1
- Superscript / subscript support? HOT 2
- Figuring out NestedTables HOT 6
- Table With no rows HOT 1
- Repeat Table Headers on Every Pages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from officeimo.