poppastring, to dotnet
@poppastring@dotnet.social avatar

NuGet is now in C# Dev Kit
The April release now includes an initial set of NuGet tooling features, as detailed in this blog post.

https://devblogs.microsoft.com/dotnet/may-release-of-csharp-dev-kit/

maartenballiauw, to dotnet
@maartenballiauw@mastodon.online avatar

9 Things You Didn’t Know About JetBrains Rider’s Support 📦

🔍 Search, add, update, remove
📂 Sources and caches
🚀 Find code that uses a package
❤️‍🔥 And more!

We've got some slick UI in place 👀
https://blog.jetbrains.com/dotnet/2024/05/29/9-things-you-didn-t-know-about-jetbrains-rider-s-nuget-support/?utm_medium=social&utm_source=mastodon&utm_campaign=9-things-you-didn-t-know-about-jetbrains-rider-s-nuget-support

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I got a guided tour of the server room today. Cutting edge! I was told not to touch the bulbs.

chucker, to random
@chucker@norden.social avatar

macOS; delete package versions you haven’t used in more than four weeks (and print the affected parent package):

find ~/.nuget -atime +4w -depth 3 -exec dirname {} \; -exec rm -r {} +  
khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Just noticed a nice quality of life improvement for devs using . When in the Tool Window, you'll also see if a project has a dependency implicitly installed in the project.

khalidabuhakmeh, to godot
@khalidabuhakmeh@mastodon.social avatar

Unit testing support in for a game is slick. Rather than fiddling with magic numbers, you can write tests using and get a better feedback loop.

You only need the package, too, so you don't have to add the add-on to the game.

rockylhotka, to dotnet
@rockylhotka@fosstodon.org avatar

Why is it that almost 100% of the time when I go to create or use a #dotnet #dotnetmaui project in #visualstudio that it just fails to build for random reasons - like being unable to find the right #nuget packages or some other obscure b.s. that requires lengthy searching and trial-and-error to maybe fix?

Basically, my experience with #dotnetmaui almost always sucks.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Adding a package in is really easy. No need to memorize any package names, XML tags, or pesky version numbers.

Adding a dotnet nuget package in JetBrains Fleet

zirias, to windows
@zirias@techhub.social avatar

Goal: Get some certificate obtained with deployed on some box

Step 1: Ok, this probably works best with (which I don't really like ...)

Step 2: There's no port ... but hey, there's now a FreeBSD port of , let's try to "just" build Powershell using that.

Step 3: Hell why does it fail to build. Oh, System.Security.Cryptography.Native doesn't play well with

Patch and retry, I guess I'll take some sleep now first. Bah!

(there's some irony in running into OpenSSL/LibreSSL issues when trying to deploy TLS certificates ...)

zirias,
@zirias@techhub.social avatar

This will be though.

Well, I can certainly build for now. I might be able to just "fake" a working copy for its stupid build system. This still doesn't fully solve the version issue, it insists on appending the git hash -> TODO.

The "login shell" feature can be added, an exercise left for later, the code will look pretty similar to the existing MacOS-X implementation. Maybe upstream would even accept it 😎

For a , it should probably be "published" as "" (I hope this has no negative impact), otherwise lang/dotnet would become a hard run dependency ... This works now as well, but requires changes in lang/dotnet ... requires some platform-specific packages that don't exist on MS servers for FreeBSD. They are created during build of dotnet itself, but not installed anywhere by default ... I'll suggest an "on by default" port option to bundle these with lang/dotnet.

[…]

nblumhardt, to random
@nblumhardt@nblumhardt.com avatar

Aiming for a more complete redaction example than otherwise exists out there; spot anything that I've missed? 🙏 https://github.com/nblumhardt/serilog-redaction

bitbonk,
@bitbonk@mastodon.social avatar

@nblumhardt So in general for redaction, the suggested approach is I write my own custom redacting sink?
Would it be worth to put all the redaction functionality into a reusable package?

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Wow, at some point, got package reference completion for projects. That's pretty neat stuff.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I wish folks would stop dumping their “frameworks" onto when it's just for them and their organization.

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

I think the updated tags are a bit harsh. I made some tweaks.

  • Drop the “.NET” and “.NET Framework” (We get it, it's all .NET)
  • Less distracting colors
  • Smaller size

Tweaked version

bitbonk, (edited ) to dotnet
@bitbonk@mastodon.social avatar

We have a based framework (a bunch of packages) that can be used to build desktop executables that control and visualize machine data with a very simple and easy to use based API. It is based on and we want to rewrite/redesign it to make it cross platform.

What UI technology should we base it on?

Customers will have to learn the basics of that chosen technology.

(Boost for reach is appreciated🙏 )

darkcisum, to CSharp
@darkcisum@swiss.social avatar

NuGetSolver is a powerful Visual Studio extension designed to help you tackle NuGet dependency conflicts with ease. It takes into consideration all dependencies and provides intelligent and automated suggestions to resolve dependency conflicts in your projects.

https://devblogs.microsoft.com/nuget/introducing-nugetsolver-a-powerful-tool-for-resolving-nuget-dependency-conflicts-in-visual-studio/

#csharp #nuget #visualstudio

maartenballiauw, to random
@maartenballiauw@mastodon.online avatar

Is there a package like RazorEngine in the good old days? One that can use Razor as a template engine to e.g. craft e-mail content?

Searched NuGet .org but that's returning old packages.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I was posting numbers yesterday and realized the package rise might be dramatically inflated by a platform-targeting issue in .

As native targeting will be necessary for the platform's future, this feels like one of those “fix this now before it gets worse" issues.

bitbonk, to dotnet
@bitbonk@mastodon.social avatar

@praeclarum fuget.org is often awfully slow, do we need to ask microsoft to donate Azure credits for beefier resources?

bitbonk, to dotnet
@bitbonk@mastodon.social avatar

In a multi-targeted package, is there a way to check for windows using a preprocessor directive instead of OperatingSystem.IsWindows()?

MSicc, to dotnet
@MSicc@dotnet.social avatar

The three most important commands you need after upgrading #NuGet packages in a #dotNETMAUI project:

  • dotnet restore —force
  • sudo dotnet workload restore
  • dotnet build

This is the fastest way to get your app compiling again in #dotNET 8.

#PSA #programming #Rider

bitbonk, to dotnet
@bitbonk@mastodon.social avatar

Central Package Management for is pretty cool, but converting a solution to use it is extremely tedious.

It would be nice if could do it automagically for me.
If you think so too, please feel free to upvote this issue:

https://youtrack.jetbrains.com/issue/RIDER-84581/Add-refactoring-Convert-solution-to-use-central-package-management

governa, to random
@governa@fosstodon.org avatar
khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I was curious how many packages there were for each device development paradigm for the ecosystem.

bradwilson, to dotnet
@bradwilson@mastodon.social avatar

I'm shipping binaries compiled against netstandard1.1 and the NuGet reference I bring along is NETStandard.Library version 1.6.1.

Does anybody know any reason I can't just bump that up to version 2.0.3? It seems like it's just a more complete collection of dependencies for runtime.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Well… I submitted a fix to , so that makes me a good citizen, right? RIGHT?!

https://github.com/NuGet/NuGetGallery/pull/9694

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • magazineikmin
  • everett
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • love
  • khanakhh
  • kavyap
  • tacticalgear
  • GTA5RPClips
  • DreamBathrooms
  • provamag3
  • modclub
  • mdbf
  • normalnudes
  • Durango
  • ethstaker
  • osvaldo12
  • cubers
  • ngwrru68w68
  • tester
  • anitta
  • cisconetworking
  • Leos
  • JUstTest
  • All magazines