C
C#7mo ago
Dongle

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
Dongle
DongleOP7mo ago
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.
Petris
Petris7mo ago
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

Did you find this page helpful?