Automatically Convert to Central Package Management

  Рет қаралды 3,871

Ardalis

Ardalis

Күн бұрын

Automatically Use Central Package Management
Hey everyone, I'm Steve Smith aka ardalis, of NimblePros!
In this short video I'm going to briefly introduce central package management, show you how to migrate to using it manually, and then save you a bunch of tedious effort by showing you a tool that will do it automatically. Check it out!
Links
github.com/nim...
devblogs.micro...
learn.microsof...
github.com/Van...
Check out my courses:
academy.nimble... (use code EARLYACCESS for 60% off Identity Essentials)
dometrain.com/...
dometrain.com/...
dometrain.com/...
ardalis.com/tr...
www.pluralsigh...
Team Consulting and Training: NimblePros.com and @nimblepros
Developer Group Mentoring: devBetter.com
Free Weekly Email Tips:
ardalis.com/tips/
If you read this far, I hope you liked this video and will consider subscribing to my channel! Or if you already subscribe, how about adding @NimblePros ?
Find me:
ardalis.com
/ ardalis
github.com/ard...
/ stevenandrewsmith
bsky.app/profi...
#ardalis #stevesmith #dotnet #csharp #programming #nimblepros #visualstudio #cli #nuget #packagemanagement
Keep Improving!

Пікірлер: 14
@marna_li
@marna_li 29 күн бұрын
Thanks for the tip. I needed that tool!
@Ardalis
@Ardalis 16 күн бұрын
Happy to help!
@MdKinawy
@MdKinawy 3 ай бұрын
Awesome content as usual
@Ardalis
@Ardalis 2 ай бұрын
Glad you enjoyed it!
@afouadr
@afouadr 3 ай бұрын
Just brilliant, thank you very much :-)
@Ardalis
@Ardalis 2 ай бұрын
Glad to help!
@DerekPriceRocks
@DerekPriceRocks 3 ай бұрын
i think where it gets tricky is having multiple nuget package sources. We have ours split into third-party and our own. When I played around with this before, I remember this caused quite a bit of friction against adopting this. Maybe things have changed since then.
@Ardalis
@Ardalis 2 ай бұрын
Yes, I suppose that could be an issue. I have multiple package sources and source mapping and it's worked for me so far, but I can imagine there could be package resolution issues.
@marktownsend9273
@marktownsend9273 3 ай бұрын
Just tried the tool, and I have to say, it took a working project and made a pigs ear of it. All of the versions were removed from the csproj, but only half the packages listed in the directory file. Build failed, and worse, I could not open VS Package Manager window because of null errors. To resolve it, had to search one by one through all the project files, find the missing version references, check what was the correct version manually, and add them. In the end, I just rolled back to a previous version. I like the idea of the central versioning, but not sure the tool is battle ready yet.
@Ardalis
@Ardalis 2 ай бұрын
Really? I've used it on at least a dozen solutions and never had a problem. I certainly recommend doing this in a fresh source control state so that you can easily do a 'git reset' if needed (as in your case) but you're literally the first person I've heard have an issue. I did also hear last week that the .NET Upgrade Assistant is releasing support for central package management now, too, so you might give that a try.
@pilotboba
@pilotboba 3 ай бұрын
I knew about this. I didn't think it was supported with .Net Framework. But, seems like it might be as long as you have the up to date tooling. Do you know if that tool supports the old style projects, or just SDK projects?
@Ardalis
@Ardalis 3 ай бұрын
I think just SDK style "new" projects.
@larsp5109
@larsp5109 3 ай бұрын
How does this work in this scenario: I have a large solution with all kinds of handy projects some of which I use in various solutions I’m working on?
@Ardalis
@Ardalis 2 ай бұрын
If you want them to use consistent package versions, it should work well.
5 Rules For DTOs
17:56
Ardalis
Рет қаралды 48 М.
Using Ardalis Specifications with EF Core 8
13:06
Ardalis
Рет қаралды 8 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Insane Theoretical Physics Discussion with ChatGPT and DeepSeek
4:59
Unzicker's Real Physics
Рет қаралды 11 М.
Clean Architecture with NET 8
54:38
NimblePros
Рет қаралды 6 М.
You Should Blog
17:28
Ardalis
Рет қаралды 1,4 М.
Microsoft Recall is NOT Mandatory?!?
8:08
Chris Titus Tech
Рет қаралды 94 М.
What's New in Clean Architecture Template 9.1
11:27
Ardalis
Рет қаралды 16 М.
Modern NuGet: Centralized Package Management and Source Mapping
23:02
REPR and Clean Architecture
11:48
Ardalis
Рет қаралды 18 М.
Proxy vs Reverse Proxy vs Load Balancer | Simply Explained
13:19
TechWorld with Nana
Рет қаралды 298 М.
Mac Mini M4 - The SHOCKING Truth After 24 Hours
8:54
HotshotTek
Рет қаралды 246 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19