question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[nuget] Publish a nuget package without a hyphen

See original GitHub issue

Currently it’s not possible to use Raylib-cs for .NET 7 WASM build due to the hyphen in the name. I reported the issue to dotnet/runtime and it has been already fixed and merged to main, see https://github.com/dotnet/runtime/issues/78992

However it might take a while before we see that in 7.0.x as I requested in ⬆️. Right now the target is 7.0.3 of the back-port PR: https://github.com/dotnet/runtime/pull/79175

Even if they manage to successfully back-port the fix to 7.0.3, based on 6.0.3 it would take 3+ months before we see that.

So yes, admittedly publishing a nuget package without a hyphen would basically be a workaround for broken functionality in dotnet. I can try to prepare the .csproj and adjust a GitHub workflow if there is enough interest.

Issue Analytics

  • State:open
  • Created 9 months ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ChrisDillcommented, Dec 21, 2022

Thanks! No need to report separately. We can track those issues in your project. Though worth mentioning #118 could maybe help with ensuring the same emscripten version is used.

0reactions
diskettemancommented, Dec 20, 2022

So far I found these issues:

I can report them separately and also report a WebAssembly build, however it’s more complicated because raylib must be compiled with the very same version of emscripten as the project. It’s because emscripten doesn’t follow semver (mentioned here).

Read more comments on GitHub >

github_iconTop Results From Across the Web

NuGet Package Version Reference
When resolving package references and multiple package versions differ only by suffix, NuGet chooses a version without a suffix first, ...
Read more >
Publish NuGet package without source code
1 Answer 1 ... The dotnet pack would pack the code into a NuGet package. We recommend you use nuget.exe tool with .nuspec...
Read more >
Best Practices for Authoring Private NuGet Packages in the ...
However, a lot of the advice doesn't translate very well to private packages that you will publish to a private NuGet server like...
Read more >
Publish a package with Visual Studio to Nuget - Dmitri Galejev
In this post I will demonstrate how to publish a Net Standard class library as a package to the Nuget server/repository.
Read more >
Prerelease versions with hyphen are incorrectly handled
Yes, I'm with you, NuGet do not use the full SemVer spec, but its a full subset of it, so if we implement...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found