| Author |
Message |
gs2010
Joined: 23 Jun 2010 Posts: 2
|
Posted: Wed Jun 23, 2010 4:34 am Post subject: Problem with VS 2010 and 4.0 framework |
|
|
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 |
|
 |
gs2010
Joined: 23 Jun 2010 Posts: 2
|
Posted: Wed Jun 23, 2010 1:04 pm Post subject: |
|
|
| anyone ? |
|
| Back to top |
|
 |
Paul.Martin
Joined: 03 Feb 2010 Posts: 83 Location: Cambridgeshire
|
Posted: Wed Jun 23, 2010 7:25 pm Post subject: |
|
|
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 |
|
 |
|
|
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