"Rodger Brennan" <am*******@hotm ail.com> wrote in message news:<eC******* *******@tk2msft ngp13.phx.gbl>. ..
Dennis,
If I understand your problem correctly, I believe that what you need to
do is edit the solution file directly.
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{LAE06 EC0-301F-11D3-BF4B-00C04F73EFBC}") = "YourSite",
"http://localhost/YourSite/YourSite.csproj ",
"{A0B266FB-7136-453J-B10D-B49793976BE7}"
if you open the file with notepad, you can change the URL, and save the
file.
Hope this helps.
Regards,
Rodger
Rodger, Thanks for the response, but that's not it.
both solution files point to the same localhost/project dir
the problem is that it's a virtual dir, and since each project uses a
different set of source files, I modify the IIS properties for that
virtual dir to point to the set of source files that I need to compile
but unless I first open the solution file in the IDE (which then
prompts me that the paths don't match), then it won't build from the
command line. nor will it trip an 'if errorlevel' code.
I did just discover a binary *.csproj.cache file that gets written to
a hidden folder after I open the solution file. And it contains path
strings for the last solution file I've opened.
c:\Documents and Settings\[username]\VSWebCache\[machinename]\[project
name]\_vti_pvt\[project name].csproj.cache
it would be a shame if this file is what is tying IIS and .Net
together such that I can't automate switching commandline project
builds