I have an interesting situation here that I was hoping someone may be able to give some pointers on. First my application is all provided within a class library assembly so that it can be loaded by multiple hosts. We are investigating moving
to Visual Studio 2010 and the .Net Framework 4.0 for some of the new features. However, one of our hosts is a 2.0 click once application that we do not have the source to. I've tried modifying the config file for the executable to add the useLegacyV2RuntimeActivationPolicy
with the 4.0 as the supported runtime and setting loadFromRemoteSources as suggested by a Google search and that came close to working. However, depending on the workflow through our client code is giving a System.IO.FileNotFoundException for various
references. The message associated with the exception is Could not load file or assembly 'file:///XXXXXX.resources.dll' or one of its dependencies. The system cannot find the file specified." Were the XXXXX changes and the .dll
may or may not be present depending on whether Assembly.Load or Assembly.LoadFrom was used to perform the load.
Any thoughts would be greatly appreciated.
[Addition: I forgot to mention that our app originally targeted Framework 3.5SP1]
View Complete Post