Red Gate forums :: View topic - Problem with VS 2010 and 4.0 framework
Return to www.red-gate.com RSS Feed Available

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

Problem with VS 2010 and 4.0 framework

Search in SmartAssembly 5 forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
gs2010



Joined: 23 Jun 2010
Posts: 2

PostPosted: Wed Jun 23, 2010 4:34 am    Post subject: Problem with VS 2010 and 4.0 framework Reply with quote

Hello,

I have one assembly that I process through smartassembly, it has a couple of dependencies that I embed. If I use that assembly in a .net project that targets the 3.5 framework everything is fine.
When used in the 4.0 framework, the application will be unable to locate the dependencies ( File not found exception)
I am using {sa} 5.0.
Did you guys ever hear of this ?

Thanks
Back to top
View user's profile Send private message
gs2010



Joined: 23 Jun 2010
Posts: 2

PostPosted: Wed Jun 23, 2010 1:04 pm    Post subject: Reply with quote

anyone ?
Back to top
View user's profile Send private message
Paul.Martin



Joined: 03 Feb 2010
Posts: 83
Location: Cambridgeshire

PostPosted: Wed Jun 23, 2010 7:25 pm    Post subject: Reply with quote

Sorry for taking a while to reply.

We've not come across this before.

A few questions:

What framework does your assembly target, and what do the dependencies target?

Is the .NET 4.0 app calling and using the assembly in the same way as the .NET 3.5 app?

How is the assembly being called (i.e. are you using Assembly.Load(...) or similar)?

Are you getting the error message (File not found) at compile time or at runtime?
And what does the error message say - is it saying that it cannot find the assembly, "cannot find the assembly or one of it's dependencies" or cannot find one of the dependencies.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. 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