Solved

windows form in rest service master

Posted on 2016-10-03
2
29 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

710 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