D
David
Hi all,
I am creating an activex control with c#.
This control needs to talk to two webservices.
Now, I can do a build fine in VS, but am having problems from the command
line.
I have run wsdl to create the two proxies to the web services.
I have copied these proxies into the project folder.
I have built the proxies using csc...
c:\windows\Microsoft.NET\Framework\v3.5\csc.exe /t:library
/out:fetchPrePop.dll fetchprepop.cs
c:\windows\Microsoft.NET\Framework\v3.5\csc.exe /t:library
/out:receivePrePop.dll receiveprepop.cs
I am then trying to build the actual activex but am having problems. I am
not actually sure where to look...
c:\windows\Microsoft.NET\Framework\v3.5\csc.exe /t:library
/out:GetPrePop.dll /r:GetPrePop.fetchPrePop /r:GetPrePop.receivePrePop
"C:\\Projects\N51\GetPrePop\Class1.cs"
I have tried without the /r: items, I have tried with just the fetchPrePop
and receivePrePop but I am getting a very similar error...
error CS0006: Metadata file 'GetPrePop.fetchPrePop' could not be found
(and same for receivePrePop)
Without the /r: items, I am getting an error...
error CS0234: The type or namespace name fetchPrePop does not exist in the
namespace
Any help would be very much appreciated to get this working.
Alternatively, is there a way that I can set up VS to compile the project to
be used as an activex library?
--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
I am creating an activex control with c#.
This control needs to talk to two webservices.
Now, I can do a build fine in VS, but am having problems from the command
line.
I have run wsdl to create the two proxies to the web services.
I have copied these proxies into the project folder.
I have built the proxies using csc...
c:\windows\Microsoft.NET\Framework\v3.5\csc.exe /t:library
/out:fetchPrePop.dll fetchprepop.cs
c:\windows\Microsoft.NET\Framework\v3.5\csc.exe /t:library
/out:receivePrePop.dll receiveprepop.cs
I am then trying to build the actual activex but am having problems. I am
not actually sure where to look...
c:\windows\Microsoft.NET\Framework\v3.5\csc.exe /t:library
/out:GetPrePop.dll /r:GetPrePop.fetchPrePop /r:GetPrePop.receivePrePop
"C:\\Projects\N51\GetPrePop\Class1.cs"
I have tried without the /r: items, I have tried with just the fetchPrePop
and receivePrePop but I am getting a very similar error...
error CS0006: Metadata file 'GetPrePop.fetchPrePop' could not be found
(and same for receivePrePop)
Without the /r: items, I am getting an error...
error CS0234: The type or namespace name fetchPrePop does not exist in the
namespace
Any help would be very much appreciated to get this working.
Alternatively, is there a way that I can set up VS to compile the project to
be used as an activex library?
--
Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available