missing "ExtractPropertyValue" method, while compiling


Error 2 'Microsoft.Crm.Sdk.BusinessEntity' does not contain a definition for 'ExtractPropertyValue' and no extension method 'ExtractPropertyValue' accepting a first argument of type 'Microsoft.Crm.Sdk.BusinessEntity' could be found (are you missing a using directive or an assembly reference?) C:\Downloads\XrmDevelopmentPack\XrmDevelopmentPack\Helpers\XrmHelpers.cs 113 53 XrmDevelopmentPack
Thanks for sharing!

file attachments

Closed Dec 30, 2009 at 10:26 PM by kgooding
Add a reference to the DLL located at:bin\Release\Streamline.Helpers.dll


kgooding wrote Dec 29, 2009 at 4:25 PM

Apologies for the delay, I never received a notification of this post :(

Can you confirm you are referencing the Streamline.Helpers.dll, which contains the Streamline.Helpers namespace. This contains the following extension method:
public static class ObjectHelper
    public static T ExtractPropertyValue<T>(this object obj, string propertyName)
        PropertyInfo field = obj.GetType().GetProperty(propertyName);
        return (T)field.GetValue(obj, null);
I may of updated the source since the 17th so feel free to download the latest, unfortunately SVN is not working with this project. It appears to be an issue with how CodePlex provisioned the project, hopefully this gets resolved.

I'm glad you downloaded the project, and I would love to hear more feedback/requests.

Much Appreciated,


wrote Dec 29, 2009 at 4:25 PM

she wrote Dec 29, 2009 at 8:57 PM

Redownloaded it, seems I still can not build everything from source code. In other words, I did not see the source of "Streamline.Helpers.dll" in the new download ... must be the SVN issue you mentioned
Thanks and happy 2010!

kgooding wrote Dec 29, 2009 at 9:22 PM

There is no source for the Streamline.Helpers namespace, it will be within the bin directory. Alternatively, I attached it here on my preceding post. You will have to right click the project and add a reference to the Streamline.Helpers.dll.

Hope that helps!

A happy new year to you too.


she wrote Dec 29, 2009 at 9:53 PM

Thanks Kurt!

kgooding wrote Dec 29, 2009 at 9:59 PM

No problem, glad I could help. Like I said, I look forward to hearing any feedback you may have. If there's anything I can help you with don't hesitate to post an item here at CodePlex.

Thanks again for your feedback!

wrote Dec 30, 2009 at 10:26 PM

wrote Feb 13, 2013 at 12:37 AM

wrote May 15, 2013 at 12:11 AM