problem smart assembly with System.Core

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

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


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

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

Comments

  • Please help me
    i used linq and wpf in my project
    i need your help right now
    :? :shock: :(
  • 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.