Skip to content
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

Prevent regenerating unmodified controllers #62

Open
oskrabanek opened this issue Jan 6, 2016 · 2 comments
Open

Prevent regenerating unmodified controllers #62

oskrabanek opened this issue Jan 6, 2016 · 2 comments

Comments

@oskrabanek
Copy link

As a developer on a rather large project kept on TFS I want the T4MVC to remember which controllers have not been changed so the T4MVC doesn't regenerate the generated classes.

The main problem is with integration with TFS repository. As we wanted to integrate T4MVC into our project it took ages to regenerate as each file T4MVC wants to regenerate has to checked out by TFS causing the regeneration last up to 10 minutes and VS unresponding.

Some sort of comparing the controller signature of the controller as well as the static resources to the generated ones before modifying it would be nice solution to this issue.

@davidebbo
Copy link
Contributor

I thought the latest TFS no longer required explicit checkout. And you know you really should be using git :)

That being said, I thought that was already supposed to be handled. Check out this code. You may want to debug it to see why it's not working.

@oskrabanek
Copy link
Author

Well unfortunately we don't have the latest TFS yet and I would prefer GIT as well, but this decision wasn't mine.

Anyway thanks for the hint, I'll check that on our solution, if this condition is working correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants