Hi,
If you have files in your project (like text files and bmp files stuff like
that, and config files) and want to have it copied to the bin folder at
build (i thought setting the build action to content did this but it
doesnt?) how can i get them to copy at each build? thanks 4 1133
* "Brian Henry" <br**********@n ewsgroups.nospa m> scripsit: If you have files in your project (like text files and bmp files stuff like that, and config files) and want to have it copied to the bin folder at build (i thought setting the build action to content did this but it doesnt?) how can i get them to copy at each build? thanks
For the application configuration, name the file "App.config " and add it
to your project. VS.NET will automatically copy it into the "bin"
folder and rename it accordingly. For the other files, you can create a
batch file that copies the files to the "bin" folder.
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
what is the difference between content and none then?
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:2h******** ****@uni-berlin.de... * "Brian Henry" <br**********@n ewsgroups.nospa m> scripsit: If you have files in your project (like text files and bmp files stuff
like that, and config files) and want to have it copied to the bin folder at build (i thought setting the build action to content did this but it doesnt?) how can i get them to copy at each build? thanks
For the application configuration, name the file "App.config " and add it to your project. VS.NET will automatically copy it into the "bin" folder and rename it accordingly. For the other files, you can create a batch file that copies the files to the "bin" folder.
-- Herfried K. Wagner [MVP] <URL:http://dotnet.mvps.org/>
* "Brian Henry" <br**********@n ewsgroups.nospa m> scripsit: what is the difference between content and none then?
If it's content, it will be included in a setup package, AFAIK.
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
thanks!
"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:2h******** ****@uni-berlin.de... * "Brian Henry" <br**********@n ewsgroups.nospa m> scripsit: what is the difference between content and none then?
If it's content, it will be included in a setup package, AFAIK.
-- Herfried K. Wagner [MVP] <URL:http://dotnet.mvps.org/> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Arg |
last post by:
I posted this to alt.comp.lang.php last week and got no response so I am
reposting it here today...
I am trying to use the following script to allow users to download files
with some of the file name stripped off. This script is for use on my
company intranet and only has to work with Internet Explorer 6. When the
files are uploaded (through another PHP script) they are prefixed with a
timestamp to prevent files with duplicate...
|
by: Markus Ernst |
last post by:
Hi
I use PEAR Cache to cache the frontend pages of a content managed web site.
Now I update the contents of a page, and of course the updated contents will
only be displayed after the expiring period of the cached file.
After thinking and googling a lot I see several possible approaches to for
handling this, each of which has it's downsides:
- Use a very short expiring period. (Downside: Makes caching only relevant
|
by: Gene Ellis |
last post by:
Something strange is happening, but I bet it is a quick fix. My
favicon image is showing up in the URL bar, for a couple of seconds,
but then it disappears and the default browser icon is displayed. When
I reload the page, the same thing happens. The correct icon appears
for a few seconds (while the page is loading), but then goes away. You
can see that here:
http://webdev.ucop.edu/tltc_ph2/index_icon.html
|
by: Melanie Provost |
last post by:
I have a C# web application that saves files to a database as a byte array
and retrieves those files. When retrieving a file to display I have to
specify a content type / MIME type. I am having a problem with outlook
files that have a .msg extension. I can't find a content type that will
display .msg files. I could use application/msword if the messages were
just text but there are also attachments in the messages and these do not
get...
|
by: Frankie |
last post by:
Using ASP.NET 1.1 and IIS 6... what is the effect of enabling Content
Expiration -- Expire Immediately?
Does it cause the files in the virtual directory to be served on every
single browser request even if the files do not change?
The reason I ask is that I was having trouble with a css file not getting
refreshed in the browser after the css file was updated on the server. In
testing I found that I could manually update the css file on...
| |
by: Water Cooler v2 |
last post by:
I know what it is, and yet the knowledge of what a CMS is, is so vague
that I find myself asking this question every now and then. I've
googled and read the resources too. However, the knowledge is still not
clear. It is so vague.
Me: Just what is a content management system?
Myself: A place where content can be stored.
|
by: xkeops |
last post by:
Thinking of creating a website, most of the pages will have a general
toolbar
menu, a content and a footer.
The content will be the only one who's gonna change but the rest
(header,footer)
will remain the same.
I am interested to know your opinions/suggestions in finding an easy
way of doing it.
In asp one could have something like this:
|
by: DCDev |
last post by:
I have a solution with multiple projects. One project is a
windows forms project. I have report files (.rdlc) in a separate
project that are built as "Content" with the "Copy Always" option.
When I build the solution, these files are copied to the bin\Release
directory, as they should be. However, when I publish the Windows
Forms project, these content files are not copied. How can I make it
so that these content files from the one...
|
by: Andrea Anastasescu |
last post by:
Hi everybody,
Inside the web.config of my application I have some custom sections. I have
my own handlers for these sections, and their content is in external files.
My problem is that ConfigurationManager do not detects that these external
files are changed.
In case that I "touch" the web.config file, just save it or something, the
content of the files are re-read.
Is there any possibility to make ConfigurationManager detect that these...
|
by: Blau |
last post by:
While trying to learn from some sample projects i'm running into a
problem.
The setup that I have is One Solution with two projects. (usually a
library that is being developed along side an application.)
In the examples that I am learning from, they have a "content" folder
in the library solution, which stores various things like font files.
In the examples, the application project does not have its own folder
with the same content,...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |