Trying to compile SoapBoxSnap using MS Visual Studio 2010 (Ultimate) and getting the following error:

"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"

To fix this, I tried setting as the startup project but I guess something else needs to be done as well.

Questions: 1. What module needs to be setup as the startup project? 2. Is there anything else that needs to be done after that project is set as the startup?

Thanks in advance!!!

asked 10 Nov '13, 18:51

fronzio's gravatar image

accept rate: 0%

You are right to set SoapBox.Core.Host as the startup project. You also have to make sure that all the assemblies are building into the same folder (..\..\bin?). Because of the use of MEF, Visual Studio doesn't understand the dependencies, so it won't build the other projects if you just hit run. Do a rebuild all, then try running it.


answered 11 Nov '13, 06:31

Scott's gravatar image

Scott ♦♦
accept rate: 13%

edited 11 Nov '13, 06:37

Got it! Thanks!

Is there a design document available for this tool? I see that most of the documentation available is for users but nothing really for developers.


answered 11 Nov '13, 21:41

fronzio's gravatar image

accept rate: 0%

No, there isn't a design document, just the site. However, feel free to contact me if you have questions: scott at should work.

(12 Nov '13, 06:30) Scott ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 10 Nov '13, 18:51

Seen: 15,664 times

Last updated: 12 Nov '13, 06:30

Related questions

powered by OSQA