Asp.net Core bin vs bin/debug
Hi - hopefully easy question but i have a legacy project im taking over. If i set output folder to bin, i can debug no worries. if i use bin/debug and bin/release, then bin/ stays empty (obv the bin/debug still gets created) but when i debug, i get dll cant be found. I thought ive always kept bin clean and use bin/debug before but now im not sure
49 Replies
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
ive always deleted those 2 when i was back in the vb.net world
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
becuase build rebuilt them
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
and i didnt check in bin/obj into git ever
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
but when i debug, i get dll not found errors if theres no dlls in bin
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
they are in bin/debug, but not bin
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
so if i want to build in bin different for debug/release tho?
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
how do i manage diferent builds ?
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
in my project settings, should i go back and change output folder for all configurations back to bin/ and not bin/debug vs bin/release?
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
i can delete those 2 in full
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
the entire bin and obj folders
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
yes but for my .csproj file
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
where should i set output to
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
so delete whats in there and leave it empty
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
its a work repo, i cant
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
i guess the root of it is every project i worked on in the past had bin/ bin/release bin/debug, and now its not working
but ill make a new project and use that as my goby
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
im going back because now i think im using .net framework
i thought this project was core but that might have been a bad assumption
ya its framework
thats dumb
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
i thought it was. i could have sworn i saw core thorughout the project
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
.net framework 4.6.1 apparently
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
there is a global asax
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
its fine, im gonna do what you said and make a new project as a template
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
that was a good call
i hadnt thought about that
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
lol okay will do, ill make a new one
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View