-
Notifications
You must be signed in to change notification settings - Fork 121
Exception in VS2017 Community #9
Comments
It's really hard to diagnose without example. Please provide code where you are trying to apply generator. (Source and target class definitions and mapping method) |
Yeah...I figured it would be but was hopeful that the ST would be enough:-). The Quick Action "Implementation of mapping method can be generated" appears on the first line of the following
Option is a type defined in the library lang-ext. As mentioned, as soon as the MG menu item gains focus in the Quick Action context menu...boom...VS displays the extension error bar; "MappingGeneratorCodeFixProvider encountered an error and has been disabled", w/ the link for the ST, and buttons to re-enable. Hope this is more helpful. |
@davegi you forgot about SegmentedString class definition. |
Sorry...I realize that you asked for the class definition but I read
`
|
Thanks, I will investigate it later. |
It looks like the readonly properties are the culprit. This issue has been fixed on develop branch and new version should be release in few days. By the way, currently MappingGenerator maps only properties, but not fields. I will take this option under advisement. |
As soon as the 'Generating mapping code" context menu gains focus:
The text was updated successfully, but these errors were encountered: