|
I have a strange problem. First, here is what I have:
1) Using VS2008, GAX2008 , and GAT2008 2) I successfully create 5 projects after prompting user for information -- All works fine. 3) The target is for VS2005 ( Hive=8.0 ) applications. 4) Need to link Web App back to Web Deployment App via same guid ( seemed simple)
Problem: =======
I now wish to create a Web Deployment Project with a reference to the Web App . I create web app. and web deployment project successfully but I also need to wire the Web Project's guid back to the Web Deployment's OutputProjectGuid which I thought would be easy by setting :
"OutputProjectGuid" = "8:{$WebGuidProp$}" ---> This is in the Web Setup project (Setup.vdproj)
and, here is what is in the Web Project
<ProjectGuid>{$WebGuidProp$}</ProjectGuid> --> This is in the Web project (Web.vbproj), and,
above I supply the $WebGuidProp$ GUID as I see it in the Web App and Web Deployment App. However, when I set the Guid ($WebGuidProp$) in my Web Project that I created it overwrites it. I KNOW the value is set bec/ within the same Web Project I set value:
<DocumentationFile>$safeprojectname$_{$WebGuidProp$}.xml</DocumentationFile>
and I see the correct GUID substituted. It is ignored/overwritten in <ProjectGuid>{$WebGuidProp$}</ProjectGuid>.
In my .vstemplate for the Web project I have :
<Project File="UI.vbproj" TargetFileName="$safeprojectname$.vbproj" ReplaceParameters="true">
Question: =======
Can anyone say WHY the Web Project overwrites/ignores my $WebGuidProp$ within the tags <ProjectGuid>{$WebGuidProp$}</ProjectGuid> but does not for <DocumentationFile>$safeprojectname$_{$WebGuidProp$}.xml</DocumentationFile>
All within my UI.vbproj ????
Known: ---------
1) Yes, I know there are $guidN$ where n = 1 - 10, 2) However, I CANNOT use $guidN$ bec/ the Web Deployment REQUIRES guids in UPPERCASE !! Originally, I was using $guid1$, $guid2$,... but the web deployment project did like lowercase guids!!! Perhaps, that would be fixed in the Web Deployment offerring !!!
Thanks, -bja |