Making web application with exe module ?

Last post 10-17-2007 9:59 PM by Benson Yu - MSFT. 4 replies.

Sort Posts:

  • Making web application with exe module ?

    10-16-2007, 9:17 AM
    • Member
      3 point Member
    • viri
    • Member since 10-12-2007, 10:32 AM
    • Posts 15

     Hi

    Im trying to make web application (web application project) with some kind of exe file that can be run to configure web application options (colors, pictures, etc.). If i create Web application project i can only Add New Item.../and i can see only web oriented templates. If i create Windows application project  i can see only windows oriented templates. How to combine windows and web app (it should be easy :) ) ?

  • Re: Making web application with exe module ?

    10-16-2007, 10:08 AM
    • Participant
      1,010 point Participant
    • BradFMJ
    • Member since 03-31-2006, 2:10 PM
    • New York
    • Posts 132

    in vs2005 create your web site. then go to File -> Add -> New Project -> Other Project Types -> Setup and Deployment -> Web Setup Project. When that is created:

    Right click on the Web Setup Project in the Solution Explorer. Select Add -> Project Output. Select your website.

    Right click on the Web Setup Project in the Solution Explorer.  Select View -> Custom Actions. Right Click on Install -> Add Custom Action.

     

     

  • Re: Making web application with exe module ?

    10-17-2007, 2:48 AM
    • Member
      3 point Member
    • viri
    • Member since 10-12-2007, 10:32 AM
    • Posts 15

    I think you didnt read my post only the subject or i made it very unclear what i need. Anyway thx for help. I made it by adding windows app to project (i was a little confused by solution/project relations).

  • Re: Making web application with exe module ?

    10-17-2007, 8:16 AM

    Please read this article and modify it to configure your web app http://msdn2.microsoft.com/en-us/library/ms178701.aspx

    Please Mark Post that helped you as answer, also include a summary of what solved the problem as it helps others in similar situations
  • Re: Making web application with exe module ?

    10-17-2007, 9:59 PM
    Answer

    viri:
    I made it by adding windows app to project (i was a little confused by solution/project relations).
     

    Hi viri,

    Seems you have resolved the issue: “I made it by adding windows app to project”. I think that is the correct way. The available item templates relate to the project type, so we cannot add an item template which doesn’t belong to current project. For example, if current project is a Windows Form application, we cannot add a Web Form template in it. This is the by design behavior because they are totally different and no reason to contain them in one project.

    About the confusing of solution file and project file, hope the following information is helpful to you:

    Solutions are Visual Studio's highest level of organization. They collect any number of projects together under one manageable structure. Solutions store information about the contained projects, including project dependencies and build order.

    Projects contain any number of source files that are compiled into some kind of output. The output could be a Windows Forms, console application, class library, Web Application, and so on.

     

    Sincerely,
    Benson Yu
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.
Page 1 of 1 (5 items)