publishing to a blank cd

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramsfan
    New Member
    • Nov 2008
    • 1

    publishing to a blank cd

    I am running Visual c# express and am trying to publish a project to a blank cd.
    However each time I try I get errors, although I can publish the project to my desktop ok.
    As I am completely new to this I am doing something very wrong and something probably very simple to correct.
    Could anyone help me please. A step by step answer would be much appreciated.

    thanks in advance
  • joedeene
    Contributor
    • Jul 2008
    • 579

    #2
    If it's publishing properly to your desktop or system hard-drive, why not burning the project setup file onto the CD using either a program(like NERO) or just copy and paste to it's directory and let Windows burn it?

    joedeene

    Comment

    • tlhintoq
      Recognized Expert Specialist
      • Mar 2008
      • 3532

      #3
      The other thing to realize is that writing to a CD is different than writing to a hard drive.

      When you write to a hard drive there is a process of write, check that what was written is good, rewrite if it isn't good, continue to next chunk of data if it is good.

      With CD you can't do that because you don't get to erase and write-over a block if it doesn't write correctly the first time.

      That's why programs such as NERO will buffer ahead a large amount of the data to be written so the writing process can continue in one smooth uninterrupted flow.

      I just suspect that trying to publish directly to a blank CD isn't going to give you that uninterrupted flow of data. Visual Studio is going to think, then write, then think some more, then write... It has to compile your primary outputs, and compile your installer, copy over resources from other areas like sounds, images and icons. I wouldn't be at all surprised if it compiles some portions of your finished solution, then jumps to other portions, then back to first portions so it can fill in the blanks in the first portion with values from the second portion. Since you can't jump around in the writing of a CD... it would fail.

      Joedeene's response of writing to hard drive then burning as many CD's as you need is probably the only way it *CAN* work.

      Comment

      Working...