Open tompipe opened 4 years ago
Wildcards don't work with the default project type, only on the new SDK-style projects. As Umbraco doens't support that yet (https://github.com/umbraco/Umbraco-CMS/issues/3635), the generated files need to be included individually (but please feel free to prove me wrong).
After the VS extension generates models, it modifies the csproj to include the .generated.cs files under the DependentUpon:ModelsBuilder ItemGroup, adding an entry for each individual file.
This could be simplified with a wildcard, eg: