So, I\'m working on this project between my laptop and my desktop.
The project works on the laptop, but now having copied the updated source code onto the desktop, I
From the MSDN website:
This error frequently occurs if you declare a variable in a loop or a try or if block and then attempt to access it from an enclosing code block or a separate code block.
So declare the variable outside the block.