Error with newer version than assembly referenced in SDK for VisualStudio 2019

Asked 2 years ago, Updated 2 years ago, 51 views

We would like to develop using the SDK of VisualStudio 2019. Sample code
https://github.com/Microsoft/VSSDK-Extensibility-Samples
I've tried using the ErrorList in , but I'm having trouble with the following error.

Error CS1705 Assembly 'Microsoft.VisualStudio.Text.UI' (ID'Microsoft.VisualStudio.Text.UI, Version= 16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') is referenced by the Assembly 'Microsoft.VisualStudio' 

I looked it up on Google from the error code, but the solution's NuGet package management told me to update the package(?), so I couldn't get rid of the error.

Can't the latest VisualStudio 2019 develop SDKs for old projects?
What should I do to cancel the error?
Also, how do experts acquire knowledge, techniques, etc. of VisualStudioSDK development?

c# visual-studio

2022-09-30 14:45

1 Answers

Dear Kunif, I apologize for the late reply.
Thank you for the information.I used it as a reference.

As for the situation, I was able to cancel the error for now.
The mistake was that the target framework was too old to be updated, so I managed to manage the NuGet package for the solution at 4.7.2, and the error managed to pass.

However, even if it works, it doesn't work as per Readme.md in github, so we are verifying and debugging whether it was correct. Thank you for the information.


2022-09-30 14:45

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.