I have created an automation Addin project with the NetOffice Developer Toolbox. I want to create a TaskPane. When I start the project it throws the following exception:
>A project with an Output Type of Class Library cannot be started directly.
>
>In order to debug this project, add an executable project to this solution which references the library project. >Set the executable project as the startup project.
May someone can tell me what is necessary to start the TaskPane.
I didn't change anything in the solution. (see in attachments)
It may relates to this Error:
>Severity Code Description Project File Line Suppression State
Error Cannot register assembly "C:\Users\felix.fritschi\Documents\MailImport\MailImport\bin\Debug\MailImport.dll" - access denied. Please make sure you're running the application as administrator. Access to the registry key 'HKEY_CLASSES_ROOT\MailImport.Addin' is denied. MailImport
I appreciate any help.