MSBuild tasks, external dependencies and NuGet
How do you handle external dependencies, as in dependencies that are not provided by MSBuild itself, such as
System.Text.Json
for MSBuild Framework, when packaging MSBuild tasks into NuGet?2 Replies
I was trying to see if there are any one-way-fits-all rather than manually specifying each dependency, but it seems like no such thing exists.
The latter is problematic cause VS or another package can overwrite your assembly with an older version
Iirc VS did that with Cecil in the past