Jump to content
  • Advertisement
Sign in to follow this  
ryanmvsg

[C#] KB815131 work around

This topic is 2300 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone else have another work around other then renaming all of your class references in the reference.cs file? I have a serialized dicitonary with many different key/value pair types and that would be an unreasonable solution to have to go through it everytime I had to update the service reference :(

Share this post


Link to post
Share on other sites
Advertisement
Seems like a job for the tool called sed (Stream EDitor)

[color=#333333][font=arial,]sed -i 's/search/replace/g' *[/font]

[font="arial,"][color="#333333"]Put the old name in search, the new name in replace, and let the renaming magic happen. [/font]

Share this post


Link to post
Share on other sites
the only issue with that is it also doesn't see any class that contains a serialized dictionary field it doesn't add it to the wdsl. It acts as if that class does not exist so I also have to re-create all classes that use it. It's a major head ache.

Share this post


Link to post
Share on other sites
I basically am tired of all the bugs visual studio has with anything that uses IXMLSerializer. is there a way to serialize a dictionary without using IXMLSerializer?

Share this post


Link to post
Share on other sites
Json serializes things more nicely, but doesn't often work with services without its own batch of headaches.

Share this post


Link to post
Share on other sites
Thanks for all of the posts guys. I'm wanting to eventually take my research and apply it to a commercial project so I'd like as little 3rd party solutions as possible. But I do appreciate the quick feedback, you guys are great :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!