I’d never worked with Visual Studio before and for a long time I’d forget to commit changes to the project file, so that everything worked locally but when my colleague pushed changes, there was no reference to new files and the site would compile without them.
The bit that hung me up was that the files themselves WERE committed and present, and the other developer could see them, but since they weren't referenced in the .csproj file, they didn't make it production. I don't know how many times I did that in the early going.
I’d never worked with Visual Studio before and for a long time I’d forget to commit changes to the project file, so that everything worked locally but when my colleague pushed changes, there was no reference to new files and the site would compile without them.
A classic "works on my machine" 😄
Forget committing changes. Backup the rest of your work and send your laptop up to prod!
The bit that hung me up was that the files themselves WERE committed and present, and the other developer could see them, but since they weren't referenced in the .csproj file, they didn't make it production. I don't know how many times I did that in the early going.
Oh that's so weird. I've not worked with C# or Visual Studio and this would definitely catch me out.