Tag: file not found

启动进程时System.ComponentModel.Win32Exception – 找不到文件,但文件存在

我正在尝试为自动启动创建一个经理。 它应该读取XML文件,然后以自定义延迟启动我的程序。 例如: Realtek Audio Manager C:\Program Files\Realtek\Audio\HDA\RtkNGUI64.exe 5 这将在5秒后运行指定的进程( C:\Program Files\…\RtkNGUI64.exe -s )。 现在,三个程序无法启动,给我一个System.ComponentModel.Win32Exception :“Das System kann die angegebene Datei nicht finden。” (“系统无法找到指定的文件。”) 但是XML被正确解析,我想要启动的文件位于我在XML文件中指定的位置。 问题只涉及这三个文件: Intel HotkeysCmd – C:\ Windows \ System32 \ hkcmd.exe 英特尔GFX托盘 – C:\ Windows \ System32 \ igfxtray.exe 英特尔持久性 – C:\ Windows \ System32 \ igfxpers.exe 我认为问题来自文件的位置:它们都位于C:\ Windows \ System32中,而所有其他工作程序都位于外部(C:\ […]

C#windows appication事件:应用程序启动时CLR20r3

好的,所以我创建了ac#应用程序并将其安装在我的测试盒上。 我的应用程序在我的开发盒上工作得很好,但是当我安装在另一台机器上时,它会在Main()中崩溃。 我得到了EventType:CLR20r3 这是事件消息 Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: logfileviewer.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 4f356c9c Problem Signature 04: LogFileViewer Problem Signature 05: 1.0.0.0 Problem Signature 06: 4f356c9c Problem Signature 07: 94 Problem Signature 08: 44 Problem Signature 09: System.IO.FileNotFoundException OS Version: 6.1.7601.2.1.0.256.1 Locale ID: 1033 Additional Information 1: […]