C
C#5mo 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>
<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?
1 Reply
Ruttie
RuttieOP5mo ago
Figured it out, the netstandard2.0 version of MonoMod does not have an exe (duh)
Want results from more Discord servers?
Add your server