I am trying to include a c# servlet CompanyListService.cs in gwan csp folder and getting a compile error 'The type or namespace name `PropertyManagement' could not be found. Are you missing a using directive or an assembly reference?'
PropertyManagement.sql.dll is in the same folder. Also tried to install it in GAC and no luck.
if use, 'mcs CompanyListService.cs -r:PropertyManagement.Sql.dll', it resolves the assembly
Existing Hello.cs and Loan.cs working fine. Any help will be appreciated?
Thanks Ram
// C servlet example for the G-WAN Web Application Server 
// http://gwan.ch/
// hello.cs: G-WAN supports .NET C# servlets
using System;
using System.Collections.Generic;
//using PropertyManagement.Sql;
//using System.Runtime.Serialization.Json;
using System.Text;
public class CompanyListService
{
   public static int Main(string[] args)
   {
    PropertyManagement.Sql.CompanyRepository Repository = new PropertyManagement.Sql.CompanyRepository();
    List<PropertyManagement.Sql.Company> CompanyList = Repository.GetCompanyList();
    //string json = JsonSerializer<List<Company>>(CompanyList);
        Gwan.xbufCat(Gwan.getReply(args[0]), "test");
        return 200; // HTTP status (200:'OK')
   }
}
 
     
    