C#C
C#2y ago
Ruttie

Files not copying to output directory - Linux

I have the following in my csproj:
        <PackageReference Include="MonoMod" Version="21.4.29.1">
            <IncludeAssets>all</IncludeAssets>
        </PackageReference>
        <PackageReference Include="MonoMod.RuntimeDetour" Version="21.4.29.1">
            <IncludeAssets>all</IncludeAssets>
        </PackageReference>
        <PackageReference Include="MonoMod.RuntimeDetour.HookGen" Version="21.4.29.1">
            <IncludeAssets>all</IncludeAssets>
        </PackageReference>
however, when using <Exec WorkingDirectory="@(BuildDir)" Command="$(Mono) MonoMod.exe TestDll.dll" /> in one of my PostBuild targets, it fails saying that MonoMod.exe does not exist.
Why does this happen?
Was this page helpful?