Trados is not loading the plugin when rebuilding

 I am having trouble debugging plugins  when rebuilding with SDL Trados 2011 and Visual Studio 2010.
According to the documentation about Build and Debug suggestions:
I used this command to delete previous unpacked version of the plugin and use the latest version:

rmdir /S /Q "C:\Users\<UserName>\AppData\Local\SDL\SDL Trados Studio\10\Plugins\Unpacked\Sdl.Sdk.FileTypeSupport.Samples.Bil"
or I deleted it manually.
After making changes and rebuilding, Trados was not detecting that there is a plug in at all but the plugin itself was at:
C:\Users\<UserName>\AppData\Local\SDL\SDL Trados Studio\10\Plugins\Packages
and the package was present at:
C:\Users\<UserName>\AppData\Local\SDL\SDL Trados Studio\10\Plugins\Unpacked\
Any idea why this could be happening?