How to solve error: A Project with an output type of Class Library cannot be started directly
By aj li
This happens when running a program in Visual studio.
Right click on the project that has your web.config or app.config.
Select 'Set as a Startup Project'
How to solve error: A Project with an output type of Class Library cannot be started directly (405 Views)
in web application. using asp.net You can create class library project in .NET and then reference that class library in your web application. But when creating class library for web application, dont forget to add reference to System for web application and hence you want to use your library for web application, you must include it. If you will To create an dll you will need to create a project class library project . In this project you will create your reportclass.vb class file. When you use this in your website you can either add a project reference to this class library project, or add a file
Iam tryng to create a setup project for my program Iam tryng to create a setup project for my program and when i try to add a project output it doesnt show up in there, is it beacause it this Hi, try this • If you have just taken the project solution source from elsewhere, you would need to add the the client machine. • Did you right-click on the Setup Project in the Solution Explorer and choose Add-File and select the missing files.? • Select the Properties of the Setup Project and choose Publish - Prerequisties - Add the Dependancies • Did you manage install using Visual Studio you can • create a Setup Wizard Project. • Select File | New Project then in the New Project dialog expand the Other Project Types and • select Setup and
solution file, i get the following error. plz help. "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." From what I 've noticed here, You' ve accidentally either not set the project startup file, or set it to a class and not
visual Studio 2008 ( coded in C# ) How to make this project as a setup package. . ? I wish to create a desktop icon while installing the project, and set the default location of project installing is Program Files / Company Name Regards. . . . . . . . . . . Create an EXE provides templates for four types of deployment projects: Merge Module Project, Setup Project, Web Setup Project, and Cab Project. In addition, a Setup wizard is provided to help step can see the templates and the wizard in the New Project dialog box under the Setup and Deployment Projects node. The following are guidelines for choosing the right type of deployment project for your project. 1) Merge Module Project : Packages components that might be shared
CREATE Class Library in windows application in C# visual studio 2010 hi, how can i create a class library in my windows form in C#? thanks a lot Hello To create class library in windows application follow the steps. • Create New Project • Select Class Library Project • Write your all the functions required by you • Build that project • Go to your BIN directory you will be able to see DLL file with the same name of your project. • Now to use this DLL in your windows application • Right need more information regarding this. Thank you. Create a new project and select Class Library, Write all your code methods, and remember the namespace, you
A project with an Output Tye of Class Library cannot be started. HELP! this is my code in calling tha class library (which is now a .DLL) in my button click: using but when i debug it, an error appears saying: A project with an Output Tye of Class Library cannot be started. it said that I should add an executable project to my solution, , but i don't know how to the same guy that asked about how to create class library, The project you use compiles into dll assembly and provide a set
Web control library button click event does not fire Hi, I have created a web control library project. I created a button as follows: Button btnAssign = new Button rendering was done as follows: protected override void RenderContents(HtmlTextWriter output) { AddAttributesToRender(output); myPanel.RenderControl(output); } I have added a trace just to see whether it EventArgs e) { Page.Trace.Warn("btnAssign_Click"); } I created a web project to test the control and set the trace to true test page is loaded the button from the web control library appears. When I click it nothing happens (does not enter
create that on. plz reply asap. Creating a Web Setup Project using Visual Studio Follow below guidelines to create msi installer file). 2. Select File (in the menu bar) > > Add > > New Project 3. ‘Add New Project’ Dialog box appears 1. Select Project type as Other Project Types > > SetUp and Deployment. 2. Select the Template as Web Setup Project. 3. Note : – Select the Location, where we want, the msi msi file is installed. 4. File System of the created project will be opened. Under File System on Target Machine > > Expand installed. 5. Right click on Web Application Folder > > Select Add > > Project Out Put > > Add Project Output Group Dialog box will appear > > Select the Primary OutPut in