Can i publish exe of 2.0 framework using clickonce of visual studio 2010? How to publish any application using click once but without installing visual studio on it.

Unanswered Can i publish exe of 2.0 framework using clickonce of visual studio 2010? How to publish any application using click once but without installing visual studio on it.

  • Monday, August 06, 2012 6:40 PM
     
     

    I am working on visual studio 2010 but due to my third party tool (i.e. compatible with framework 2.0) i have to build it in 2.0 framework.I am trying to publish my exe using clickOnce but i am facing few problems 

    1. I am trying to publish exe in windows server 2008 and xp too. Here i am creating certificate in another system and using it in server or in which i want to publish my exe,as i am publishing it (using that certificate),it gives error during downloading that application.I want to know that is there any way to publish any exe using certificate that is not created on server.I want to one more think that it is possible to publish exe after only installing clickonce if yes then what is the procedure.

    2. i want to publish exe of framework 2.0 in visual studio 2010 clickonce but i am getting some error can you suggest me that is it possible to publish exe of 2.0 framework in higher verison.

    I think i am using a wrong approach because i am installing whole visual studio on server then i am creating certificate on that server and after that i am able to publish my exe.Is there any why to publish exe without installing whole visual studio and using certificate that is generated in another system.

All Replies

  • Wednesday, August 08, 2012 11:55 AM
    Moderator
     
     

    Hi Alok,

    If you are developing application with .NET Framework 2.0, you can use prerequisites to install .NET Framework on target machine. You can create your own prerequisites using Bootstrapper Manifest Generator.

    http://www.codeproject.com/Articles/15863/Add-your-own-custom-prerequisite-to-quot-ClickOnce

    You may look at this to publish application without using Visual Studio.

    Walkthrough: Manually Deploying a ClickOnce Application

    What error have you got when downloading the application? What error when publishing? Could you please give more information about this? Do you mean you create your own certificate, not bought from CA? Are there any error with the certificate?

    Best regards,


    Chester Hong
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Friday, August 10, 2012 7:12 AM
    Moderator
     
     

    Hi Alok,

    VS2010 should let you target applications using .NET 2.0.

    1. What do you mean you are trying to pubolish the app in WS2008 and XP? Are you using Visual Studio to publish the app, or some other means?

    "i am publishing it... it gives error"

    What error does it give?

    2. Again, what is the error?

    If you want help, please provide more details.

    RobinDotNet


    Click here to visit my ClickOnce blog!
    Microsoft MVP, Client App Dev