john doe
john doe

Reputation: 45

Quickly Compiling Changes for Couple of Files

I am using .NET Framework 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.

Upvotes: 0

Views: 69

Answers (2)

Matt Jacobsen
Matt Jacobsen

Reputation: 5884

"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.

Upvotes: 0

Kamran Khan
Kamran Khan

Reputation: 9986

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.

Upvotes: 1

Related Questions