Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > ProjectReference
 

ProjectReference

I'm generating a 3tier solution (business facade, business rule, data component).
The name of the 3 assemblies is asked through the wizard.
The reference between the assemblies should automaticaly be created.
This is done with the code here under :
<ItemGroup>
  <Reference Include="System"/>
  <Reference Include="System.Data"/>
  <Reference Include="System.Xml"/>
  <ProjectReference Include="$BusinessRuleProjectName$" />
 </ItemGroup>

The name of the BusinnesRule is well present in the BusinessFacade reference but I get the following :
Error 61 The specified project reference meta-data for the reference "BusinessRule" is missing or has an invalid value: Project C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 891 9 

Thanks in advance
Philippe

philippe lombaers  Friday, June 24, 2005 1:15 PM
Project references are not supported in project templates, as explained in the bug I logged in ProductFeedback.

You need to create a recipe that executes when the solution template is unfolded, that runs an AddProjectReference action that receives two projects to create the reference. I'm trying to put together an example to upload to the library at the GuidanceAutomation.net community site.
kzu  Friday, June 24, 2005 4:35 PM
Project references are not supported in project templates, as explained in the bug I logged in ProductFeedback.

You need to create a recipe that executes when the solution template is unfolded, that runs an AddProjectReference action that receives two projects to create the reference. I'm trying to put together an example to upload to the library at the GuidanceAutomation.net community site.
kzu  Friday, June 24, 2005 4:35 PM

You can use google to search for other answers

Custom Search

More Threads

• New Editor or Not?
• CreateProjectAction doesn't replace parameters regardless of ReplaceParameters value in vstemplate
• Step by Step guide to Smart client software factory
• Enable recipie if assembly reference exist
• Some items in HoL don't match GAT
• GAX/GAT breaking DSL
• Cannot load Package NUnit Test Code Conversion
• Invoking Add Web Reference Dialog
• FileCodeModel null on none project file...
• Which APIs should be used with VSTS to do web test automation ?