Include paradox as nuget package

I am trying add paradox Core as nuget package to a project. I would like to use Core.Mathematics classes in my project. The project Is intended as business logic, more or less universal library, so I don’t want to put it inside .Game project generated by Paradox editor.
I googled this page:
https://store.paradox3d.net/packages
It says that, I can install it with a command, but I cannot see it on nuget.org, even with pre-release enabled.
Is there any server I should add as nuget repo?

What I tried then was that I manualy linked SiliconStudio.Core.Mathematics.dll Into that project, then included the project in the editor-generated solution, but I highly doupt it is a best practice. :wink:

Hi,

By the looks of it that site is Paradox’s custom NuGet “server”. So you would have to add a new NuGet source in Visual Studio with a url of “https://store.paradox3d.net/api/v2/”. I tried it and it worked, your mileage may vary.

The Paradox team have not really advertised this so they probably don’t intend for people to use it yet.

Cheers,
dfkeenan

NuGet is used as a distrbution channel, but Paradox package as stored on store.paradox3d.net is not in a format that VS would understand (to setup in a C# project).

It is meant to be used by our launcher. It not only contains libraries but also editor, samples, etc…
As a result, wee use a different package structure and way to setup references/targets in C# projects.

Note: I didn’t investigate, but NuGet3 seems to improve a lot of things and it might be possible we could build a NuGet package VS would understand at some point (need lot of investigation and not our priority right now).

By worked I meant packages turned up in the feed. I didn’t actually try using them. I probably should have mentioned that.

Ok thank you very much for the info. : ) But now that I know that this does not work, what would you suggest for supporting projects which I intend to reference from main paradox game project but only dependency for those is Core.Mathematics? ; )

You can just create a simple Library project from GameStudio. It will include Mathematics and some other references as well.