Menu

#1 config.xml not copying

open
pearl2u
None
7
2005-06-25
2005-06-25
No

config.xml is not copying to bin\Debug or bin\Release
on compile, as is necessary for program execution.
"Build Action" for this file is set to "content", but
this seems to be doing nothing.

Please research and correct this problem without having
to embed config.xml directly in the executable.

Manually copy config.xml until a solution to this bug
is found.

Discussion

  • Owais Ali

    Owais Ali - 2005-06-28

    Logged In: YES
    user_id=1280305

    Was this file created from inside the IDE (VS.NET 2003) or
    separately, if the configuration file is created using the IDE (I
    beliebe the Item type is Configuration or something like that)
    then it copies correctly.

     
  • Mike OSullivan

    Mike OSullivan - 2005-06-28

    Logged In: YES
    user_id=1243863

    The config.xml file was created inside the IDE, and is part
    of the project. Does the file copy automatically when you
    compile? This may be a machine specific bug (my machine is
    an odd one.) An exception will be thrown if it doesn't copy
    (thus confirming the bug.)

    If it doesn't, try re-adding it to the project the way you
    normally would for a non-embedded resource. Try not to
    change the file name, but if you must so be it.

     

Log in to post a comment.