Antlr4BuildTasks icon indicating copy to clipboard operation
Antlr4BuildTasks copied to clipboard

Build error

Open chancezheng opened this issue 1 year ago • 2 comments

<ItemGroup>
    <PackageReference Include="Antlr4.Runtime.Standard" Version="4.13.1" />
    <PackageReference Include="Antlr4BuildTasks" Version="12.8.0" PrivateAssets="all"/>
</ItemGroup>

MSB406: can not load task "Antlr4.Build.Tasks.RunAntlrTool", but when my csproj as follows, it build ok

<ItemGroup>
    <PackageReference Include="Antlr4.Runtime.Standard" Version="4.9.3" />
    <PackageReference Include="Antlr4BuildTasks" Version="8.17.0" PrivateAssets="all"/>
</ItemGroup>

chancezheng avatar Oct 23 '24 03:10 chancezheng

We need to see the build output.

Delete the bin/ and obj/ directories. Then, perform the build with diagnostics: dotnet build -v diag and capture the entire output in a .txt file. Please post that in a follow-up comment.

kaby76 avatar Oct 23 '24 08:10 kaby76

thanks, I get the error as #58, when switch the special version it's ok

chancezheng avatar Oct 24 '24 05:10 chancezheng