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. Visual Basic
  4. ClickOnce Deployment

ClickOnce Deployment

Scheduled Pinned Locked Moved Visual Basic
helpcsharpjavasysadmindebugging
2 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.
  • O Offline
    O Offline
    Ovais Memon
    wrote on last edited by
    #1

    Hi all.. I have created a .Net desktop application by using NHibernate. I want to use ClickOnce Deployment but i am getting problem that hibernate.cfg.xml not found.. The specified file is placed in debug and release folders. Also, when we include Application Files in Publish settings, hibernate.cfg.xml not shown there.. Plz help me out... Ovais.

    M 1 Reply Last reply
    0
    • O Ovais Memon

      Hi all.. I have created a .Net desktop application by using NHibernate. I want to use ClickOnce Deployment but i am getting problem that hibernate.cfg.xml not found.. The specified file is placed in debug and release folders. Also, when we include Application Files in Publish settings, hibernate.cfg.xml not shown there.. Plz help me out... Ovais.

      M Offline
      M Offline
      miguelfreirejunior
      wrote on last edited by
      #2

      I had this problem too. To bypass i used the app.config to do the hibernate configuration.

      <?xml version="1.0" encoding="utf-8" ?>
      <configuration>
      <configSections>
      <section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate"/>
      </configSections>
      <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
      <session-factory>
      ...
      </session-factory>
      </hibernate-configuration>
      </configuration>

      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