Microsoft
Visual Studio
Visual Studio
  • Home
    • Problems
    • Suggestions
  • Downloads
    • Visual Studio IDE
    • Visual Studio Code
    • Azure DevOps
    • Team Foundation Server
    • Accounts and Subscriptions
  • Subscriber Access
      • Microsoft 365
      • Azure
      • Office 365
      • Dynamics 365
      • SQL
      • Windows 10
      • Windows Server
      • Enterprise Mobility + Security
      • Power BI
      • Teams
      • Visual Studio
      • Surface for Business
      • AI
      • Internet of Things
      • Azure Cognitive Services
      • Quantum
      • Research
      • Docs
      • TechNet
      • Developer Network
      • Windows Dev Center
      • Windows IT Pro Center
      • FastTrack
      • Partner Network
      • Solution Providers
      • Partner Center
      • Cloud Hosting
      • Education
      • Financial services
      • Government
      • Health
      • Manufacturing & resources
      • Retail
      • Security
      • Licensing
      • AppSource
      • Azure Marketplace
      • Events
    • View all
    Sign in

    Developer Community

    Get help from our community supported forum
    • Home /
    • Visual Studio /
    Searched and didn’t find your feedback?
    • Visual Studio
    • Visual Studio for Mac
    • .NET
    • C++
    • Azure DevOps
    • TFS
    or
    • Visual Studio
    • Visual Studio for Mac
    • .NET
    • C++
    • Azure DevOps
    • TFS
    Visual Studio
    Visual Studio for Mac
    .NET
    C++
    Azure DevOps
    TFS
    2

    Error MSB4096 since update 15.8.5 VB Winforms .NET 4.7.1

    visual studio 2017 version 15.8windows 10.0debugger

    avatar image gbuenrostro reported Sep 26, 2018 at 03:34 PM

    thub.nodes.view.add-new-comment
    Add comment Show 2

    Add Comment

    10 |10000 characters needed characters left characters exceeded
    avatar image Jane Wu [MSFT] ♦ · Sep 27, 2018 at 06:25 AM 1
    Share
    avatar image Marco Casella · Oct 03, 2018 at 07:03 AM 0
    Share

    Solutions

    · Add your solution
    0

    Solution by avatar image Roger Hünen · Oct 20, 2018 at 05:57 AM

    In had a similar issue with a Nuget package that I fixed by qualifying the CopyLocal metadata property in the Condition clause as suggested in the error message.

    In Microsoft.Common.CurrentVersion.targets there is a line where CopyLocal is referenced unqualified where it should be qualified:

    <_CopyLocalFalseRefPaths Include="@(ReferencePath)" Condition="'%(CopyLocal)' == 'false'" />

    Replacing '%(CopyLocal)' by '%(ReferencePath.CopyLocal)' should fix the problem.

    PS. I have deleted my original contribution here because the cause of the issue I was experiencing was a bug in a Nuget package, not a Visual Studio issue.

    thub.nodes.view.add-new-comment
    Add comment · Share

    Add Comment

    10 |10000 characters needed characters left characters exceeded

    Add a Solution

    Up to 5 attachments (including images) can be used with a maximum of 2.1 GB each and 2.1 GB total.

    Follow

    62 People are following this

    Related Problems

    "Please wait for an editor command to finish" on each webpack /typescript build
    0 Solution

    SlowCheetah 3.0.66 is causing massive build issues, and only started recently.
    1 Solution

    Visual Studio 2017 data flow SSIS finished but intermediate steps waiting
    0 Solution

    Workflow error each time after windows update
    0 Solution

    Screen Jumping Around
    1 Solution

    Cannot connect to runtime process, timeout aft 10000ms
    0 Solution

    Visual Studio deselects or loses list of iOS Simulators
    0 Solution

    Debug with "Remote (no authentication)" kills keyboard dialog navigation
    0 Solution

    Error Using Redirect "Attach Debugger to Azure Webjob fails in Cloud Explorer
    2 Solution

    What's new

    • NEW Surface Pro 6
    • NEW Surface Laptop 2
    • NEW Surface Go
    • Xbox One X
    • Xbox One S
    • VR & mixed reality
    • Windows 10 apps
    • Office apps

    Store & Support

    • Account profile
    • Download Center
    • Sales & support
    • Returns
    • Order tracking
    • Store locations
    • Support
    • Buy online, pick up in store

    Education

    • Microsoft in education
    • Office for students
    • Office 365 for schools
    • Deals for students & parents
    • Microsoft Azure in education

    Enterprise

    • Microsoft Azure
    • Enterprise
    • Data platform
    • Find a solution provider
    • Microsoft partner resources
    • Microsoft AppSource
    • Manufacturing & resources
    • Financial services

    Developer

    • Microsoft Visual Studio
    • Windows Dev Center
    • Developer Network
    • TechNet
    • Microsoft developer program
    • Channel 9
    • Office Dev Center

    Company

    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Sitemap
    • Contact us
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2018
    • Anonymous
    • Sign in
    • Spaces
    • Visual Studio
    • Visual Studio for Mac
    • .NET
    • C++
    • Azure DevOps
    • TFS
    • Explore
    • Topics
    • Problems
    • Problems
    • Problems
    • Features
    • Features
    • Features
    • Users
    • Badges