this is actually a follow up to a question I asked yesterday about problems with using older DLLs in Visual C# 2010. I have added the configuration file and the DLL runs well. The issue I'm having is that I would like to avoid having my entire project run in legacy mode.
I have gone around this by creating a new console project with command line access to all the functions I need from the DLL and read the output in my main project. This way it acts as a separate component, and I don't have to worry about legacy mode affecting anything in my main project.
The problem is that I feel as though this will really slow down my application in the long run, and since what I am developing needs to be fast, I was wondering if there is another approach to doing this. As I mentioned in the previous question, I cannot rebuild the DLL in 4.0.
Thanks,
PM