locked
deploying a folder which should not be build RRS feed

  • Question

  • User646440727 posted

    Hello. 

    I have a MVC 4 project and I have a folder which contains a  file.aspx + file.aspx.cs. This folder has a specific name and has to be under a specifiy directory in my project, so i can't move it. my problem is, that i can't build the project if the folder is included in the project. so i exclude it and copy it to the build target. but this is not a solution for me. i also tried to set the "buildprocess" in the file properties to "none", then i can have my folder included in the project, but the files with build process "none" are also not deployed. and i have to copy it again.

    i dont want to copy this folder all time. how can i solve this?

    thank you!

    alina

    Tuesday, October 15, 2013 3:16 AM

Answers

  • User-837620913 posted

    Set the file property type to "Content" isntead of "None". Files of type content ARE deployed.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 15, 2013 5:08 AM

All replies

  • User-837620913 posted

    Set the file property type to "Content" isntead of "None". Files of type content ARE deployed.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 15, 2013 5:08 AM
  • User646440727 posted

    thank you!

    Tuesday, October 15, 2013 5:48 AM