boschrexroth / ctrlx-automation-sdk

ctrlX AUTOMATION Software Development Kit
https://boschrexroth.github.io/ctrlx-automation-sdk/
Other
69 stars 24 forks source link

Samples-Net provider examples do not build with ctrlx-datalayer 4.0.1 #52

Closed ArcherThompson closed 3 months ago

ArcherThompson commented 4 months ago

all .net provider example will not build The build error is /home/boschrexroth/ctrlx-automation-sdk/samples-net/datalayer.provider.alldata/Node.cs(231,28): error CS0012: The type 'NodeClass' is defined in an assembly that is not referenced. You must add a reference to assembly 'datalayer.fbs, Version=2.6.0.0, Culture=neutral, PublicKeyToken=e0e3d33bc06ef59b'. [/home/boschrexroth/ctrlx-automation-sdk/samples-net/datalayer.provider.alldata/datalayer.provider.alldata.csproj]

The package can be seen and decompiled at `#region Assembly datalayer.fbs, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null // /home/boschrexroth/.nuget/packages/ctrlx-datalayer.flatbuffers/2.6.0/lib/net8.0/datalayer.fbs.dll // Decompiled with ICSharpCode.Decompiler

endregion

namespace comm.datalayer;

public enum NodeClass : sbyte { Node, Method, Type, Variable, Collection, Resource, Program, Folder }`

no amount of cleaning, restoring or other things like that help happens consistently on fresh builds and installs across multiple developers.

note The ctrlX-DataLayer.Flatbuffers package is being pulled in as a transitive dependency by ctrlX-DataLayer.

Fresh projects seem to recreate the same issue

ZmRZjFuDsDiR4qi5801F commented 3 months ago

Thank you for using the ctrlX Datalayer .NET API.

If the issue should be still present, please reopen.

ZmRZjFuDsDiR4qi5801F commented 3 months ago

Please follow instructions above to fix the issue.