简体   繁体   中英

Visual Studio Not Finding .dll At Runtime

I am writing a program in C# with Visual Studio 2013 that builds on another program I wrote. In development everything appears to be fine; I added a reference in my current program to the previous program and it picks up everything as expected. However, at runtime it throws a FileNotFound exception saying it can't find the program I am trying to build on top of even though the dll of the program I am trying to run and the program I am trying to reference are in the same directory and the reference is added properly.

在此输入图像描述

在此输入图像描述

您需要将所有dll的CPU类型更改为任何dll

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM