Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

App.config not found
spolonski
#1 Posted : Wednesday, September 21, 2016 6:47:12 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 7/11/2016(UTC)
Posts: 32
Location: Germany

Thanks: 6 times
Was thanked: 4 time(s) in 4 post(s)
Hi,

I am trying to activate ncrunch for a vsvim solution. https://github.com/jaredpar/VsVim
When NCrunch builds the solution, it fails with an error
Quote:
Could not copy the file "Z:\cl36\tmp\ncrunch\4724\4\References\Vs2015\App.config" because it was not found.

But why ncrunch is trying to copy this file? I don't have any app.config files in the solution.
Remco
#2 Posted : Wednesday, September 21, 2016 12:16:32 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi,

This solution contains custom build steps to copy the app.config file from the references directory into the build output directory.

You can solve this problem by adding "Reference\Vs2015\App.Config" to your solution-level 'Additional files to include' setting.

The subsequent VsVim project build issue can be resolved by making the inclusion of the VS SDK conditional on NCrunch not being loaded, as such:

<Import Condition="Exists($(VsSdkTargets)) and '$(NCrunch)' != '1'" Project="$(VsSdkTargets)" />
1 user thanked Remco for this useful post.
spolonski on 9/21/2016(UTC)
Users browsing this topic
Guest
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.NET
This page was generated in 0.018 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download