Hello fedi, any #DotNet and #NuGet experts here please?
I'm trying to prepare a NuGet package where I need to bundle a folder with a DLL and some accompanying files. Everything is good, the nupkg file is created, the folder is there (I can clearly see it with 7-zip). However, when installing the package, the folder is again there in the NuGet global cache, but not in the project where I install it!
I even asked a StackOverflow question [1] about it, but still no dice. Any thoughts please? Thanks!
[1]:https://stackoverflow.com/questions/78582554/
If you’re working on #oss with #dotnet in #JetBrainsRider, you'll notice that the VCS dropdown shows you if the current branch is tied to a #github PR and allows you to open it in the tool window. Cool!
The VCS integration in #JetBrainsRider is so awesome. If you find a file in your commit window you need to ignore, you can just right-click and "Add to .gitignore”. No more tracking down the file and figuring out where to put the line. #dotnet#git#vcs#software#development
"At Microsoft Build 2024, we announced new investments that expand the AI ecosystem for .NET developers. We’re excited to share more detailed plans around Microsoft’s collaboration with OpenAI on their official .NET library."
C# 13 is adding the ability to make extensions properties, this means we can build a scientific units library or financial units library with the nice syntax:
(15.mm + 12.inch) / 12.sec
or
(15.eur + 1200.dollars) / 12.months
Will be (most likely) a valid syntax by adding extension properties mm, inch, sec, kg for integers.
@khalidabuhakmeh The idea was that you have extension isolated properly from "actual" types and obviously static class allow for additional compiler optimizations. You have also to explicit reference their namespace for proper scoping. I always found it stupid in general, they could have achieved the same with a new keyword and the IL type ends up being a static class with this becoming the first argument in methods. But I guess it was cheaper to implement like that back then.
@khalidabuhakmeh First looked at Rider when MS abandoned VS on Mac. Now using it 100% for Maui and Blazor projects over a couple of month. There was a bit of friction from muscle memory but so far I am missing nothing. If you have questions I am happy to provide experience from the transition.
I noticed that the #dotnet#stateless library is publishing new packages again. In honor of its revival, here is a lightswitch example written in #csharp. 💡
This livestream will live on in the halls of Valhalla for eternity… or as long as YouTube is around.
Come join this #JetBrainsRider#Unity livestream and see how to improve your #gamedev workflows and build custom UIs for your designers with a few #csharp attributes thanks to #Odin.
Is C# development still tied to Windows? It's been a very long time since I looked and I’m curious what people's preferred development environment is…?