CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 8/28/2007 3:13:51 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 22 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
PsionSharp
Asp.Net User
Copy Local8/28/2007 3:13:51 PM

0/0

This is probably a very simple problem but for the love of god I can't seem to find the solution.

I've added a folder to my project.  However, when I build the app, whether debug or release mode, I want that folder copied to the respective output directory.  For example, in debug mode, the new folder should be copied to bin\Debug.  I tried looking at the properties of of the folder hoping there would be a Copy Local property.  Nope.

 How can I accomplish this?  Can anyone provide URLs that shows how this is done?

 Thanks,

Psion

Benson Yu - MSF
Asp.Net User
Re: Copy Local8/30/2007 7:21:46 AM

0/0

Hi Psion,

From your description, I understand that you want to copy a special folder to the bin/debug folder. To achieve this goal, you can add the xcopy command in Build Events of the Web Application project. For example, please refer to the following steps:

    1. Right click the project in Solution Explorer and then select ?Properties?.
    2. Locate to ?Build Events? tag.
    3. Add xcopy command in the ?Post-build event command line? area. For example:

          del E:\program\WebApp1\bin\debug\temp /q
          xcopy c:\temp E:\program\WebApp1\bin\debug\temp /i /e

    4. Select ?On successful build? option in the ?Run the post-build event? dropdownlist.

After following these steps, Visual Studio will delete files and folders in the E:\program\WebApp1\bin\debug\temp folder and then copy c:\temp folder to the debug folder when build successfully.

 


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
PsionSharp
Asp.Net User
Re: Copy Local8/30/2007 12:43:32 PM

0/0

thanks.  that worked!

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Anatomy of Local Radio-TV Copy Authors: William A. Peck, Pages: 95, Published: 1976
Copy Avoidance Through Local Reuse. Authors: I Foster, Argonne National Laboratory, Mathematics and Computer Science Division, Pages: 0, Published: 1989
Vaccination. Copy of Report to the Local Government Board on Certain Cases of Erysipelas Following Upon Vaccination, in the Misterton District of the Gainsborough Union, Lincolnshire, and in Adjoining Districts of the Same Union and of TheEast Retford Union. Ordered, by the House of Commons, to be Printed, 20 February 1877.: Copy of Report to the Local Government Board on Certain Cases of Erysipelas Following Upon Vaccination, in the Misterton District of the Gainsborough Union, Lincolnshire, and in Adjoining Districts of the Same Union and of the East Retford Union. Ordered, by the House of Commons, to be Printed, 20 February 1877 Authors: John Netten Radcliffe, Pages: 20, Published: 1877
An Up-to-date Copy of the Local Rules of the United State Court of Appeals for the Fourth Circuit. Authors: Court of Appeals (4th, United States, Rules Service Co, Pages: 0, Published: 1991
Copy Avoidance Through Local Reuse. Authors: I Foster, Argonne National Laboratory, Mathematics and Computer Science Division, Pages: 0, Published: 1989
Wisconsin Law Supplement, Containing All Copy and Local Laws Enacted During the Session of 1917, with Index. Authors: unknown, Pages: 0, Published: 1917

Web:
How to: Set the Copy Local Property of a Reference The Copy Local property (corresponding to CopyLocal) determines whether a reference is copied to the local bin path. At run time, a reference must exist in ...
CodeGuru Forums - References: Copy Local Property P.S.: When I change it to Copy Local = False, my app dies with ... I have very bad experience with setting the Copy Local to false. ...
MSDN Visual Basic IDE Copy Local Praoblem or bug Store it in the same folder as the .exe (the Copy Local option) ... That is the reason why i used copy local = false in ther referece tab of the my project ...
save a local copy of file Tutorial details: Written by: Guy Watson [email:[email protected]] , MX 101 Time: 40 minutes Difficulty Level: Intermediate Requirements: Flash MX Topics ...
local copy Resources | TechRepublic White papers, case studies, technical articles, and blog posts relating to local copy.
"email forwarding plus local copy", by I D. - Gandi Docs Sep 16, 2008 ... Question "email forwarding plus local copy", by I D. I'd like to forward email to another address but I'd also like to keep a copy on the ...
Local Working Copy of a SVN Repository Each author that shares the SVN repository with other authors works on local versions of the repository resources called a working copy of the repository.
Local copy of Joomla! site with RSG2 1.14.3 - Manage Sites Blank I have set up a local copy of a Joomla 1.0.12 website which has RSG2 1.14.3 (SVN 649) installed in order to update Joomla! to 1.0.15 and to ...
Bug #98485 in Zope 3: “ObjectCopier doesn't copy local utilities ... Feb 23, 2007 ... ObjectCopier doesn't copy local utilities properly [edit] ... When coping a folder with local utilities, copied folder's local utilities ...
Intel Itanium Architecture Software Developer’s Manual permitted to allocate a local copy of the corresponding physical memory in all levels of the. processor memory/cache hierarchy. Allocation may be modified ...

Videos:
RSViewStudio Comms Part3b Copy Local Cfg to Target This is part three(b) of my RSViewStudio communications tutorial.
ILLEGAL CHINESE DVD SELLERS, HARROW, SUPPORT FROM OUTSPOKEN LOCAL GIRLS This teenage multi-racial (but no whites) group of boys snatched a DVD from child just after his father had paid an illegal Chinese DVD seller for it...
Local H = Conan O'brien Show 1998 " All the kids are right" This copy is very poor in quality and after I had posted this I found a really good copy. I tried to post it but NBC made you tube take it down.
Freedom Journal Iraq Episode 680 This edition features stories on U.S. Soldiers making friends with local Iraqis in the neighborhoods they patrol, economic growth of Iraq, the reopen...
The Blood Copy Report #14 (HBO) Big news from the small town of Bon Temps with its first undead citizen and a mysterious murder involving local romeo Jason Stackhouse. For more, log...
Selling Cars with Google 102: Local Business Ads An overview of how Google's Local Business Ads can help dealers sell more vehicles while saving time & money. For a copy of this presentation, please...
The Weather Network - Local Forecast/John Mayer I heard this John Mayer song on the radio not too long ago and I realized that the song sounded strikingly similar to the current local forecast song...
The Blood Copy Report #11 (HBO) Reverend Newlin fuels fear and hatred and a prominent vampire is murdered. Rumors surface regarding Bon Temp local Sookie Stackhouse. BloodCopy finds...
I got a leaked copy of LittleBigPlanet !! Hey guys, so I managed to get my hands on Sackboy a little sooner than expected! While for the rest of the world, the game was recently delayed, for ...
Copyright or right to copy Russia is one of the world's largest intellectual piracy centers. Local police are fighting daily against copyright violators. More than 4000 people ...




Search This Site:










memory management in dnn - is it efficient?

i spent the last two days evaluating web-based text editors.

install error with dnn4 and go daddy hosting

problem with creating pa

real-time notification of orders received

how to remember the menu selection in master page???

webdev.webserver.exe error on database connect

using page title as page name in url path?

dotnetnuke database suggestion

windows authentication popup dialog

hosting using .aspx files

pop up calendar

ttt forum styles

basic access authentication

basic login form

how to add extra info at the end of returnurl

enterprise library with dnn 3.1

database permisions

best method to write in existing eventlog ?

lots of modules updated for 3.x ..

post moved to another forum

session-specific auth cookies getting shared in asp.net 2.0

how to make a web application project in vwd?

making of new themes, basics

request for feedback on the current codeplex changeset

cute (or other) editor in dotnetnuke - customizing styles

adding user to role in code gives duplicate user - please help?

problems with adding users (web site administration tool)

gridview

background color of default 3.1.0 skin?

 
All Times Are GMT