I am trying to create a DataContract for a simple REST based webservice using a XSD file.
However when I run:
svcutil /dconly .\workcodes.xsd /out:workcodes.cs
I get the following error message:
Error: Cannot read .\workcodes.xsd.
Cannot load file C:\home\timesheet_webpart\workcodes.xsd as an Assembly. Check the FusionLogs for more Information.
Could not load file or assembly 'file:///C:\home\timesheet_webpart\workcodes.xsd' or one of its dependencies. The module was expected to contain an assembly manifest.
I do not know why it would be trying to load the XSD as an assembly. I researched the issue and was unable to find a solution.
Can anyone shed some light on this issue? I have att
View Complete Post