How to make the Visual Studio compiler ignore a file?

前端 未结 4 722
死守一世寂寞
死守一世寂寞 2020-12-16 01:39

Is anyone aware of a way to make visual studio completely ignore a file when compiling? I have a C# solution that has a foo.config file that isn\'t really a standard config

4条回答
  •  遥遥无期
    2020-12-16 02:36

    Are you sure that VS compiling .config file???

    You should check it's Build Action in file options and may be set it to none.

提交回复
热议问题