Solved

windows form in rest service master

Posted on 2016-10-03
2
21 Views
Last Modified: 2016-10-22
I have created a windows form in rest service master itself. I am not able to run this project. I get an error called'' the project with an output type of class library cannot be started directly'' It is asking to attach a process. Please help me in solving this.
0
Comment
Question by:prasanth k
  • 2
2 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 500 total points (awarded by participants)
ID: 41826160
A class library is a collection of one one or more classes.  They are used by other projects eg. a Windows Form project.

>>Please help me in solving this.
Create a windows form project and add this class library to the new project.  Then in the winform create an instance of the form you wish to view and show that form.
eg.
MyClassLibraryForm frm = new MyClassLibraryForm();
frm.Show();
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 41855080
Class libraries aren't stand alone.  This is a way to use functionality in a library.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question