When I have a .NET core project in Visual Studio, and I tell VS to put the compiled binaries into the "bin" folder, VS will not put the complied binaries into the "bin" folder. Instead, it will put them into the "bin\Debug\net6.0" or "bin\Debug\net6.0-windows" folder. How to prevent VS from doing that?
There is already an answer to your problem in MSDN
<PropertyGroup> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> </PropertyGroup>