I have a VS2005 Web Site that's giving me some trouble.
Our process model requires that all shipped applications be compiled on a
dedicated compile box, straight from version control, without human
intervention.
The guts of it is a batch file that checks out the source from version
control, then does a call to a build batch file, that is responsible for
doing the compile.
For websites, what we want to do is to create a precompiled version of
the website in a directory structure parallel to that created by the
check-out.
The problem: the web site accesses a COM dll, and when I run the
aspnet_compiler , I get errors:
aspnet_compiler -p Project -v / Project-published
"CS0246: The type or namespace name ... could not be found".
OTOH, if I run msbuild, I do not get that error:
msbuild project\project .sln
Which would be fine, except that when I run msbuild, it places the
precompiled version into folder that is specified in Property Pages of
the project, and it restricts that to an absolute path.
What I would prefer is a way to tell the aspnet_compiler to use a
different target directory, by specifying an argument on the msbuild
command line.
But I've not been able to figure how to do that out.
--
A lot of people have asked me how the Mad Scientists' Club first got
organized. And I usually ask them, "What do you mean, organized?" Things
like our club don't really get organized. They just sort of happen.
- Bertrand R. Brinley, "The Big Kerplop!"
Our process model requires that all shipped applications be compiled on a
dedicated compile box, straight from version control, without human
intervention.
The guts of it is a batch file that checks out the source from version
control, then does a call to a build batch file, that is responsible for
doing the compile.
For websites, what we want to do is to create a precompiled version of
the website in a directory structure parallel to that created by the
check-out.
The problem: the web site accesses a COM dll, and when I run the
aspnet_compiler , I get errors:
aspnet_compiler -p Project -v / Project-published
"CS0246: The type or namespace name ... could not be found".
OTOH, if I run msbuild, I do not get that error:
msbuild project\project .sln
Which would be fine, except that when I run msbuild, it places the
precompiled version into folder that is specified in Property Pages of
the project, and it restricts that to an absolute path.
What I would prefer is a way to tell the aspnet_compiler to use a
different target directory, by specifying an argument on the msbuild
command line.
But I've not been able to figure how to do that out.
--
A lot of people have asked me how the Mad Scientists' Club first got
organized. And I usually ask them, "What do you mean, organized?" Things
like our club don't really get organized. They just sort of happen.
- Bertrand R. Brinley, "The Big Kerplop!"
Comment