I have a problem with Copy to Output functionality in Visual Studio 2008. Perhaps I don’t understand how it should work.
I have a solution with four projects:
- TestApp1 (Windows application)
- TestAppA (Windows Application)
- TestProj1 (class library)
- TestProjA (class library)
Dependencies are as follows (dependency as in the link to the project).
- TestProj1 does not depend on anything.
- TestApp1 depends on TestProj1
- TestProjA Depends on TestProj1
- TestAppA depends on TestProjA (and therefore indirectly on TestProj1)
In other words, the dependency tree is as follows.
TestApp1
TestProj1
TestProjA
TestProj1
TestAppA
TestProjA
TestProj1
(each project has a link to standard assemblies (system, system.core, etc.))
TestProj1 Test.txt. "Build Action: Content" "Copy to Output Directory: Copy always".
, Test.txt
- TestApp1\Bin\Debug
- TestProj1\Bin\Debug
- TestProjA\Bin\Debug
TestAppA\bin\debug, , . TestProj1 Test.txt , TestAppA TestProj1, TestProjA TestApp1 .
TestAppA TestProj1 ( TestProj1, - TestProjA), TestAppA\bin\debug.
, , Test.txt TestAppA\bin\debug, .
, : Test.txt TestAppA\Bin\debug?