NCrunch Forum
»
General Support
»
Build/Test Issues
»
Issue with 'Copy Referenced Assemblies To Workspace'
Rank: Advanced Member
Groups: Registered
Joined: 7/4/2012(UTC) Posts: 35
Was thanked: 2 time(s) in 2 post(s)
|
I have the following problem:
Project A has a specfic NLog.config file.
TestProject B references Project A. Project B has a different NLog.config file. For project B 'Copy Referenced Assemblies To Workspace' is selected. The workspace folder of project B now contains the NLog.config file from project A.
With the normal build system from Visual Studio it would contain the NLog.config file from project B.
Is it possible to fix this?
Regards
Wilhelm
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,144
Thanks: 959 times Was thanked: 1290 time(s) in 1196 post(s)
|
Hi Wilhelm,
Thanks for reporting this. I've done some quick tests and confirmed that this issue is caused by NCrunch overwriting existing files when copying referenced resource files across projects - something that MSBuild/VS doesn't normally do.
Do you mind if I include a fix for this in the next release?
Cheers,
Remco
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/4/2012(UTC) Posts: 35
Was thanked: 2 time(s) in 2 post(s)
|
Would be fine if it is fixed in the next release. The current workaround is to use assembly specific config files, which have different names, and to include the NLog.config info in these config files.
Greetings
Wilhelm
|
1 user thanked wilhelmmedetz for this useful post.
|
|
|
NCrunch Forum
»
General Support
»
Build/Test Issues
»
Issue with 'Copy Referenced Assemblies To Workspace'
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
YAF |
YAF © 2003-2011, Yet Another Forum.NETThis page was generated in 0.024 seconds.