Загрузка...

How to make a Project Template using NuGet

A basic walkthrough of making a Project Template using NuGet.
Install the template:
dotnet new install Lubiii.GameDev.Quickie.MonoGame

Commands used

- Create a new solution file:
dotnet new sln -n Template

- Add a project to the solution:
dotnet sln add .\Content\Template\Template.csproj

- List of all installed templates:
dotnet new list

- Install a template from a folder:
dotnet new install ./src

- Pack a NuGet:
nuget.exe pack .\Lubiii.GameDev.Quickie.MonoGame.nuspec

- Create a new project from the template:
dotnet new quickie -o TemplateDemo

NuGet homepage: https://www.nuget.org/

Code repository: https://github.com/LubiiiCZ/DevQuickie/tree/master/Quickie025-ProjectTemplate

Join the Discord to discuss: https://discord.gg/UrsNc7Kaz5

If you have any topic requests, feel free to leave them in the comments.

Music by Chinsaku - Spirit Of The Wind - https://thmatc.co/?l=42CC2CBE

#monogame #tutorial #development #dotnet #games

Видео How to make a Project Template using NuGet канала GameDev Quickie
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять