Home All Groups Group Topic Archive Search About

Copy content files to build direcotry in VB.NET?

Author
14 Apr 2005 3:32 PM
Samuel R. Neff
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 Washington D.C. area VB.NET
developer for WinForms + WebServices position. 
Seaking mid to senior level developer.  For
information or to apply e-mail resume to
sam_blinex_com.

Author
14 Apr 2005 3:40 PM
Philip Rieck
In theory, setting "Build Action" to "Content" in the file's properties
would do it, but alas, that is not the case.

VB does not have build actions like C#, so with a vs.net build there's no
way to do this short of using a vs.net macro or add-in.


Show quoteHide quote
"Samuel R. Neff" <blinex@newsgroup.nospam> wrote in message
news:e63t51phee80bpki535etj7iabj9lt2chi@4ax.com...
>
> 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 Washington D.C. area VB.NET
> developer for WinForms + WebServices position.
> Seaking mid to senior level developer.  For
> information or to apply e-mail resume to
> sam_blinex_com.