Closed Barsonax closed 4 years ago
Since #823 was superseded by #827, is this template still up-to-date?
No it has to be updated which I will when that other PR is merged. Don't have time atm though but maybe in the coming days.
@ilexp I updated the template with the new paths.
@ilexp @SirePi Can anyone give this a review so this can be merged?
Project generates a zip on build with the files from the template which can be used directly without other tools other than something to unpack it.
When you pack it it generates a nuget package that can be used with
dotnet new
. You can install it from nuget but you can also install it directly from a file path which is handy when testing:Then create the folder for the solution, navigate to it and create the solution:
This also builds the solution so you can use duality straight away (will probably fail if you do not have a localfeed setup with duality 4.0.0-alpha). It will get the name from the folder name but you can also specify it yourself with the
--name
parameter.The nuget package is a template pack so it is possible to add multiple templates in the future (like a core plugin template, editor plugin template etc). Hence the naming is also generic.
To update the template just install it again with
dotnet new -i
There is currently no integration with the nightly builder yet so the above all still to be done manually but thats fine for now as thats the same as the old situation I believe.
NOTE: template assumes the new folder structure in #827
Known issues