<p>I have a class library with some extension methods written in C# and an old website written in VB.</p>

<p>I want to call my extension methods from the VB code but they don't appear in intelisense and I get compile errors when I visit the site.</p>

<p>I have got all the required <em>Import</em>s because other classes contained in the same namespaces are appearing fine in Intelisense.</p>

<p>Any suggestions</p>

<p><strong>EDIT:</strong> More info to help with some comments.</p>

<p>my implementation looks like this </p>

<pre><code>//C# code compiled as DLL
namespace x.y {
    public static class z {
        public static string q (this string s){
             return s + " " + s;
        }

    }
}
</code></pre>

<p>and my usage like this </p>

<pre><code>Imports x.y

'...'
Dim r as string = "greg"
Dim s as string = r.q() ' does not show in intelisense
                        ' and throws error : Compiler Error Message: BC30203: Identifier expected.
</code></pre>

Extension methods are just syntactic sugar for static methods. So
```
```
public static string MyExtMethod(this string s)
```
```
can be called in both VB.NET and C# with
```
```
MyExtMethod("myArgument")
```
```