Quickly Compiling Changes for Couple of Files
I am using .NET Fr开发者_高级运维amework and C# and working on a large project. The application compile takes forever. Currently, I don't have time to see what is going wrong. But is there anyway that if I change 2-3 files I can compile the application quickly.
It is a web application. The solution has 6-7 other projects.
I believe you "must" rebuild(what ever that got changed) in order for your changes to take effect.
Also, as a side note:
- Break into modules/assemblies, compile only that assembly which got changed!
- If your existing change is in some specific assembly then build only that assembly.
"unload" the projects (right click on the project in the solution explorer). The project isn't removed from your solution, but it won't be compiled either.
精彩评论