无法在其他电脑中使用Visual Studio C#项目的.exe文件 [英] Unable to .exe file of visual studio C# project in other pc's

查看:217
本文介绍了无法在其他电脑中使用Visual Studio C#项目的.exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i创建了一个visual studio c#项目,我从bin文件夹中复制了.exe文件并尝试在其他pc中运行exe文件。它无法运行。我试过用发行文件夹中的.exe文件也是。我曾经在其他电脑上运行的旧项目,但是这个项目没有在其他电脑上运行,而是在我的电脑上正常运行。

请帮助我摆脱它。





项目名称是BMU模拟器,它会显示以下错误



问题事件名称:CLR20r3

问题签名01:bmu simulator.exe

问题签名02:1.0.0.0

问题签名03:57c2c3a3

问题签名04:BMU模拟器

问题签名05:1.0.0.0

问题签名06:57c2c3a3

问题签名07:1

问题签名08:f

问题签名09:System.IO.FileNotFoundException

操作系统版本:6.1.7601.2。 1.0.256.48

地区ID:16393

附加信息1:0a9e

附加信息2:0a9e372d3b4ad19135b953a78882e789

附加信息3:0a9e

其他信息4:0a9e372d3b4ad19135b953a78882e789



在线阅读我们的隐私声明:

http://go.microsoft.com/ fwlink /?linkid = 104288& clcid = 0x0409



如果没有在线隐私声明,请离线阅读我们的隐私声明:

C:\ Windows \system32 \\\-US \ _erofflps.txt



我尝试了什么:





i创建了一个visual studio c#项目,我从bin文件夹中复制了.exe文件并尝试在其他pc中运行exe文件。它无法运行。我在发布文件夹中尝试使用.exe文件。我的旧项目曾经在其他电脑上运行但是这个项目没有在其他电脑上运行但在我的电脑上正常运行。

和蔼帮助我走出它。


i have created a visual studio c# project,i have copied .exe file from bin folder and try to run the exe file in other pc's.it was unable to run.i tried with .exe file in release folder also.my old projects used to run in other pc's but this project is not running in other pc's but running correctly in my pc.
kindly help me to come out of it.


project name is BMU Simulator and it will show following error

Problem Event Name: CLR20r3
Problem Signature 01: bmu simulator.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 57c2c3a3
Problem Signature 04: BMU Simulator
Problem Signature 05: 1.0.0.0
Problem Signature 06: 57c2c3a3
Problem Signature 07: 1
Problem Signature 08: f
Problem Signature 09: System.IO.FileNotFoundException
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 16393
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

What I have tried:


i have created a visual studio c# project,i have copied .exe file from bin folder and try to run the exe file in other pc's.it was unable to run.i tried with .exe file in release folder also.my old projects used to run in other pc's but this project is not running in other pc's but running correctly in my pc.
kindly help me to come out of it.

推荐答案

你需要先看看你的代码,以及它需要阅读和/或写的文件:它说的是 System.IO.FileNotFoundException所以有可能你试图从新PC上不存在的文件或文件夹中加载数据但是你的文件或文件夹上的数据是什么。

不止于此,我们不能说 - 我们没有访问您的代码,如果我们这样做就无法运行它!
You need to start by looking at your code, and what files it needs to read and / or write: it's saying "System.IO.FileNotFoundException" so the chances are that you are trying to load data from a file or folder that doesn't exist on the "new" PC but which does on yours.
More than that, we can't say - we don't have access to your code and couldn't run it if we did!


i have created a visual studio c# project,i have copied .exe file from bin folder and try to run the exe file in other pc's.it was unable to run.i tried with .exe file in release folder also.my old projects used to run in other pc's but this project is not running in other pc's but running correctly in my pc.
kindly help me to come out of it.


这篇关于无法在其他电脑中使用Visual Studio C#项目的.exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆