So after the good advice given by the excellent people on Stack Overflow (I love this site). I thought I'd try a simple test. I knocked up a quick "hello world" console app in VS2015.
Did a "Save All" and here are the files that were there:
C:.
│ ConsoleApplication8.sln
│
└───ConsoleApplication8
│ App.config
│ ConsoleApplication8.csproj
│ Program.cs
│
├───bin
│ └───Debug
│ ConsoleApplication8.exe.config
│ ConsoleApplication8.vshost.exe
│ ConsoleApplication8.vshost.exe.config
│ ConsoleApplication8.vshost.exe.manifest
│
├───obj
│ └───Debug
│ │ ConsoleApplication8.csproj.FileListAbsolute.txt
│ │ DesignTimeResolveAssemblyReferencesInput.cache
│ │ TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │
│ └───TempPE
└───Properties
AssemblyInfo.cs
I then built and ran the project and these are the files that were there after that:
C:.
│ ConsoleApplication8.sln
│
└───ConsoleApplication8
│ App.config
│ ConsoleApplication8.csproj
│ Program.cs
│
├───bin
│ └───Debug
│ ConsoleApplication8.exe
│ ConsoleApplication8.exe.config
│ ConsoleApplication8.pdb
│ ConsoleApplication8.vshost.exe
│ ConsoleApplication8.vshost.exe.config
│ ConsoleApplication8.vshost.exe.manifest
│
├───obj
│ └───Debug
│ │ ConsoleApplication8.csproj.FileListAbsolute.txt
│ │ ConsoleApplication8.csprojResolveAssemblyReference.cache
│ │ ConsoleApplication8.exe
│ │ ConsoleApplication8.pdb
│ │ DesignTimeResolveAssemblyReferencesInput.cache
│ │ TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │
│ └───TempPE
└───Properties
AssemblyInfo.cs
The extra files being:
ConsoleApplication8\bin\Debug\ConsoleApplication8.exe
ConsoleApplication8\bin\Debug\ConsoleApplication8.pdb
ConsoleApplication8\obj\Debug\ConsoleApplication8.csprojResolveAssemblyReference.cache
ConsoleApplication8\obj\Debug\ConsoleApplication8.exe
ConsoleApplication8\obj\Debug\ConsoleApplication8.pdb
So next, I deleted the bin and obj folders and reloaded the solution. The bin and obj folders were recreated as they were before build.
Brilliant - thanks all.