dotnet / dotnet/msbuild

Question: Why are transitive dependencies not resolved for a custom task in a NuGet package?

Open
#3,448 0 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 6h
Merged PRs (30d)
139

Description

I have a custom MSBuild task that is contained in a NuGet package. The build directory of the package has a target file that uses the task so the user only has to add a package reference for the MSBuild task to execute.

That part works fine. However, package dependencies for my custom task are not being resolved. I have been working on this for several days and cannot figure it out. The attached file is a concise example. Any help would be greatly appreciated.

[MSBuildTaskSample.zip](https://github.com/Microsoft/msbuild/files/2130872/MSBuildTaskSample.zip)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.