Making LF 7.1 .NET Work Side by Side with newer versions of the Framework and VS
We believe we have found a possible work around to the incompatibility with systems with .NET 2.0 on them. Our .NET integration was looking for the latest installed version of the framework and not specifically v1.1. To fix this you need to do two things:
1. Force our .NET integration to use v1.1 of the framework by using an xml configuration file. This file is attached to this post and is named f95.exe.config.f. Save it to your local machine and rename it f95.exe.config. Copy this file named f95.exe.config into the same directory on your system as the file f95.exe. This directory is usually C:\Program Files\Lahey-Fujitsu Fortran\v7.1\bin.
2. Force our .NET compiler to use v1.1 of the framework by using an xml configuration file. Make a copy of the file f95.exe.config from 1. above and name this copy jwd_fort.exe.config. You should now have the files f95.exe.config and jwd_fort.exe.config in your Lahey-Fujitsu Fortran\v7.1\bin directory.
The project should now build and run without any problems. Note that version 1.1 of the .NET Framework and Visual Studio 2003 still needs to be installed on your system in order to build applications. Note also that you should be able to distribute your built Fortran .NET applications to people with just v2.0 of the .NET Framework on their system as that is backwardly compatible with v1.1.
Last edited by tzeis : 05-23-2009 at 11:32 PM.
|