How do I set a Guid using Microsoft Unity -
I do not get this. I can not find any documents on this seemingly innocuous problem. I've tried 4 different formats:
1) Brace + lower
& Lt; / Property & gt;
2) brace + top
& Lt; / Property & gt;
3) nobrace + upper
& lt; Property Name = "DefaultImpactID" propertyType = "System.Guid" & gt; & Lt; Value value = "67A5 AC 6-AB4D-47DD-AFC 7-EE44FC2D6FF" /> & Lt; / Property & gt;
4) nobrace + lower
& lt; Property Name = "DefaultImpactID" propertyType = "System.Guid" & gt; & Lt; Value value = "fbfa75c0-a0a0-40e2-a239-c5c6b7435fa6" /> & Lt; / Property & gt;
Always get the same error: System.InvalidOperationException: The value for the "DefaultImpactID" property can not be resolved. ---> System.InvalidCastException: The specified cast is not valid ..
Never give value to Imagine typing on elements such as:
& lt; Property Name = "DefaultUrgencyID" propertyType = "System.Guid" & gt; & Lt; Value type = "System.Guid" value = "67a05ac6-ab4d-47dd-afc7-ee44fc2d6faf" /> & Lt; / Property & gt;
(you do not have to string!)
Comments
Post a Comment