I have just developed a small internal application and I'm using Octopus Deploy as the deployment software. I've been using Octopus for a number of years now without issue. However, I've just hit a rather strange "thing" which has got me a bit stumped! When onto packing, the Roslyn folder gets put in a bin/bin/ folder. So I get the following error: "Could not find part of the path 'XXXXXX\bin\roslyn\csc.exe" This is because csc.exe is the double bin folder: bin/bin/roslyn/csc.exe In the solution explorer, Roslyn is in a single bin folder, as expected. Somehow, when Octopacking the solution, it creates a double bin folder. I've never come across this before.
I've removed the obj and bin folders, cleaned the solution and rebuilt the solution, it still creates a double bin folder. I'm using VS 2017 Ver: 15.8.1