.Net Core - Creating a Nuget Package

  Рет қаралды 18,278

AngelSix

AngelSix

Күн бұрын

Пікірлер: 42
@RioTheHitman
@RioTheHitman 7 жыл бұрын
Dude this came just in time just started moving assemblies over to NuGet thanks bro
@AngelSix
@AngelSix 7 жыл бұрын
Your welcome
@MrThem0
@MrThem0 7 жыл бұрын
You can see your "secret" key in Cmd's window title, better change it :)
@AngelSix
@AngelSix 7 жыл бұрын
Thanks for the catch. Changed it anyway now :)
@joshibhushan1
@joshibhushan1 2 жыл бұрын
When I am performing pack operation for the project then projectName.nupkg is not getting created. VSTS2022. Any idea ?
@davidkeylock7840
@davidkeylock7840 3 жыл бұрын
Best video on the subject I've found, thanks
@bezraboten3427
@bezraboten3427 7 жыл бұрын
Great video. Thank you!
@AngelSix
@AngelSix 7 жыл бұрын
Thanks
@chhinsras
@chhinsras 2 жыл бұрын
I have extension method for IServiceCollection and create nuget package. but it is not assisble, why?
@crazytk16
@crazytk16 5 жыл бұрын
Exactly what I needed!
@tomas120
@tomas120 6 жыл бұрын
Hey Luke. Thanks for the tutorial. Is there any way to make the package private? Only accesible by me or a group of people? Or you know a tool that updates automatically the .dll from all projects that uses it as reference? so that it is not necessary to delete the reference and add it again
@AngelSix
@AngelSix 6 жыл бұрын
You can host your own nuget feed to keep it private docs.microsoft.com/en-us/nuget/hosting-packages/overview
@patrikbak8161
@patrikbak8161 7 жыл бұрын
Nice and easy :) But how do you make that IntelliSense shows the documentation to methods from the package?
@haydensprogramming6766
@haydensprogramming6766 7 жыл бұрын
Use XML comment on methods by using the /// comments
@AngelSix
@AngelSix 7 жыл бұрын
As Hayden said, thats why all my code has XML comments (the /// stuff, all that is then visible when using it)
@patrikbak8161
@patrikbak8161 7 жыл бұрын
I'm very aware of XML comments :) My point is: I installed Dna.Framework package and IntelliSense doesn't show any documentation of its methods. image.prntscr.com/image/kdvvXgRxSaSdFAA_WiAVgw.png
@AngelSix
@AngelSix 7 жыл бұрын
Ah yes it needs the project properties Build > Generate XML Documentation checked. I'll do that on the next push tomorrow
@patrikbak8161
@patrikbak8161 7 жыл бұрын
Alright, thank you :)
@MultiMinors
@MultiMinors 7 жыл бұрын
Can i take your animation attached properties into different project, edit it by myself, add new animations, edit a bit firstload mechanic, add new animation directions and make it as NuGet Package? How to credit you properly? Or, maybe you can make something like this by yourself?
@AngelSix
@AngelSix 7 жыл бұрын
Sure you can do that. If you want to show credits perhaps just add it in the project description of the nuget package?
@RioTheHitman
@RioTheHitman 7 жыл бұрын
AngelSix what would be the easiest way to convert a .Netframework based library to a standard library? Possible vid
@AngelSix
@AngelSix 7 жыл бұрын
I believe .Net 2.0 is 100% compatible now with a .Net Framework class library other than any third party references. Could be wrong, but start with making a new .Net Standard library, copy/paste all the code files and project structure into the new project and try building.
@RioTheHitman
@RioTheHitman 7 жыл бұрын
AngelSix Thanks my man that worked like a charm
@AngelSix
@AngelSix 7 жыл бұрын
Perfect
@jameswaichungo7306
@jameswaichungo7306 7 жыл бұрын
Thanks again for this great tutorial
@AngelSix
@AngelSix 7 жыл бұрын
No problem
@riky8111
@riky8111 7 жыл бұрын
Hello, I'm here about dna web. I do often use variables, and what kind of bothers me is, you cant make variable icon like this: " " All is linked correctly. I've tried including header to file _variables.dhtml, doesnt work. Would appreciate this feature! There's a change that i might do something wrong, and I can't figure it out. Using variable like this " $$Bitcoin$$ . Dnaweb log doesn't complain, just says "Successfully processed".
@riky8111
@riky8111 7 жыл бұрын
Shouldn't variables replace text where you use them? I don't know if I am correct with this statement.
@AngelSix
@AngelSix 7 жыл бұрын
lolRiky the data is XML format so you need to escape XML special characters like < and > in the value. Just Google XML special escaped characters
@riky8111
@riky8111 7 жыл бұрын
Oh yea, didn't think about that one. It works now. Thank you so much.
@TurboTheo13
@TurboTheo13 5 жыл бұрын
You could save your key in order to speedup your deployment. nuget SetApiKey
@AgentFire0
@AgentFire0 6 жыл бұрын
Hi. How can I get this dark explorer mode?
@AngelSix
@AngelSix 6 жыл бұрын
kzbin.info/www/bejne/rHPXd5Z-d52Fi7s
@omartalaat6932
@omartalaat6932 6 жыл бұрын
Thanks for the video, I will like to know how can I update my created package
@AngelSix
@AngelSix 6 жыл бұрын
You just change your code, update the `Package` pages version in the project properties, build another nuget file and publish it. NuGet.org then realizes its a newer version and updates your package
@omartalaat6932
@omartalaat6932 6 жыл бұрын
wonderful, I want to know, if I can connect the NuGet to GitHub? I mean that, I change my project in GitHub and the change will run directly in NuGet. is this possible ?
@AngelSix
@AngelSix 6 жыл бұрын
Omar Talaat I don't believe so no. You could setup a git hook to react to commits and automatically do that for you though with not much problem but you would have to increment your build number every commit then
@omartalaat6932
@omartalaat6932 6 жыл бұрын
At the Moment i am using MyGet, but i am getting just Failed
@christianschulz4475
@christianschulz4475 7 жыл бұрын
your key is in the window title
@AngelSix
@AngelSix 7 жыл бұрын
Christian Schulz yeah thanks for the catch. I changed it right after the video
.Net Core - Extension Methods C#
53:14
AngelSix
Рет қаралды 11 М.
.Net Core - Creating a Universal Framework for Larger Projects
2:05:43
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Creating NuGet Packages the easy way with .NET Standard in C#
1:14:57
How to make private nuget packages for your team
10:56
Mark Inman
Рет қаралды 6 М.
.Net Core - Server Client Web API HTTP
1:32:22
AngelSix
Рет қаралды 17 М.
C# Creating NuGet Package for .Net Framework Project
13:58
AngelSix
Рет қаралды 27 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 577 М.
This AI Robot Is Doing the Impossible - Unitree x ElizaWakesUp
9:30
AI Revolution
Рет қаралды 127 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 196 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН