What are the challenges you face when working across database platforms? Take the survey

problem smart assembly with System.Core

ammar136911ammar136911 Posts: 3
edited June 11, 2012 11:00AM in SmartAssembly
i use sa6.7
and see this
Stopped working

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: cjam.exe
Problem Signature 02:
Problem Signature 03: 4fd2aada
Problem Signature 04: System.Core
Problem Signature 05:
Problem Signature 06: 4ca2d78d
Problem Signature 07: 258
Problem Signature 08: 75
Problem Signature 09: System.ArgumentException
OS Version: 6.1.7601.
Locale ID: 1033
and my debuger show this

System.ArgumentException was unhandled
Message=The method '..' is not a property accessor
at System.Linq.Expressions.Expression.GetProperty(MethodInfo mi)
at System.Linq.Expressions.Expression.Property(Expression expression, MethodInfo propertyAccessor)
at ..(Int64 , )
at ...ctor()
at ..()

I'm confused. Just before the program was converted
Please help me


  • Options
    Please help me
    i used linq and wpf in my project
    i need your help right now
    :? :shock: :(
  • Options
    James BJames B Posts: 1,124 Silver 4
    Thanks for your post.

    You'll most likely need to exclude various items for it to work. If you check this page, you should see specifically it says this:
    If you are using Linq, you must exclude any classes using the System.Data.Linq.Mapping.Table attribute from obfuscation and pruning (this also applies if they are used as a dependency).
    Depending on the specific application you many need to exclude other classes.

    You can exclude items either in the Smartassembly UI or alternatively by tagging parts of your code with attributes as described here
    Systems Software Engineer

    Redgate Software

Sign In or Register to comment.