473,414 Members | 2,030 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,414 software developers and data experts.

copy "content" files to release and debug paths

Sam
I would like to put my help files and some other dependencies under source
control and have them copy themselves to the Debug and Release paths
automatically when the solution is built. ..

I have found some posts that mention using custom build actions and makefile
projects, but I've never used either and I'm having trouble finding info on
them. Please help......

Thanks in advance,
Sam
Nov 16 '05 #1
2 5644
<ciach>

Project properties -> Common properties ->Build Events ->Post-build Event
Command Line

<code>
IF NOT "$(ConfigurationName)"=="Distribution" GOTO Other
"C:\Program Files\Microsoft Visual Studio .NET 2003\PreEmptive
Solutions\Dotfuscator Community Edition\dotfuscator.exe" /appl:exe
/in:"$(TargetPath)" /out:"$(ProjectDir)Bin\$(ConfigurationName)"
:Other
copy "$(ProjectDir)WydrukTXT.js" "$(TargetDir)"
IF "$(ConfigurationName)"=="Debug" GOTO End
"C:\Program Files\Inno Setup 4\Compil32.exe" /cc
"$(ProjectDir)$(ProjectName)$(ConfigurationName).i ss"
copy "$(TargetDir)$(TargetName)Install.exe" "$(ProjectDir)"
:End
</code>

pozdrawiam

Przemek Sulikowski
Nov 16 '05 #2
Sam
thank you very much!!!

"Selvin" <selvin_nospam@nospam_osadkowski.com.pl> wrote in message
news:c9**********@news.onet.pl...
<ciach>

Project properties -> Common properties ->Build Events ->Post-build Event
Command Line

<code>
IF NOT "$(ConfigurationName)"=="Distribution" GOTO Other
"C:\Program Files\Microsoft Visual Studio .NET 2003\PreEmptive
Solutions\Dotfuscator Community Edition\dotfuscator.exe" /appl:exe
/in:"$(TargetPath)" /out:"$(ProjectDir)Bin\$(ConfigurationName)"
:Other
copy "$(ProjectDir)WydrukTXT.js" "$(TargetDir)"
IF "$(ConfigurationName)"=="Debug" GOTO End
"C:\Program Files\Inno Setup 4\Compil32.exe" /cc
"$(ProjectDir)$(ProjectName)$(ConfigurationName).i ss"
copy "$(TargetDir)$(TargetName)Install.exe" "$(ProjectDir)"
:End
</code>

pozdrawiam

Przemek Sulikowski

Nov 16 '05 #3

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

Similar topics

2
by: Justin | last post by:
I have a program that downloads files from the web. There are instances in which a .info() will not return a "Content-length" header to me. Is ther a way to specifically request this header or...
4
by: Brian Henry | last post by:
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...
0
by: Brett | last post by:
I have an XML file that is the documentation for an application. Text log files are in a different location than the XML file. For example: c:\adir\errorlog.txt c:\bdir\doc.xml The VB.NET...
1
by: Samuel R. Neff | last post by:
Is there a way to copy content files to the build directory in vb.net? In C# you can use build-events but I don't see them anywhere in a VB project. Thanks, Sam B-Line is now hiring one...
1
by: Henry Law | last post by:
(I posted this to comp.infosystems.www.browsers.misc but there seems to be very little traffic there. I can't see another suitable group; is it on topic here? If not, any suggestions as to...
2
by: dclist | last post by:
What is the correct way to download a file through HTTP and save it to the file name suggested by "Content-Disposition"? I would use urlretrieve but I'm not sure how to obtain the file name...
11
by: Trapulo | last post by:
I've this statement in my output's creation: Response.Clear() Response.ContentType = "application/vnd.google-earth.kml+xml kml" Response.AddHeader("Content-Disposition", "inline;...
5
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....
2
by: Frank | last post by:
Hi, Originally I was planning to do some code reuse (yeah.. that exists..didn't want to believe it either) with some class library projects that I now want to use in a asp.net 2.0 web app in VS...
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
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...
0
isladogs
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...
0
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...

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.