© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
17mo ago
•
12 replies
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
dotnet pack
the resulting
nupkg
nupkg
file doesnt contain any binaries
.
All required binaries are present in the
./bin/Release/netstandard2.0/
./bin/Release/netstandard2.0/
folder
, they are just not packed into the
nupkg
nupkg
.
When inspecting the
nupkg
nupkg
, there is no
lib
lib
folder inside
, i can see my
.props file in the
build
build
folder though
.
Any ideas why that may happen
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Custom msbuild task
C
C# / help
16mo ago
MSBuild tasks, external dependencies and NuGet
C
C# / help
2y ago
Custom MSBuild task fails to load `System.Runtime`
C
C# / help
3y ago
Create MSBuild custom task to modify C# files before compilation
C
C# / help
10mo ago