473,320 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Get IDE to include folders in Bin/Debug folder?

Lee


Hi,

Is there a way to force VS2005 to copy the folders (and contents of
those folders) that I created in the project to the bin/debug
directories?

I have a folder that includes xml files that the app needs access to at
runtime and I'm using a relative path to get to them.

Thank you.

--
Warm Regards,
Lee

"Upon further investigation it appears that your software is missing
just one thing. It definitely needs more cow bell..."
Mar 8 '06 #1
2 2687
Hello lee,

Create a .bat file where u perform all necessary copying, and appy this bat
to the PostBuild in the projectProperies menu of VS IDE

l> Hi,
l>
l> Is there a way to force VS2005 to copy the folders (and contents of
l> those folders) that I created in the project to the bin/debug
l> directories?
l>
l> I have a folder that includes xml files that the app needs access to
l> at runtime and I'm using a relative path to get to them.
l>
l> Thank you.
l>
l> "Upon further investigation it appears that your software is missing
l> just one thing. It definitely needs more cow bell..."
l>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Mar 8 '06 #2
Lee
Michael Nemtsev enlightened me by writing:
Hello lee,

Create a .bat file where u perform all necessary copying, and appy
this bat to the PostBuild in the projectProperies menu of VS IDE


Thanks Michael, I will do that. Thought there might be a switch
somewhere that I missed...
--
Warm Regards,
Lee

"Upon further investigation it appears that your software is missing
just one thing. It definitely needs more cow bell..."
Mar 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Robert Magnusson | last post by:
Hi All, This is sure to be an easy question. I am wondering what the accepted standard is for referencing a sub-folder below the application.exe folder? In VB6 you simply used App.Path and...
3
by: larry | last post by:
i would like to write a vb program to copy the contents of folder one to folder two. Folder one contains 30 folders with 10 files each.
3
by: Irfan | last post by:
hi, All After using the 'build' i try to run the exe form bin folder, and it works fine. However, when i run it form debug folder it gives me a 'filenotFoundException'. Can anybody suggest why...
1
by: matt.merchant | last post by:
All, When publishing a site with the "Used Fixed Naming and Single Page Assemblies" option checked, only one of my two App_Code folders are compiled into .DLL's. The original code (DotNetNuke...
3
by: tshad | last post by:
When you do a build in VS 2003 you get a DLL in both the obj\debug(or release) folders as well as the bin folder. If you are going to use the DLL in some other probject or point another project...
0
by: =?Utf-8?B?TWlrZVo=?= | last post by:
VB.NET 2005 Release Folder and Debug Folder confuse me a lot. I used a application configuration file which locate in the same folder as EXE file. The config file is set by application. When I use...
1
by: sonnyz | last post by:
Hi everyone, (Using Visual Studio 2005) Assume I have a project with a single class named "MyClass.cs" and a setup project in the same solution. I know that if I want to include the debug symbols...
5
by: veer | last post by:
Hi i am getting probleum in running the exe on any other location on my computer except bin\debug when i execute the exe file which is in bin\debug folder it works fine and when i copy this exe and...
10
by: georgetk | last post by:
Hi, I have seen some of the threads but and looking to create a table in Access 2003 with the following information Address / File / Type / ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.