tpower
tpower

Reputation: 56906

When developing a website with visual studio, how do I improve the build time?

I have a lot of classes in the App_Code directory could this be a problem? Would it build faster if it was in a separate library?

Any other tips?

Upvotes: 2

Views: 220

Answers (2)

Galwegian
Galwegian

Reputation: 42257

There's a decent article here. Items listed there are:

  • Do not disable batch compilation
  • Leverage Server-side Compilation
  • Move App_Code files into a separate class library project
  • Check for conflicting dependencies
  • Turn off AutoToolboxPopulate in the Windows Forms Designer options.
  • Disable validation for HTML editing

Upvotes: 3

Larry
Larry

Reputation: 18051

I would recommend a second project, let's say "MyLibrary", instead of having a bloated App_Code folder.

Upvotes: 0

Related Questions