Nuget package for .NET6 C1PrintDocument?

Posted by: wknauf on 13 September 2022, 6:54 am EST

  • Posted 13 September 2022, 6:54 am EST

    C1PrintDocument for .NET6 is contained in the package “C1.Win.Printing”.

    But this package contains also the UI.

    We use “C1PrintDocument” in web applications and background services. Here, all the UI stuff is not necessary, so we would need a package for “C1.PrintDocument.6.dll” and dependencies.

    Does this package exist? If not: could you provide it?

    Best regards

    Wolfgang

  • Posted 14 September 2022, 3:37 am EST

    Hi Wolfgang,

    We have shared your requirement with the development team to see if they can provide something useful. We will update you know as soon as possible.

    [Internal Tracking ID: C1WIN-28149]

    Kind Regards,

    Kartik

  • Posted 16 September 2022, 11:57 am EST

    This also forces me to install a full .NET6 runtime on the webserver, as this package causes the requirement “Microsoft.WindowsDesktop.App” in “myapp.runtimeconfig.json”.

    Best regards

    Wolfgang

  • Posted 19 September 2022, 2:42 am EST

    Hi Wolfgang,

    We have shared your observation with the development team and will let you know the updates as soon as possible.

    Best Regards,

    Kartik

  • Posted 3 November 2023, 7:58 am EST

    Any updates on this?

    But as I learned more about .NET6 since writing this post, I think that for us a separate package without “Microsoft.WindowsDesktop.App” requirement would not really help, because we already include this framework in our low level utility dll (due to code usage of WinForms enums) and thus it would not help if “C1.Win.Printing” was split.

    From my point of view, you could close this issue.

    Best regards

    Wolfgang

  • Posted 6 November 2023, 6:47 am EST

    Hi Wolfgang,

    Thank you for sharing your views. We have forwarded your views and observations to the development team for further consideration. We will let you know the updates soon.

    Best Regards,

    Kartik

  • Posted 10 December 2024, 6:57 am EST - Updated 10 December 2024, 7:02 am EST

    To come back with this issue: though the “Microsoft.WindowsDesktop.App” runtime will probably be needed anyway due to code in our app, I think there is something to improve:

    I just noticed that the “C1.Win.Printing” package has several GUI dependencies like “C1.Win.Ribbon”, which clearly will not work in a web application or a windows service and are unnecessary in this environment:



    But a “dotnet publish” will pick those files anyway and make the deployed app bigger.

    So, are there plans to split “C1.Win.Printing”?

    Best regards

    Wolfgang

  • Posted 11 December 2024, 12:21 am EST

    Hello Wolfgang,

    We have forwarded your concerns to the development team and will update you once we have the information.

    Regards,

    Uttkarsh.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels