C
C#6mo ago
danilwhale

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
1 Reply
danilwhale
danilwhaleOP6mo ago
ended up making script
Want results from more Discord servers?
Add your server