我一直在开发一个应用程序约2个月。这是我以前第一次做这个尺寸的任何事情。现在,我已经接近让所有进程按照我希望的方式运行,我在尝试运行该应用程序时遇到以下错误。为什么我的C#应用程序不能在另一台机器上执行?
我之前创建的应用程序运行得很好......实际上在其他机器上更好。但这个应用程序正在破坏我的印章。
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: logopicking.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 4f4e6509
Problem Signature 04: System.Drawing
Problem Signature 05: 4.0.0.0
Problem Signature 06: 4ba1e086
Problem Signature 07: 30
Problem Signature 08: 14
Problem Signature 09: System.IO.FileNotFoundException
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
这就是它给我的错误。
要添加更多的信息,我会发布usings
using System;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using Interop.QBFC11;
我不知道是否有什么问题与任何这些可以创建将阻止应用启动的问题。
仅仅因为您添加了对项目的引用并不意味着这些文件将全部自动位于目标PC上,或者这些文件将被注册(如果需要)。 – jp2code 2012-02-29 22:37:33
可能重复的[FileNotFoundException当加载DLL](http://stackoverflow.com/questions/9503429/filenotfoundexception-when-loading-dll) – 2012-02-29 23:31:11