This project has moved and is read-only. For the latest updates, please go here.

how to use sandcastle with dlls

May 9, 2012 at 6:33 AM

 i have an WCF service  with filename cardService.cs in this class  i am using namespace  like This

using Microsoft.Practices.EnterpriseLibrary.Logging;
using jitsu.Generic.SharedUtils;

    public class cardService : cardService
 //  where  my  methods  go here

C:\temp2\Guy>%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\csc.exe /target:library /doc:cardService.xml cardService.cs
when i run my command like this it throws me an error telling not able to find the
under this  directory i have  my dll

cardService.cs(8,17): error CS0234: The type or namespace name 'Practices'
       does not exist in the namespace 'Microsoft' (are you missing an assembly
cardService.cs(11,7): error CS0246: The type or namespace name 'jitsu'
       could not be found (are you missing a using directive or an assembly
 any idea how  to  solve this  issue, is there any mistake in my syntax any help on this would be much appreciated

article which i am following here

May 9, 2012 at 8:17 PM

This is a C# compiler issue and is not related to generating documentation.  You probably need to explicitly specify the reference assemblies when calling the compiler using the /r command line switch.  If you have it, use Visual Studio to build the project rather than trying to do it by hand.  See the walkthroughs in the Getting Started section of the SHFB help file.  They will guide you through setting up your project properly and creating a help file builder project.