Red Gate forums :: View topic - problem smart assembly with System.Core
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

problem smart assembly with System.Core

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
ammar136911



Joined: 09 Jun 2012
Posts: 2

PostPosted: Sat Jun 09, 2012 10:34 am    Post subject: problem smart assembly with System.Core Reply with quote

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
Sad
Back to top
View user's profile Send private message
ammar136911



Joined: 09 Jun 2012
Posts: 2

PostPosted: Sun Jun 10, 2012 9:26 am    Post subject: Reply with quote

Please help me
i used linq and wpf in my project
i need your help right now
Confused Shocked Sad
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1144
Location: My desk.

PostPosted: Mon Jun 11, 2012 4:00 pm    Post subject: Reply with quote

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:

Quote:
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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group