SmartAssembly - FileNotFound Exception
ravikrishna
Posts: 7 New member
Hi,
This is my first time posting here. I'm new to this tool.
I'm having a .Net C# Win App for which i'm trying to use the Smart Assembly. When I try to create the project and generate the assembly and run the application, i'm encountering the following issue.
This is my first time posting here. I'm new to this tool.
I'm having a .Net C# Win App for which i'm trying to use the Smart Assembly. When I try to create the project and generate the assembly and run the application, i'm encountering the following issue.
System.IO.FileNotFoundException: Could not load file or assembly 'EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
This seems bit strange as the SearchPath which is included in the .settings file contains the above mentioned assembly. Also another weird thing is, this Assembly doesn't come in the list of the Dependencies whenever I try to create the Project. I'm seeing every other dll, except this in the list of the dependencies.
Thanks,
Ravi
This seems bit strange as the SearchPath which is included in the .settings file contains the above mentioned assembly. Also another weird thing is, this Assembly doesn't come in the list of the Dependencies whenever I try to create the Project. I'm seeing every other dll, except this in the list of the dependencies.
Thanks,
Ravi
Tagged:
Answers
Thanks for the update. I tried adding the explicit Assembly path, as suggested in the page, but with no luck. I'm still encountering the error that File not found.
What am not able to figure out is why its not picking this specific assembly, but others.
Thanks
https://forum.red-gate.com/discussion/comment/153214#Comment_153214