4
Vote

Generate All Code does not always correctly name files/classes

description

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.

comments

AndreiDvoynos wrote Sep 19, 2013 at 10:06 PM

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

http://servicefactory.codeplex.com/workitem/15714

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