mix of C# and VB?

Dec 17, 2007 at 7:06 PM
Hi,

Is it possible to use both VB and C# (in separate folders within app_code) ? I didn't succeed. I get the following message:

The type 'DotNetNuke.Modules.IWeb.WebService' is ambiguous: it could come from assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnn2\3c2af968\15c11e58\AppSubCodeIWeb.s4rcc-ts.DLL' or from assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnn2\3c2af968\15c11e58\AppSubCodeAGSIS.g-7fcsog.DLL'. Please specify the assembly explicitly in the type name.

Also, when I compile the method (not in app_code), the "Refresh Web Methods" button does not find the C# methods...

Any help, please?
Thanks,
Catalin
Coordinator
Dec 22, 2007 at 3:33 PM
It is not possible to mix C# and VB IWeb methods at this time. The next version in Q1 of 2008 will allow this.
Oct 27, 2008 at 10:10 PM
Does the current version of IWeb support C# at this time?

Callon
Coordinator
Oct 27, 2008 at 10:19 PM
Yes, On the releases page there is WebCSharp 02.50.00 as of today (10/27/2008) it is the current version of IWeb for C#