Works in .NET 4.0 beta2 (!)

Jan 20, 2010 at 12:24 PM

I tried it yesterday, and it still works for .NET 4.0 Assemblies even that Sandcastle is running in the 2.0 CLR, but not without some tweaking:

How to make it work: 
Copy all referenced assemblies to the same folder, including the 4.0 System assemblies. Then it compiles and the files are generated.

- Rune

Feb 13, 2010 at 12:33 PM

I am seeing that it chokes on Action<> delegate. This code:

public class Class1: Intro
        /// <inheritdoc />
        public void Method(Action<int, int> i)
            throw new NotImplementedException();

    public interface Intro
        /// <summary>
        /// SOme method.
        /// </summary>
        void Method(Action<int, int> i);

Will result in no members generated for interface Intro nor any method from Intro will be visible in Class1. I've found that the problem is caused by Action<> delegate. Once I remove it everything works fine (in .net <4.0 it works as expected).

Hopefully the update will solve this issue.