I have several XML files that I used for configurations that are a part
of my C# project. When I build in Visual Studio .Net, however, these
files are not copied to the bin output directory. How can I make VS
pick up these files for the build? 8 1040
Build Action should be Content
"No One" <no***@yahoo.com> wrote in message
news:41***************@yahoo.com... I have several XML files that I used for configurations that are a part of my C# project. When I build in Visual Studio .Net, however, these files are not copied to the bin output directory. How can I make VS pick up these files for the build?
Where do I find that?
Joey Callisay wrote: Build Action should be Content
"No One" <no***@yahoo.com> wrote in message news:41***************@yahoo.com... I have several XML files that I used for configurations that are a part of my C# project. When I build in Visual Studio .Net, however, these files are not copied to the bin output directory. How can I make VS pick up these files for the build?
In the solution explorer... make sure that the file is in the project you
want it included with. Then, select the file in the solution explorer,
right-click->properties. You will see the Build action as one of the
properties.
In your setup project, make sure to include content files.
--- Nick
"No One" <no***@yahoo.com> wrote in message
news:41**************@yahoo.com... Where do I find that?
Joey Callisay wrote:
Build Action should be Content
"No One" <no***@yahoo.com> wrote in message news:41***************@yahoo.com... I have several XML files that I used for configurations that are a
part of my C# project. When I build in Visual Studio .Net, however, these files are not copied to the bin output directory. How can I make VS pick up these files for the build?
The Build action for the file is Content. It still does not get put into the
project bin/Debug directory.
Nick Malik wrote: In the solution explorer... make sure that the file is in the project you want it included with. Then, select the file in the solution explorer, right-click->properties. You will see the Build action as one of the properties.
In your setup project, make sure to include content files.
--- Nick
"No One" <no***@yahoo.com> wrote in message news:41**************@yahoo.com... Where do I find that?
Joey Callisay wrote:
Build Action should be Content
"No One" <no***@yahoo.com> wrote in message news:41***************@yahoo.com... > I have several XML files that I used for configurations that are a part > of my C# project. When I build in Visual Studio .Net, however, these > files are not copied to the bin output directory. How can I make VS > pick up these files for the build? >
By a setup project do you mean an installer project? I don't have one of
those. I am trying to do debugging on my class library, but the XML files are
not being copied over.
bryon
Nick Malik wrote: In the solution explorer... make sure that the file is in the project you want it included with. Then, select the file in the solution explorer, right-click->properties. You will see the Build action as one of the properties.
In your setup project, make sure to include content files.
--- Nick
"No One" <no***@yahoo.com> wrote in message news:41**************@yahoo.com... Where do I find that?
Joey Callisay wrote:
Build Action should be Content
"No One" <no***@yahoo.com> wrote in message news:41***************@yahoo.com... > I have several XML files that I used for configurations that are a part > of my C# project. When I build in Visual Studio .Net, however, these > files are not copied to the bin output directory. How can I make VS > pick up these files for the build? >
Are we talking here of the app.config file? Because VS renames it to
whatever the name of the output assembly + config
"No One" <no***@yahoo.com> wrote in message
news:41***************@yahoo.com... The Build action for the file is Content. It still does not get put into
the project bin/Debug directory.
Nick Malik wrote:
In the solution explorer... make sure that the file is in the project
you want it included with. Then, select the file in the solution explorer, right-click->properties. You will see the Build action as one of the properties.
In your setup project, make sure to include content files.
--- Nick
"No One" <no***@yahoo.com> wrote in message news:41**************@yahoo.com... Where do I find that?
Joey Callisay wrote:
> Build Action should be Content > > "No One" <no***@yahoo.com> wrote in message > news:41***************@yahoo.com... > > I have several XML files that I used for configurations that are a part > > of my C# project. When I build in Visual Studio .Net, however,
these > > files are not copied to the bin output directory. How can I make
VS > > pick up these files for the build? > > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mike |
last post by:
I am sure that I am making a simple boneheaded mistake and I would
appreciate your help in spotting in. I have just installed
apache_2.0.53-win32-x86-no_ssl.exe
php-5.0.3-Win32.zip...
|
by: Owen Jacobson |
last post by:
Salve. I'm running into a compilation problem trying to write some
code using libpqxx ( <http://pqxx.tk/> )'s pqxx::Connection and
pqxx::Transactor classes. I seem to be running into a problem...
|
by: JKop |
last post by:
Here's what I know so far:
You have a C++ project. You have source files in it. When you go to
compile it, first thing the preprocessor sticks the header files into
each source file.
So now...
|
by: John Abel |
last post by:
Hi,
I'm running Python 2.3.5/2.4.2 on OSX 10.4.2, and am trying to run CGI
scripts using the builtin Apache. For ease, I've symlinked my custom
modules into the...
|
by: Nick Wilton |
last post by:
Hello, sorry for X-posting
Hope you are able to help with this one as its really urgent.
I have two unmanaged VC++ 7.0 projects which requre the use of ActiveX
controls within the dialog...
|
by: UJ |
last post by:
Folks,
We provide custom content for our customers. Currently we put the files on
our server and people have a program we provide that will download the
files. These files are usually SWF, HTML or...
|
by: jackfoust |
last post by:
I'm trying to POST from a form a simple username and password onto
another website. Firefox and Opera post the data and results are
returned successfully. The site returns "missing user id and...
|
by: cedarmillxing215 |
last post by:
The oddness is on the last line of code. This is stripped down as far
as I could figure, and I provide several similar examples that work as
expected. I have no idea whether this is a compiler...
|
by: aRTx |
last post by:
I have try a couple of time but does not work for me
My files everytime are sortet by NAME.
I want to Sort my files by Date-desc.
Can anyone help me to do it?
The Script
<?
/*
ORIGJINALI
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |