CopyToOutputDirectory is not including directories

I'm doing a project here i'm working on 2 diferent computers, one is Windows with Visual Studio and the other is Linux with VS code. In windows, the project runs well, without any errors and everything in the right subdirectory, but when i try to compile in linux, the program returns a runtime error saying it cannot find the files cause they are not in the right directories.
6 Replies
tired_weirdo_girl
this is how the files are organized
No description
tired_weirdo_girl
this is how it is when built (all the .a files should be inside Libs/Std/)
No description
tired_weirdo_girl
this is the command inside the .csproj
<ItemGroup>
<None Update="Libs\**\*"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<None Update="Libs\**\*"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
wasabi
wasabi3w ago
Is that ItemGroup inside of a target?
tired_weirdo_girl
this is the entire file
No description
tired_weirdo_girl
it is being refered by another TUI aplication assembly it was a bug, something updated and now it's working properly

Did you find this page helpful?