nfdi4plants / ARCtrl

Library for management of Annotated Research Contexts (ARCs) using an in-memory representation and runtime-agnostic contract systems.
MIT License
17 stars 8 forks source link

[Feature Request] f# dependency #457

Open Freymaurer opened 1 month ago

Freymaurer commented 1 month ago

Please soften f# dependency. My console gets spammed with this:

server: C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 8.0.400 to 8.0.300. Reference the package directly from the project to select a different version.
server: C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj : warning NU1605:  Server -> ARCtrl 2.1.0-alpha.4 -> ARCtrl.ROCrate 2.1.0-alpha.4 -> DynamicObj 4.0.0 -> FSharp.Core (>= 8.0.400)
server: C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj : warning NU1605:  Server -> FSharp.Core (>= 8.0.300)
server: C:\Users\Kevin\source\repos\Swate\src\Shared\Shared.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 8.0.400 to 8.0.300. Reference the package directly from the project to select a different version.  [C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj]
server: C:\Users\Kevin\source\repos\Swate\src\Shared\Shared.fsproj : warning NU1605:  Shared -> ARCtrl.Json 2.1.0-alpha.4 -> ARCtrl.ROCrate 2.1.0-alpha.4 -> DynamicObj 4.0.0 -> FSharp.Core (>= 8.0.400)  [C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj]
server: C:\Users\Kevin\source\repos\Swate\src\Shared\Shared.fsproj : warning NU1605:  Shared -> FSharp.Core (>= 8.0.300) [C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj]
server: C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 8.0.400 to 8.0.300. Reference the package directly from the project to select a different version.
server: C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj : warning NU1605:  Server -> Shared -> ARCtrl.Json 2.1.0-alpha.4 -> ARCtrl.ROCrate 2.1.0-alpha.4 -> DynamicObj 4.0.0 -> FSharp.Core (>= 8.0.400)
server: C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj : warning NU1605:  Server -> FSharp.Core (>= 8.0.300)
server: C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 8.0.400 to 8.0.300. Reference the package directly from the project to select a different version.
server: C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj : warning NU1605:  Server -> ARCtrl 2.1.0-alpha.4 -> ARCtrl.ROCrate 2.1.0-alpha.4 -> DynamicObj 4.0.0 -> FSharp.Core (>= 8.0.400)
server: C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj : warning NU1605:  Server -> FSharp.Core (>= 8.0.300)
server: C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 8.0.400 to 8.0.300. Reference the package directly from the project to select a different version.
server: C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj : warning NU1605:  Server -> Shared -> ARCtrl.Json 2.1.0-alpha.4 -> ARCtrl.ROCrate 2.1.0-alpha.4 -> DynamicObj 4.0.0 -> FSharp.Core (>= 8.0.400)
server: C:\Users\Kevin\source\repos\Swate\src\Server\Server.fsproj : warning NU1605:  Server -> FSharp.Core (>= 8.0.300)
server: C:\Users\Kevin\source\repos\Swate\src\Shared\Shared.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 8.0.400 to 8.0.300. Reference the package directly from the project to select a different version.
server: C:\Users\Kevin\source\repos\Swate\src\Shared\Shared.fsproj : warning NU1605:  Shared -> ARCtrl.Json 2.1.0-alpha.4 -> ARCtrl.ROCrate 2.1.0-alpha.4 -> DynamicObj 4.0.0 -> FSharp.Core (>= 8.0.400)
server: C:\Users\Kevin\source\repos\Swate\src\Shared\Shared.fsproj : warning NU1605:  Shared -> FSharp.Core (>= 8.0.300)
HLWeil commented 1 month ago

I think we cut it out from ARCtrl, but if I see correctly, there is a reference in Fable.Core: https://github.com/fable-compiler/Fable/blob/main/src/Fable.Core/Fable.Core.fsproj

HLWeil commented 1 week ago

Still an issue, @Freymaurer?

Freymaurer commented 1 week ago

Yes?

Freymaurer commented 1 week ago

The issue seems to be the dynamic object reference?

client: C:\Users\Kevin\source\repos\Swate\src\Shared\Shared.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 8.0.301 to 8.0.300. Reference the package directly from the project to select a different version.  [C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj]
client: C:\Users\Kevin\source\repos\Swate\src\Shared\Shared.fsproj : warning NU1605:  Shared -> ARCtrl.Core 2.2.4 -> ARCtrl.CWL 2.2.4 -> DynamicObj 4.0.3 -> FSharp.Core (>= 8.0.301)  [C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj]
client: C:\Users\Kevin\source\repos\Swate\src\Shared\Shared.fsproj : warning NU1605:  Shared -> FSharp.Core (>= 8.0.300) [C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj]
client: C:\Users\Kevin\source\repos\Swate\src\Shared\Shared.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 8.0.301 to 8.0.300. Reference the package directly from the project to select a different version.  [C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj]
client: C:\Users\Kevin\source\repos\Swate\src\Shared\Shared.fsproj : warning NU1605:  Shared -> ARCtrl.Json 2.2.4 -> ARCtrl.ROCrate 2.2.4 -> DynamicObj 4.0.3 -> FSharp.Core (>= 8.0.301)  [C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj]
client: C:\Users\Kevin\source\repos\Swate\src\Shared\Shared.fsproj : warning NU1605:  Shared -> FSharp.Core (>= 8.0.300) [C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj]
client: C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 8.0.301 to 8.0.300. Reference the package directly from the project to select a different version.
client: C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj : warning NU1605:  Client -> ARCtrl.Javascript 2.2.4 -> ARCtrl.CWL 2.2.4 -> DynamicObj 4.0.3 -> FSharp.Core (>= 8.0.301)
client: C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj : warning NU1605:  Client -> FSharp.Core (>= 8.0.300)
client: C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 8.0.301 to 8.0.300. Reference the package directly from the project to select a different version.
client: C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj : warning NU1605:  Client -> ARCtrl.Javascript 2.2.4 -> ARCtrl.ROCrate 2.2.4 -> DynamicObj 4.0.3 -> FSharp.Core (>= 8.0.301)
client: C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj : warning NU1605:  Client -> FSharp.Core (>= 8.0.300)
client: C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 8.0.301 to 8.0.300. Reference the package directly from the project to select a different version.
client: C:\Users\Kevin\source\repos\Swate\src\Client\Client.fsproj : warning NU1605:  Client -> Shared -> ARCtrl.Core 2.

This is from the latest 2.2.4 version of ARCtrl

Freymaurer commented 1 week ago

image

Freymaurer commented 1 week ago

seems to be only configured in global.json