VS2012构建(C#winform .Net framework 4.0 Win8)应用程序不能与Win7一起使用 [英] VS2012 build (C# winform .Net framework 4.0 Win8) application is not working with Win7

查看:115
本文介绍了VS2012构建(C#winform .Net framework 4.0 Win8)应用程序不能与Win7一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个应用程序C#Win8机器,但该应用程序没有在Win7机器上显示某些表单。

代码:

一个未打开的表单被称为

 frm_EditParameter obj_EditParameter =  new  frm_EditParameter(); 
obj_EditParameter.GetParamData(Param_Info,rowIndex)



在GetParamData函数结束时调用this.show来查看表单。

请帮我解决这个问题。

解决方案

错误是什么?

可能你有一个未找到的依赖项在Windows 7上。



如果存在任何依赖性加载失败,您可以使用Fusion日志来跟踪。

http://www.codeproject的.com /提示/ 796990 /调查管理装配-负载故障

I have created one application C# Win8 machine but that application is not showing some forms on Win7 machine.
Code:
one form which is not open is called as

frm_EditParameter obj_EditParameter = new frm_EditParameter();
obj_EditParameter.GetParamData(Param_Info, rowIndex)


at the end of GetParamData function this.show is called to view a form.
Please help me on this.

解决方案

What is the error?
Possibly you have a dependency which is not found on Windows 7.

You can use Fusion log to trace if there is any dependency load failure.
http://www.codeproject.com/Tips/796990/Investigating-Managed-Assembly-Load-Failures


这篇关于VS2012构建(C#winform .Net framework 4.0 Win8)应用程序不能与Win7一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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