The length of the full path for the solution, project or item – Visual Studio Error

Problem:

Getting following error in visual studio 2012 when trying to add new project to an existing solution:

B1

Solution:

If the name of the project to be added is longer and the directory path is also longer then you are likely to encounter this error in visual studio because there is a limitation on the max length of (project directory path + project name)

A workaround is to create new project by specifying shorter directory path (i.e. folder path should be near to the drive root)

Once project has been successfully created then move it to the desired directory path/folder

Now Add project (as Existing Project) to the solution in visual studio

Symbols for module were not loaded – Visual Studio

Problem:

Getting error message “Symbols for module were not loaded” when trying to debug .Net code that has a reference to another assembly/class library (.dll file) which was already deployed in GAC.

Untitled

Resolution:

This problem/issue got fixed as following:

  1. Exit Visual Studio
  2. Manually uninstall  the dll from GAC (using gacutil.exe)
  3. Reopen solution in Visual Studio
  4. Right click solution in VS and click “Clean Solution” option in context menu
  5. Run/debug code again