Hi. Is the Sage 50 US .NET SDK/API compatible with .NET Core 2.2? If not, what's the ETA now that Microsoft has announced that .NET Core will replace .NET Framework?
If yes, it is compatible, then I'm having a problem I really need some help with, please. My .NET Core console app / web host is trying to connect to Sage 50 US (desktop, not cloud) locally, and I get the following error:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.File name: 'System.Windows.Forms, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089' at Sage.Peachtree.Domain.GlobalContextExternal.GetDBNServer() at Sage.Peachtree.Domain.GlobalContextExternal.PreOpen() at Sage.SBD.ACS.Framework.BusinessLogic.ContextBase.OpenTemplateMethod(Boolean sageDriveHoldLock) at Sage.Peachtree.API.GlobalContext.Open() at Sage.Peachtree.API.PeachtreeSession.Begin(String applicationIdentifier)
The rest of the call stack contains my code. My app doesn't use WinForms, nor is any kind of WinForms compatible with .NET Core 2.2, so it wouldn't be possible to load System.Windows.Forms v4; that makes me think this SDK isn't compatible with .NET Core.
I'm using the 2019.0 version of the Sage 50 SDK, and I'm on Windows Server 2012 R2.
Thanks in advance.
Hi - you'll be able to ask questions on the Sage 50 US SDK here: https://www.sagecity.com/support_communities/sage50_accounting_us/f/sage-50-u-s-software-development-kit-sdk