Microsoft.Cpp.props(47,89): error MSB4066: Attribute 'Sdk' in element<Import>is not recognized.

洪键 丘 0 Reputation points

“msbuild ur_rtde.sln /property:Configuration=Debug /maxcpucount:8”

When I use this in the cmd ,An error occurred:Microsoft.Cpp.props(47,89): error MSB4066: Attribute 'Sdk' in element<Import>is not recognized**.**User's image

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,673 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 26,476 Reputation points Microsoft Vendor

    Hi @洪键 丘, 

    Welcome to Microsoft Q&A! 

    The Sdk is an optional attribute, please try to remove it from <Import> element. (Before modification, please back-up it)

    If it doesn’t work, please share me your <Import> entry from .vcxproj file. 



    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.