Вопрос

I have set the build output path of all projects to common debug and release directories:

<OutputPath>$(SolutionDir)BuildOutput\Release</OutputPath>

Should the test projects also output to this directory or should they build to their own release (bin) directories?

I am using VS 2013.

Это было полезно?

Решение

Test projects should build to their own Release \ Debug directory. This is because they are separate project; they are executed separately (ie with a Test Runner) and are deployed separately. If you have a project called Mvc and a project called Mvc.Test, you're probably not going to want to deploy Mvc.Test to your web server.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top