rfresh Posted January 24, 2015 Report Posted January 24, 2015 Hi Paul My Visual Studio 2013 C# app runs fine inside the VS 2013 IDE. When I compile the app and try to run its exe outside of VS 2013 I get the following error on start up: ************** Exception Text ************** System.IO.FileNotFoundException: Could not load file or assembly 'FSUIPCClient, Version=3.0.5495.14, Culture=neutral, PublicKeyToken=7e7559b53e380b17' or one of its dependencies. The system cannot find the file specified. File name: 'FSUIPCClient, Version=3.0.5495.14, Culture=neutral, PublicKeyToken=7e7559b53e380b17' I checked the FSUIPC DLL path in the VS Solution Explorer and the path is set correctly in References. There must be something else I don't have configured correctly in my VS 2013 IDE for building my solution? Thanks...
Paul Henty Posted January 24, 2015 Report Posted January 24, 2015 Two things to check: 1. The FSUIPCClient.dll is in the same folder as your .exe. All supporting DLLs must be placed alongside your .exe. 2. If you've used the 'release' build profile, make sure it's also set to compile to a 32bit (x86) .exe. Otherwise it will run as a 64bit .exe and won't be able to load the FSUIPCClient.dll. for #2: go to the properties of your project go to the 'build' tab on the left, select the 'release' profile from the 'configuration' dropdown near the top. Make sure the 'platform target' is set to 'x86'. Paul
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now