-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added management of views generation when the files are linked from another project #127
base: develop
Are you sure you want to change the base?
Conversation
Synchronization from base
…l classes * Restoring the foundErrors behaviour, pending new argument * Restoring some of the code back
Hey Jerome, That's a good idea, but needs a bit of work. I've reverted some of the changes that you had, as one of them broke the model handling code, and the path you added to the tools' project startup didn't exist anywhere except your machine - that shouldn't have been pushed to git :) I've added a folder with a linked view to the sample project, and the code you added doesn't work in this case. Looking further, this looks like it needs a bit of a more complex change to make this work. I'll see if I get some time to help on this |
…elop # Conflicts: # src/R4Mvc.Tools/Commands/GenerateCommand.cs # src/R4Mvc.Tools/Properties/launchSettings.json # src/R4Mvc.Tools/R4Mvc.Tools.csproj
…in R4mvc.generated.cs
… with / such as /Views.
…elop # Conflicts: # src/R4Mvc.Tools/Properties/launchSettings.json
This ability has been added because we are converting a ASP.NET MVC 5 project working with T4MVC in a new format ASP.NET Core project.
As i use the views/controllers in a LinkBase mechanism, R4MVC was generating the controllers correctly but not the Views.
Additionaly i deactivated in the GenerateCommand (sorry, it was included in the Commit), the foundErrors because we have some nuget packages that are not yet fully compliant in .NET Core, and if we have this, the .generated files are not saved. Perharps, we should add a new setting to apply it ?