Visual Studio Snippets: How to reference an assembly that is not in the GAC

Posted by user334220 on Stack Overflow See other posts from Stack Overflow or by user334220
Published on 2010-05-06T08:40:39Z Indexed on 2010/05/06 19:58 UTC
Read the original article Hit count: 171

Filed under:
|
|
|
|

Hi, I have a 3rd party non-signed assembly that I want to reference in several projects. So I created a snippet to add the reference and the relative imports

I tried the following, and several variations with full paths, without file:// etc, to no avail. Any ideas?

...
<Snippet>
    <References>
        <Reference>
            <Assembly>MyAssemly.dll</Assembly>
            <Url>file://C:\Program Files\MyProduct</Url>
        </Reference>
    </References>
    <Imports>
        <Import>
...

© Stack Overflow or respective owner

Related posts about snippet

Related posts about Xml