Search
Setup for Free
C
C#
•
3y ago
MrScautHD
❔ MSBuild: How to call own Task in the .csproj
Hi i tried to call my task in the
. csproj but idk how
, that is what i tried
:
<Target Name="Headless"> <HeadlessTask SourceFile="*.cs" /> </Target>
<Target Name="Headless"> <HeadlessTask SourceFile="*.cs" /> </Target>
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,129
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
<
Target
Name
=
"Headless"
>
<
HeadlessTask SourceFile
=
"*.cs"
/>
</
Target
>
<
Target
Name
=
"Headless"
>
<
HeadlessTask SourceFile
=
"*.cs"
/>
</
Target
>
Similar Threads
Custom msbuild task
C
C# / help
15mo ago
MSBuild task that shouldn't run in CI
C
C# / help
3y ago
Custom MSBuild task fails to load `System.Runtime`
C
C# / help
3y ago
✅ [SOLVED] MSBuild Task says file does not exist
C
C# / help
9mo ago