AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Svcutil exe has stopped working9/16/2023 Alternatively, consider using the /importXmlTypes option to import these types as XML types to use with DataContractFormatAttribute attribute on your service contract. Types generated by xsd.exe may be used in the Windows Communication Foundation after applying the XmlSerializerFormatAttribute attribute on your service contract. If you are using the /dataContractOnly option to import data contract types and are getting this error message, consider using xsd.exe instead. Either change the schema so that the types can map to data contract types or use ImportXmlType or use a different serializer. Unfortunately, this results in an error.Įrror: Type ‘ResourceType’ in namespace ‘ cannot be imported. I need to use the /dconly option to generate just the data contracts. The main file is DDMS-v2_0.xsd, so I run svcutil against that one. I extract the relevant files to a working directory. For example, XLink is now used, and the ICISM has been updated, among other things. The files are available from and include some different dependencies than the previous version. This utility gives the option to refer to local files or remote files, but past experience tells me to just download the XML Schema files and run it locally. We are using WCF, so my first thought is to use svcutil.exe to generate just the data contract. We already have a system making use of DDMS version 1.4, but the task at hand is to see what it will take to upgrade it to make use of DDMS version 2.0, which was released in July 2008.
0 Comments
Read More
Leave a Reply. |