In Visual Studio 2010, I created a dynamics package project (Y), and a dynamics plugin project (X), following the tutorial here:
http://inogic.blogspot.com/2011/11/crm-2011-developer-toolkit.html#comment-form
The Package Project (Y) references the plugin project (X).
After adding these 2 projects to the solution, I get this error on build:
The item “…\X.csproj” in item list “ProjectReference” does not
define a value for metadata “SilverlightApplication”. In order to use
this metadata, either qualify it by specifying
%(ProjectReference.SilverlightApplication), or ensure that all items
in this list define a value for this metadata.
I have no idea how to fix this. Can anybody help ?
I figured out what the problem was.
Dynamics CRM 2011 Developer Toolkit does not accept virtual folders in the Visual Studio 2010 solution. Each project that is part of the CRM Package must be at top level, directly under the solution.
Otherwise, the error mentioned will pop up.