2 files.
1 is a bat.
MyBuild.BAT
the content are ... (do not include this line)
:The recompile of your solution.
:You will need to rename MyDotNetSolution.sln to your .sln name
:Notice that this file will be in the same directory AS THE SOLUTION (.sln)
file
"C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe"
MYSOLUTION.sln /rebuild Release /out BuildDefaultResultsRelease.txt
:Xcopy the germane items
:The directory c:\wutemp\MySolution_Deploy\ should already exist (you can
name it anything)
:and it should be empty (or you get a bunch of "Overwrite file?" messages
:Also notice it uses the file XCopyExcludes.txt (which should also be in the
same directory as the .sln file)
xcopy *.* c:\wutemp\MYSOLUTIONXCOPY\*.* /E /R /EXCLUDE:.\XCopyExcludes.txt
2nd is an text file called: XCopyExclude.txt
the content are ... (do not include this line)
..vbproj
..csproj
..scc
..resx
..vb
..cs
..snk
..pdb
..xsx
..xsd
..sln
..vssscc
..bat
XCopyExcludes.txt
BuildDefaultResultsRelease.txt
For 2.0, you need to delete .cs and .vb from the exclude file. (which
means..they WILL be copied to the temp directory)
...
This gets you a build, RELEASE version, and only needed files copied in the
wutemp folder.
...
Put those files in your Presentation Layer folder.
Make sure the path to the devenv.exe is correct.
Run the batch.
...
"tshad" <ts**********@ftsolutions.com> wrote in message
news:On****************@TK2MSFTNGP11.phx.gbl...
I normally build my site with DW and used VS 2003 to build a Web page to
call my web service.
I now want to move the file over to my production system, but don't know
which files I need.
I assume I need the .aspx and .aspx.cs, but do I need the .dll file it
created or the .aspx.resx file?
Thanks,
Tom