Skip to content

How to correctly derive from TrackedVCToolTask and reference Microsoft.Build.CPPTasks? #7057

Answered by snalexp
snalexp asked this question in Q&A
Discussion options

You must be logged in to vote

This question has broadly been answered over on Developer Community.

I won't reproduce all the details of the thread, but the gist from it is:

Quoting Olga Arkhipova [MSFT]:

Having redirection to the latest Microsoft.Build.CPPTasks.Common.dll in VS 2019 was causing problems in a number of scenarios. In VS 2022 we created another assembly can be used for referencing cpp tasks classes and which will not change the version untill next major Visual Studio release.

It you own the tasks that reference Microsoft.Build.CPPTasks.Common.dll, please change them to reference
Microsoft.Build.CPPTasks.Common.Base.dll - its content is identical to Microsoft.Build.CPPTasks.Common.dll, but its version w…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rainersigwald
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant