Tom Gullen
Tom Gullen

Reputation: 61727

Visual studio exclude folders from rebuild

I'm building an addon ASP.net set of pages ontop of an old classic ASP system.

The new pages are in the folder newversion/ this is the only folder I need rebuilding when I make changes, at the moment it attempts to build the entire site which results in a lot of errors.

Can you exclude all other folders from the build configuration?

Edit Please note, the other pages are still going to be edited (all the classic ASP ones) so exlcuding them from project etc really doesn't help

Edit 2 Here's a screen shot from VS enter image description here

Upvotes: 1

Views: 1407

Answers (1)

HuBeZa
HuBeZa

Reputation: 4761

  1. Select the files you like to exclude in the solution explorer
  2. Press F4\Alt+Enter to open properties window.
  3. Change Build Action property to Nnoe.

enter image description here

Upvotes: 2

Related Questions