I recently renamed my root TFS folder from D:\\TFS\\systemstfs to D:\\TFS\\sys because one of the project\'s paths was too long for Windows. Now, when
D:\\TFS\\systemstfs
D:\\TFS\\sys
I solved this by going into the project properties > Web > and clicking "Create virtual directory" then I didn't have to change my ports.