Solved

windows form in rest service master

Posted on 2016-10-03
2
22 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

How our DevOps Teams Maximize Uptime

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

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

820 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