I plan to create some NuGet package that adds some library and some new controller to current project. I want to dynamically create the name of new controller and other related files.
Is it possible to do that just like setup page that occur when we try to install program?
- If it doesn’t possible, how to create new command in NuGet package console for doing this.
Thanks,
Making a setup dialog might be a bit involved. I am not sure if you would need to write a plugin or what. If you simply want to automate the creation of files as templates, you should look into Custom Mvc Scaffolding