First off, I know that Stack Overflow has been asking many questions regarding scaffolding in Visual Studio and I'm sure I've read every one of them. So here we go. I'm trying to customize the built-in scaffolding files that visual studio 2019 uses to create pages when we using the scaffolding functionality.
My first question is where are the default files located for the scaffolding. I've already found the files that live here: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\Microsoft\Web Tools\Scaffolding for the older mvc pages and I also found this here: C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.visualstudio.web.codegenerators.mvc\2.1.7\Templates that seem to be close but no luck. So if you can tell me the location first, that's a two thumbs up.
Next part of my question is how do I bring these into a project? I have seen many different tutorials that indicate creating a CustomTemplates or Templates folder in the project, but for razor pages, I'd like to know how to do it properly.
Thank you for any leads ahead of time.