web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

System.Drawing.Common is not supported on this platform

(1) ShareShare
ReportReport
Posted on by 30
Hi experts, 

with the newer versions of the dedicated hardware station of the Store Commerce App I get the error message System.Drawing.Common is not supported on this platform. 
Can anyone give me a hint? Is it related to dotNet Core?

Thanks! 
I have the same question (0)
  • Suggested answer
    Judy Profile Picture
    Microsoft Employee on at
    Hi, based on the MS document, starting in .NET 6, the platform analyzer emits compile-time warnings when referencing code is compiled for non-Windows operating systems.
    And System.Drawing.Common is not supported in Asp.NET web application.
  • chbtn Profile Picture
    30 on at
    Thank you for your answer. 
    Do you know how I can migrate the WindowsPrinterSample from the RetailSDK so that printing works with the new architecture? I need to add some layout rules to the standard receipt and use a custom font.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 266 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 213 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 140 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans