在Windows Emmulation中安装C#应用程序. [英] C# Application install in Windows Emmulation....

查看:77
本文介绍了在Windows Emmulation中安装C#应用程序.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经编写了一个可在Windows XP,Vista和7中使用的应用程序.我使用了C#,并使用Vis Studio 2008构建了该应用程序,它在XP Home&Pro&Win 7 Pro上运行良好,创建了图标,可以毫无问题地保存目录和ini文件.我发给客户的只是为了让他有问题,我认为这可能是因为他使用Mac上仿真的Win 7,我对Mac知之甚少,除了白色而且运行Windows(?),
给我两个问题1)(我知道Code项目上有一些Mac用户)在Visual Studio 2008安装程序之前有人见过吗? 2)如果需要运行Windows,为什么要在Mac上运行? (对我来说似乎是浪费钱)
Glenn

Hi All,

I have written an application for use in Windows XP, Vista & 7. I used C# and built it using Vis Studio 2008 it works fine on XP Home & Pro & Win 7 Pro, creates the icons save directories & ini files with no problem. I have sent to the customer only for him to have problems, I think it may be because he uses Win 7 emmulated on a Mac, I know very little about the Mac other than it''s white and runs Windows (?),
leaving me with two questions 1) (I know there are some Mac users on Code project) has anyone seen this before with the visual studio 2008 installer? 2) If you need to run Windows why do it on a Mac? (Seems like a waste of money to me)
Glenn

推荐答案

您没有给我们提供有关实际问题的任何有用描述,因此,此答案有点笼罩在黑暗中.

也许其中一台计算机安装了.Net Framework 4.5,而另一台仅安装了4.0?显然4.5有一些修复程序,并且如果用户都安装了这些修复程序,则这些修复程序将应用于.Net 4.0.不确定是否要以4.0为目标,因为我不确定Visual Studio 2008是否可以做到这一点.

但是,由于您很幸运,您的用户在虚拟机内部遇到问题,因此也许您可以让该用户向您发送虚拟机,然后您可以在本地运行它.不确定他们使用的是哪个VM环境,因此我无法开始推测可能需要什么转换过程,但是您可以通过我想像的谷歌搜索来弄清楚(例如,"vmware将虚拟机从mac转换为Windows").

如果您不能在黑暗中随机拍摄来解决问题,也许看看一些日志?如果问题出在您的代码上,请输入一些日志记录代码(以记录异常等).如果问题出在您使用的某些工具(例如,安装程序包),则Google会查看您是否拥有可以使用的日志.然后让用户向您发送日志.

如果您真的很绝望,则可以创建一系列测试来确定确切的问题.例如,为"hello world"应用程序创建一个简单的安装程序.也许可以在没有安装程序的情况下为您的应用创建特殊版本(因此,它只能从文件夹运行).您认为可能是问题的任何东西,为此创建一个小型测试应用程序.然后让用户尝试其中的每个问题,并向您报告任何问题.然后,您可以使用消除方法找出您的痛点.

哦,最后一个想法.我最近安装了一个VM,但无法访问它(至少,我无法访问Internet……我只能访问公司内部的网络).因此很有可能是网络问题(例如,如果安装程序打电话回家"以验证激活码).
You haven''t given us any useful description of the actual problem, so this answer is a bit of a shot in the dark.

Maybe one of the computers has .Net Framework 4.5 installed, and the other only has 4.0? Apparently 4.5 has some fixes, and those fixes get applied to .Net 4.0 if the user has both installed. Not sure if you''d be targeting 4.0 though, as I''m not sure if Visual Studio 2008 can do that.

However, since you are in the lucky position that your user is having the problem inside a virtual machine, maybe you can have that user send you the virtual machine and you can run it locally. Not sure which VM environment they''re using, so I couldn''t begin to speculate on what conversion process may be necessary, but you can figure that out with some Googling I imagine (e.g., "vmware convert virtual machine from mac to windows").

If you can''t solve the problem with random shots in the dark, maybe look into some logs? If the problem is with your code, put in some logging code (to log exceptions and such). And if the problem is with some tool you use (e.g., an installer package), Google to see if that has logs you can use. Then have the user send you the logs.

If you are really desperate, you can create a series of tests to nail down the exact problem. For example, create a simple installer for a "hello world" application. And maybe create a special build of your app without an installer (so it just runs from a folder). Anything you think may be the problem, create a small test app for it. Then have the user try each of those and report any problems to you. You can then use a process of elimination to figure out what your pain point is.

Oh, one last thought. I recently installed a VM, and I haven''t been able to get it network access (at least, I can''t get the internet... I can only access the internal company network). So it''s possible it could be a network issue (e.g., if the installer "phones home" to verify an activation code).


ASPDOTNET所说的一切.

这是您可能能够使用的虚拟机.客户端创建一个新的原始vm并尝试在其上进行安装-可能很容易是Mac isq上的vm只是巧合,而问题仅是Windows设置.

如果您不能执行此操作,请找出他正在使用的vm软件,如果您无法访问Mac并且有Windows版本,请运行您自己的vm并在该版本上尝试. br/>
在没有任何提示的情况下,如果没有任何其他提示,那就是黑暗中的一枪.

最后,为什么要在Mac上使用Windows?为什么不?如果要在Mac上使用Mac,为什么还要在Mac上运行Windows?

即使我只运行Windows,它也只是硬件-通常是质量很高的硬件-在纸上价格有些过高,但是与Mac相比,即使是我最好的硬件,也显得苍白.
Everything ASPDOTNET says.

A it is a vm you may be able to the thte. Client to create a new virginal vm and try the install on that - it could easily be that the vm on a Mac isq just coincidence and it''s just the windows setup that is the issue.

If you can''t do that, the find out what vm software he is using and , if you don''t have access to a Mac and there is a windows version, run up your own vm and try it on that.

Without any hint at what is not working anything else is a shot in the dark.

Finally, why windows on a Mac? Why not? If I''m going to use a Mac for some stuff, why not run windows on It too?

Even if I just run windows, it''s just hardware - generally very good quality hardware - somewhat overpriced on paper, but even the best all in one of I have seen pales in comparison to a mac.


这篇关于在Windows Emmulation中安装C#应用程序.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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