© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
4 replies
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# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Custom msbuild task
C#CC# / help
16mo ago
MSBuild task that shouldn't run in CI
C#CC# / help
3y ago
Custom MSBuild task fails to load `System.Runtime`
C#CC# / help
3y ago
✅ [SOLVED] MSBuild Task says file does not exist
C#CC# / help
10mo ago