xBimTeam / XbimGeometry

XbimGeometry contains the CLR interop libraries and the c++ engine used to compute the 3D geometry of models.
https://xbimteam.github.io/
Other
254 stars 128 forks source link

XbimGeometry UWP #300

Open pabloinigoblasco opened 3 years ago

pabloinigoblasco commented 3 years ago

Is it possible to use XbimGeometry on a UWP project?

I am trying to import in a UWP c# class library for arm64 and x64 architectures using the Xbim.Geometry package via nuget and I get the following errors:

ARM64 Severity Code Description Project File Line Suppression State Error NU1202 Package Xbim.Geometry.Engine.Interop 5.1.403 is not compatible with uap10.0.17763 (UAP,Version=v10.0.17763) / win10-arm64-aot. Package Xbim.Geometry.Engine.Interop 5.1.403 supports: net472 (.NETFramework,Version=v4.7.2) TestUWP C:\Users\pblasco\source\repos\TestUWP\TestUWP\TestUWP.csproj 1

x64 Severity Code Description Project File Line Suppression State Error NU1202 Package Xbim.Geometry.Engine.Interop 5.1.403 is not compatible with uap10.0.17763 (UAP,Version=v10.0.17763) / win10-x64-aot. Package Xbim.Geometry.Engine.Interop 5.1.403 supports: net472 (.NETFramework,Version=v4.7.2) TestUWP C:\Users\pblasco\source\repos\TestUWP\TestUWP\TestUWP.csproj 1

martin1cerny commented 3 years ago

We have a branch of Xbim.Geometry which is ported to .NET Core 3. You may want to check it. We plan to work on this and would be happy for any feedback.

pabloinigoblasco commented 3 years ago

Sounds good. Thank you.

pabloinigoblasco commented 3 years ago

I am trying to build that branch and I am getting the following error when I try to build.

Severity Code Description Project File Line Suppression State Error NU1603 Xbim.Geometry.Packages depends on Xbim.Essentials (>= 5.1.313-develop) but Xbim.Essentials 5.1.313-develop was not found. An approximate best match of Xbim.Essentials 5.1.314 was resolved. Xbim.Geometry.Packages C:\Users\pblasco\XbimGeometry\Xbim.Geometry.Packages\Xbim.Geometry.Packages.csproj 1

Do you have some nuget development repository? or Should I manually reference to the current HEAD of those packages?

martin1cerny commented 3 years ago

See the bottom of this page