We are running into lots of issues migrating our solution from VS2003 --> VS2005. We have about 30 projects, 3 of them are web sites. In VSS, we have this structure:
$\Version_1
\Web1\
...
Web1.csproj
\Web2\
Web2..csproj
\Web3\
Web3..csproj
.....
\ClassLibrary1\
\ClassLibrary2\
\ClassLibrary3\
\Microsoft.ApplicationBlocks.ExceptionManagement\
Version_1.sln
This worked fine because we could have class library references and virtual directory information was not stored with the project/solution file but was kept in .suo file instead.
I installed the May 8 version of WAP and migrated the solution. It migrates without errors but we are having issues after adding the solution to source control (Team Foundation Server). We are not using ?Open from Source Control? with WAP because it is broken, as noted in postings on this board.
The problem is that project references are stored in the project file (.csproj) as absolute file paths. For example:
<ProjectReference Include="E:\Data\VSS\Version_1\Development\Microsoft.ApplicationBlocks.ExceptionManagement\Microsoft.ApplicationBlocks.ExceptionManagement.csproj">
<Name>Microsoft.ApplicationBlocks.ExceptionManagement</Name>
<Project>{386CBF50-F4A9-4F05-98CB-B387D2D8F357}</Project>
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
</ProjectReference>
I tried setting references to something like this, without success:
<ProjectReference Include="..\Microsoft.ApplicationBlocks.ExceptionManagement\Microsoft.ApplicationBlocks.ExceptionManagement.csproj">
<Name>Microsoft.ApplicationBlocks.ExceptionManagement</Name>
<Project>{386CBF50-F4A9-4F05-98CB-B387D2D8F357}</Project>
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
</ProjectReference>
How can one use relative URLs?
Also, looking at the WAP .csproj file in notepad, I notice that IIS information is stored in the project file:
<IISUrl>http://localhost/Web2</IISUrl>
Local path/IIS v-root information used and should be stored in the .suo file. How can I achieve the same result with WAP and VS2005?
thank you