Exclude workarea folders from compiling in Visual Studio

  • Updated

If you are getting warning messages or experiencing issues when you compile your Ektron site in Visual Studio, this may be caused by the need to exclude the Ektron workarea folder from the build.

  1. Right click on the workarea folder in Visual Studio and select the "Open Folder in File Explorer" option.

    ExludeStep1

    ExludeStep2

  2. Next right click on the workarea folder and go to the folder's properties.
  3. Check the hidden check box at the bottom.

    ExludeStep3

  4. Finally check the "Apply changes to this folder" button and click OK.
    ExludeStep4

    ExludeStep4

  5. Now when you build you Ektron site in Visual Studios it will exclude the workarea folder from the build.