I think I have found the problem and it isn't situated at the Saxon
level. The problem lays with an extension for Visual Studio .NET called
Resharper and I can work around it.
It compiles at the moment, although I didn't actually get the example file 'XsltExamples.cs' to work.
A filename is given to the ExampleSimple1 method, but it expects an Uri. Had no time yet to look at this, but I'm guessing it's probably something stupid I did :)
I'm afraid you probably know a lot more about Visual Studio than I do. All I
can really say is that I haven't encountered this problem - though when I do
encounter such problems, I do find them hard to diagnose. Did you install
the Saxon DLLs in the GAC? Are you sure you are referencing the right
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org ] On Behalf Of Tuy
> Sent: 20 February 2007 14:17
> To: email@example.com
> Subject: [saxon] Saxon & Visual Studio
> Hi all,
> I know my way around Visual Studio & .NET since I've been
> using it for years professionally, but I'm new to Saxon. I've
> converted mainly because I need the XSLT 2.0 functionality :)
> I'm trying to get Saxon to work under Visual Studio 2003/2005
> (with Resharper installed). Also tried to load the sample
> XsltExamples.cs, but I always seem to have the same problem :
> It always has problems with the following line
> using Saxon.Api;
> It seems to have a problem with the 'Saxon' namespace and yes
> I have the reference, I even references all 4
> - IKVM.GNU.Classpath.dll
> - IKVM.Runtime.dll
> - saxon8.dll
> - saxon8api.dll
> Obviously I'm doing something wrong. I've been at it for
> hours and hours ...
> Anyone have any idea what I'm missing ?
> View this message in context:
> Sent from the saxon-help mailing list archive at Nabble.com.
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
> chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> saxon-help mailing list