Why can’t I create an Excel VSTO workbook project in Visual Studio 2010

excel-2010visual studio 2010vsto

I try to create an Excel 2010 workbook project in Visual studio. I go into Visual Studio and Choose new project and choose Excel 2010 Workbook and then i just get a pop up that says "The project cannot be created" with no other info

enter image description here

any suggestions why VS 2010 is not letting me create an Excel workbook project? (It does create an Excel addin project fine). This error message above is not very helpful. Given that the error message is not very helpful is there anyway to debug to get more information that would make this question easier to answer

Best Answer

I got a similar error - in order to fix it, while in Excel I went to Options -> Add-ins -> Manage Excel Add-ins -> Automation -> and Selected "Visual Studio Tools for Office Design-Time Adaptor for Excel". Then restart Excel and (if you had the same issue) you should be good to go.