>I have an item template that adds a reference to an assembly. This assembly
> will not be in the GAC so I wanted to set the path to the assembly as this
[quoted text clipped - 11 lines]
> another
> way to do this?
Thank you for your response Michel. I knew about hint paths but have not been
able to do this with a template. Perhaps I should have been more clear as to
the scenario.
As this is basically a template to distribute, to other people having given
them an MSI to install the templates and the aforementioned assembly, I was
hoping that the template mechanism supported this. Can I set the hint path in
the template?

Signature
Many thanks,
Gary Varga
> You must modify also your .csproj file at the <Reference> node in adding the
> HintPath Characteristic in the node
[quoted text clipped - 16 lines]
> > another
> > way to do this?
Michel LAPLANE (MVP) - 10 Mar 2008 08:41 GMT
There is no way to pass a parameter form MSI to template unless to add
customized action in the MSI.
You can look at the VSI format files recommanded for distributing templates
for Visual Studio. Look in the help.
Anjoy with VS2008
> Thank you for your response Michel. I knew about hint paths but have not
> been
[quoted text clipped - 34 lines]
>> > another
>> > way to do this?
Gary Varga - 10 Mar 2008 11:00 GMT
It appears the solution is to add it under the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx
registry key
(HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx on 64 bit Windows) - please note .Net version is in the path.
If you add a new key set to displayable name and set its (Default) to a
REG_SZ containing the full path to the assembly this will resolve the
situation. Searching for the key provides many resources on the web.

Signature
Many thanks,
Gary Varga
> There is no way to pass a parameter form MSI to template unless to add
> customized action in the MSI.
[quoted text clipped - 39 lines]
> >> > another
> >> > way to do this?
Michel LAPLANE (MVP) - 11 Mar 2008 09:13 GMT
Thanks.
I have learn new think today.
Enjoy with VS
> It appears the solution is to add it under the
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx
[quoted text clipped - 58 lines]
>> >> > another
>> >> > way to do this?