a dependency of target 'PostSharp30ChangeAppConfig', not found.

vdharma115's Avatar

vdharma115

08 Jun, 2017 11:18 AM

I'm getting the following error after I reinstalling PostSharp.
"Error: Target 'CopyFilesToOutputDirectory', a dependency of target 'PostSharp30ChangeAppConfig', not found. ".
How do I solve this problem?

  1. Support Staff 1 Posted by PostSharp Techn... on 14 Jun, 2017 02:19 PM

    PostSharp Technologies's Avatar

    Hello,

    The "CopyFilesToOutputDirectory" target is the standard target from the Microsoft .NET build system. Please make sure that in your csproj file the "Import" line for PostSharp.targets is after the "Import" line for Microsoft.CSharp.targets or any other Microsoft build targets.

    By default, installing the PostSharp NuGet package should add the "Import" line in the correct place. However, it looks like something went wrong in your case.

    -alex

  2. Support Staff 2 Posted by PostSharp Techn... on 26 Jun, 2017 10:55 AM

    PostSharp Technologies's Avatar

    Hello,

    We are going to close this request as there have not been any further updates. Please feel free to reopen the discussion if you need more help.

    Thanks,
    PostSharp Team

  3. PostSharp Technologies closed this discussion on 26 Jun, 2017 10:55 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? 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