danilwhale
danilwhale
CC#
Created by danilwhale on 6/17/2024 in #help
MSBuild doesn't detect files created using Target
i currently have target like this:
<Target Name="GenerateBinding" BeforeTargets="BuildGenerateSources">
<Exec Command="ClangSharpPInvokeGenerator @(ClangSharpArgs, ' ')" ContinueOnError="true"/>
</Target>
<Target Name="GenerateBinding" BeforeTargets="BuildGenerateSources">
<Exec Command="ClangSharpPInvokeGenerator @(ClangSharpArgs, ' ')" ContinueOnError="true"/>
</Target>
it generates binding and then some classes use them, but even if its called before build, its still throws tons of errors, because it cant find classes from binding
2 replies