C#C
C#2y 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>

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
Was this page helpful?