This project is read-only.

Generate All Code does not always correctly name files/classes


If I open an existing Service Contract model, create a new operation with new incoming and outgoing messages, the last message I create will be generated as "Message1" and the class in that file called "Message1". To remedy this I have to delete the Message1.cs file, save the MessageContract project, re-open the Service Contract model, revalidate, re-save, regenerate.


AndreiDvoynos wrote Sep 19, 2013 at 11:06 PM

I get the same problem. And your solution works, altough I also the error explained in this post:

I have to do a lot of re-validating, saving, deleting and reopening for it to work as it should.