Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. ClickOnce problem: 1 solutionfile, 2 windows forms projects

ClickOnce problem: 1 solutionfile, 2 windows forms projects

Scheduled Pinned Locked Moved Windows Forms
helpcsharpvisual-studiowinformstutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mSh1985
    wrote on last edited by
    #1

    I don't know on which forum i should post this, so i hope this is the right one since it has to do with windows forms projects.. The problem is the following, i have 2 simple projects (both windows application projects). Both the projects contain 1 form. In one of those forms i placed a button, if you press the button the form of the other project will open. (This is not my actual project, but a simplified version to recreate my problem) Now i wish to publish my first project (the one with the form with the button), but visual studio keeps generating the following errors

    A signing key is required in order to publish this project. Publishing from Visual Studio 2005 will automatically configure a signing key for this project.

    and

    Cannot publish because a project failed to build.

    however, both projects build and run fine when debugging. if i go to the properties, to the signing tab, and check "Sign the ClickOnce manifests", the same error keeps occuring. Does anyone have any ideas how to solve this?

    C 1 Reply Last reply
    0
    • M mSh1985

      I don't know on which forum i should post this, so i hope this is the right one since it has to do with windows forms projects.. The problem is the following, i have 2 simple projects (both windows application projects). Both the projects contain 1 form. In one of those forms i placed a button, if you press the button the form of the other project will open. (This is not my actual project, but a simplified version to recreate my problem) Now i wish to publish my first project (the one with the form with the button), but visual studio keeps generating the following errors

      A signing key is required in order to publish this project. Publishing from Visual Studio 2005 will automatically configure a signing key for this project.

      and

      Cannot publish because a project failed to build.

      however, both projects build and run fine when debugging. if i go to the properties, to the signing tab, and check "Sign the ClickOnce manifests", the same error keeps occuring. Does anyone have any ideas how to solve this?

      C Offline
      C Offline
      Calin Tatar
      wrote on last edited by
      #2

      For signing, go to project Properties, Signing tab, and: 1. check Sign the assembly 2. select New for "Choose a strong name key file" 3. fill in the name of the key and psw Calin

      M 1 Reply Last reply
      0
      • C Calin Tatar

        For signing, go to project Properties, Signing tab, and: 1. check Sign the assembly 2. select New for "Choose a strong name key file" 3. fill in the name of the key and psw Calin

        M Offline
        M Offline
        mSh1985
        wrote on last edited by
        #3

        thanks for the quick reply. But signing the assembly (for both projects) doesn't seem to solve the problem. the same error occures. I tried adding test certificates to both projects, now i get an error that the manifest file can not be found... ps: i'm using visual studio 2005

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups