|
Preliminary CAD rendering for UWP support (using WriteableBitmap)
Wout
12/8/2018 2:43 AM
|
CadLib has tentative UWP support: https://www.nuget.org/packages/WW.Cad.Drawing.Uwp through use of WriteableBitmap. This package is built on top of the .NET Standard version of CadLib.
There is an example Universal Windows application on github.
Make sure that: - Register and get a trial license for WW.Cad here: https://www.woutware.com/SoftwareLicenses.
- Set the project target min version to Windows 10 Fall Creators update.
- Make sure that in your universal windows application project the nuget reference to Microsoft.NETCore.UniversalWindowsPlatform is at least version 6.1.9.
Otherwise you will get the following obscure runtime error:
System.IO.FileLoadException: 'Could not load file or assembly 'System.Net.Http, Version=4.2.1.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'
- Turn off option "Compile with .NET Native tool chain", this is very slow, and I don't think it's needed.
- Wout
|
|