C#C
C#15mo ago
Valdiralita

creating a nuget for a custom msbuild task

I'm trying to follow the custom msbuild task tutorial here: https://learn.microsoft.com/en-us/visualstudio/msbuild/tutorial-custom-task-code-generation?view=vs-2022
My problem is that when using dotnet pack the resulting nupkg file doesnt contain any binaries.
All required binaries are present in the ./bin/Release/netstandard2.0/ folder, they are just not packed into the nupkg.
When inspecting the nupkg, there is no lib folder inside, i can see my .props file in the build folder though.
Any ideas why that may happen?
Was this page helpful?