How do i stop dotnet from adding Debug net6.0 subfolder to my output path?
I'm making a project with plugin system, and I need the output path to be exactly the one I specify, without additional subfolders, but when I compile dotnet adds this Debug\net6.0\ subfolder to the output path and it makes the output path messy
8 Replies
I don't think you need to stop that
What is your actual problem
Do you know about 'dotnet publish'?
hm yes, but I would like to have the debug build not create this extra directories
So what is wrong with dotnet publish
isn't dotnet publish a release build only mode? because I still want to debug the plugin
No
Ooo 👀
so dotnet publish doesn't generate these extra directories?
You can pick the directory to publish to. Look at the docs 👍
Ok! thanks!