Open cleahcim opened 4 years ago
There are no plans to develop .net core version at this time. The beta version of java exists. Can't you use this?
Java would be better than C++ ( not a fan of developing in C++ ). But you should be able to just retarget your framework to .netcore without any modifications to your code base, so in fact you already support it in some sense. Maybe the underlying libraries of the dll's don't support core, but I would be happy to help fix that support for you. See below that your api's are portable to core ( api analyzer will need to be run on your side of things ):
Can you try this file?
Still working through it. I'm getting the following right now:
Program.cs(22,13): error CS0246: The type or namespace name 'CNcodeSDK' could not be found (are you missing a using directive or an assembly reference?)
Program.cs(22,33): error CS0246: The type or namespace name 'CNcodeSDK' could not be found (are you missing a using directive or an assembly reference?)
Program.cs(42,18): error CS0246: The type or namespace name 'TicketInfo' could not be found (are you missing a using directive or an assembly reference?)
Program.cs(60,45): error CS0103: The name 'NCODE_TYPE' does not exist in the current context
Program.cs(62,50): error CS0103: The name 'NCODE_TYPE' does not exist in the current context
Program.cs(64,50): error CS0103: The name 'NCODE_TYPE' does not exist in the current context
Program.cs(66,50): error CS0103: The name 'NCODE_TYPE' does not exist in the current context
Program.cs(87,13): error CS0246: The type or namespace name 'TicketInfo' could not be found (are you missing a using directive or an assembly reference?)
Program.cs(115,18): error CS0246: The type or namespace name 'NcodePage' could not be found (are you missing a using directive or an assembly reference?)
Program.cs(115,49): error CS0246: The type or namespace name 'NcodePage' could not be found (are you missing a using directive or an assembly reference?)
getting the following error right now:
Unhandled exception. System.UnauthorizedAccessException: Access to the path '/home/michael\\NeoLAB\\NcodeSDKCache' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at System.IO.FileSystem.CreateDirectory(String fullPath)
at System.IO.DirectoryInfo.Create()
at NeoLABNcodeSDK.netCore.CNcodeSDK.GenerateNcode(List`1& pages, NCODE_TYPE ncodeType, Int32 section, Int32 owner, Int32 book, Int32 page, Double width, Double height, Int32 pageCount)
at NeoLABNcodeSDK.netCore.CNcodeSDK.GenerateNcode(List`1& pages, TicketInfo startPageInfo, Double width, Double height, Int32 pageCount)
at sampleApp_Ncode_.Program.GenerateNcode() in /tmp/pen/Class1.cs:line 118
@hrhwang Mind updating the paths you create/get with: https://docs.microsoft.com/en-us/dotnet/api/system.io.path.directoryseparatorchar?view=netframework-4.8 That'll make it work both in Windows and other OSes. 'Nix systems use '/'
temporarily working through it by setting my HOME to another directory within my home directory. This is a work around for now.
almost there, it looks like the drawing library is still using core framework. That'll need to be fixed before I can proceed:
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
Hello There I am trying to run cs neo SDK getting these errors please help me to solve it.
Solved the Above Problem. But now got this error.
Please try building with 64-bit.
It seems the dlls are expecting .net framework. I'm developing on Linux and only have .net core. I used the port analyzer and it says these dlls are 100% compatible with core. Could I/we get the some support for .net core?