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

洪键 丘 0 Reputation points
2023-03-07T03:45:09.3533333+00:00

“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

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,201 Reputation points Microsoft External Staff
    2023-03-07T08:01:18.6866667+00:00

    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. 

    Sincerely,

    Anna


    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.

    Was this answer helpful?