[SOLVED] The type or namespace name 'ServiceKnownTypeAttribute' does not exist in the namespace 'System.ServiceModel'

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
njs123
Posts: 25
Joined: Sun Dec 25, 2016 11:10 pm

[SOLVED] The type or namespace name 'ServiceKnownTypeAttribute' does not exist in the namespace 'System.ServiceModel'

Postby njs123 » Wed Mar 15, 2017 4:38 am

Hi,

I have created a WCF service and added XmlSerializerFormat attribute,

When I add reference to the service in cshtml application,
I get following error in reference.cs:
"The type or namespace name 'ServiceKnownTypeAttribute' does not exist in the namespace 'System.ServiceModel' (are you missing an assembly reference?)"

Image

JS-Support
Site Admin
Posts: 739
Joined: Tue Apr 08, 2014 3:42 pm

Re: The type or namespace name 'ServiceKnownTypeAttribute' does not exist in the namespace 'System.ServiceModel'

Postby JS-Support » Fri Mar 31, 2017 10:38 am

Hi,

The issue has now been fixed in Beta 11.1, available at:
http://forums.cshtml5.com/viewforum.php?f=6

Thanks.
Regards,
JS-Support


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest