C
C#2y ago
Aragubas

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
phaseshift
phaseshift2y ago
I don't think you need to stop that What is your actual problem Do you know about 'dotnet publish'?
Aragubas
AragubasOP2y ago
hm yes, but I would like to have the debug build not create this extra directories
phaseshift
phaseshift2y ago
So what is wrong with dotnet publish
Aragubas
AragubasOP2y ago
isn't dotnet publish a release build only mode? because I still want to debug the plugin
phaseshift
phaseshift2y ago
No
Aragubas
AragubasOP2y ago
Ooo 👀 so dotnet publish doesn't generate these extra directories?
phaseshift
phaseshift2y ago
You can pick the directory to publish to. Look at the docs 👍
Aragubas
AragubasOP2y ago
Ok! thanks!
Want results from more Discord servers?
Add your server