F
Frank
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 2005.
The solution contains both the web app and the class libraries. Inside
the class libraries there are some xml files marked as content files
and configured to be copied to the output directory on build. This
worked perfectly fine for a windows app and a windows service but
fails to copy these xml files over to the web app's "app_data" folder
or at least the web app's root dir.
I've already thought about compiling the files as embedded resource
but that doesn't work with the way my Dao stuff is working, it really
has to be files on the disk.
Right now my workaround is to have the xml files copied over to the
web app's app_data folder.
Does anyone know how to copy content files from a class library to
app_data on build?
Greets
Frank
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 2005.
The solution contains both the web app and the class libraries. Inside
the class libraries there are some xml files marked as content files
and configured to be copied to the output directory on build. This
worked perfectly fine for a windows app and a windows service but
fails to copy these xml files over to the web app's "app_data" folder
or at least the web app's root dir.
I've already thought about compiling the files as embedded resource
but that doesn't work with the way my Dao stuff is working, it really
has to be files on the disk.
Right now my workaround is to have the xml files copied over to the
web app's app_data folder.
Does anyone know how to copy content files from a class library to
app_data on build?
Greets
Frank