什么时候没有安装dotnet框架 [英] when dotnet framework not installed

查看:85
本文介绍了什么时候没有安装dotnet框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在没有准备dotnet框架的情况下运行应用程序时,会出现一条错误消息:

必须设置dotnet框架。

如何更改此消息?或者,我可以从我的申请中做一些功能吗?



这个 app [ ^ ],未安装dotnet框架时出现自定义错误消息!

When run an application in the absence of the preparation dotnet framework, an error message appears:
to must setup dotnet framework.
How do I change this message? or, can i do some function from my application?

this app[^], custom error message when dotnet framework not installed!

推荐答案

否。

在应用程序运行之前,您必须安装正确版本的框架并执行任何操作。您无法更改消息,因为它是执行.NET应用程序时发生的默认操作的一部分。如果找不到正确的框架,则永远不会执行您的应用程序代码。
No.
You must have the correct version of the framework installed before your application can run and do anything. You cannot change the message because it is part of default operations that happen when you execute a .NET application. If the correct framework is not found, your application code is never executed.


您可以在VB6中创建自定义安装程序(vb6不需要.net来执行)并检查.net安装然后你提取你的软件安装,如果没有安装,你可以编写自定义消息或做其他事情。
You may create custom installer in VB6(vb6 do not need .net to be xecuted) and do check for .net is installed then you extract you installation of software and if not installed you may wrote custom message or do something else.


这篇关于什么时候没有安装dotnet框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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