Visual Studio compile error on any base tool added

Discussion created by afmaps on Nov 28, 2011
Latest reply on Nov 6, 2012 by hsiddique
Hi everyone, I just got a new computer with widows 7 installed and have been trying to create a project with a tool. However every single time i build it, i get

Error 1 Cannot register assembly "C:\Users\Administrator\AppData\Local\Temporary Projects\ArcMapAddin1\bin\Release\ArcMapAddin1.dll". Could not load file or assembly 'ESRI.ArcGIS.Desktop.AddIns, Version=, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified. ArcMapAddin1

I tried loading one of the sample tools from arc, but this is also happening with these. Ran visual studio as admin as well as myself. Really annoying since then i cannot remove the tool from the project, and run the project without it as the error still exists.

Please can someone at least explain why this is happening