Closed SuperJMN closed 3 years ago
Yes. I want to target .NET Standard 2.0 and release a nuget package, but everything halted to a standstill because MonoGames have not moved to .NET Core yet. I'm also working on other projects right now, so the code in this repo is not quite there yet.
@Genbox thanks for you quick response! I would like to take a look to the PR I've sent (https://github.com/VelcroPhysics/VelcroPhysics/pull/59). I could help with the NuGet packages if you wish.
Best regards!
Thanks! I'll check it out.
MonoGame is already .NET Standard! Will we get Nuget packages anytime soon? 😊
Looking forward to a NuGet package. It would allow me to use this library with my students more easily.
There are still a lot of things not working right within the engine, so consider it alpha state for now. Nuget package is coming asap.
@Genbox Of course. But at least is looks like it is maintained. Chipmunk was my other choice and... forget it :-)
Packages are up:
Let me know if they work as intended.
@SuperJMN could you unlist your packages on Nuget? Don't want a lot of support questions about which packages to use :)
When I try to use it directly on a Monogame project, bootstrapped using the dontnet mgdekstopgl
template, I get:
error: Unable to find a stable package Genbox.VelcroPhysics.MonoGame with version (>= 0.0.0)
error: - Found 1 version(s) in nuget.org [ Nearest version: 0.1.0-alpha ]
error: Package 'Genbox.VelcroPhysics.MonoGame' is incompatible with 'all' frameworks in project '/home/ambs/tmp/CM/CM.csproj'.
My .csproj
here: https://gist.github.com/ambs/cda443d905f8527494fd84423d126dab
Thanks
It is an alpha package, so you have to enable support for those. I've found the easiest way is to just add the PackageReference manually to the csproj file:
<PackageReference Include="Genbox.VelcroPhysics.MonoGame" Version="0.1.0-alpha" />
The csproj file should look like this:
<ItemGroup>
<PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.0.1641" />
<PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.0.1641" />
<PackageReference Include="Genbox.VelcroPhysics.MonoGame" Version="0.1.0-alpha" />
</ItemGroup>
Or you can use the Nuget Package Manager, but remember to put a check in the "Include prerelease" checkbox.
This worked:
dotnet add package Genbox.VelcroPhysics -v 0.1.0-alpha
now I need time to read the tutorial :)
Sounds good. Closing this issue.
Hey hello!
Is there any plan to release a NuGet package of this project? Thanks