external config file reference error

mark.garcia's Avatar


08 May, 2019 05:19 AM

This is how we've setup our config. I just enabled mvc view build to true but when it gets deployed now to appveyor, the build fails now with the not found error (screen cap attached)

web.config snippet
<connectionStrings configSource="ConnectionStrings_Debug.config"></connectionStrings>

How can I go around this please

  1. Support Staff 1 Posted by Ilya Finkelshte... on 09 May, 2019 01:41 AM

    Ilya Finkelshteyn's Avatar

    Hi Mark,

    It would be good to have more detailed information about the problem, but from what I see, it seems that file is not copied to the folder your test expects it to be. This exposed on AppVeyor because it runs builds on fresh VMs and will be probably reproduced on any non-AppVeyor fresh VM the same way. I would look into Copy to Output Directory setting.


  2. 2 Posted by mark.garcia on 09 May, 2019 05:42 AM

    mark.garcia's Avatar

    The thing is I don't want to include these files in git.

    Mark Garcia
    Senior .Net Developer
    E: [email blocked]
    M: +6596460431 / +639171406797


  3. Support Staff 3 Posted by Ilya Finkelshte... on 09 May, 2019 08:53 PM

    Ilya Finkelshteyn's Avatar

    But the same time you have some test which depend of this specific file? We really need more detailed explanation to be able to help.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • edit1.png 4.88 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac