0

Can I install .Net app developed in Visual Studio 2012 in Windows 98???

I am using .NET framework 4.5.1 and i have developed desktop application in Windows 7 Ultimate I have to install this app in different PCs but one of them has win-98 so I need to know whether i install it same way as i did for other PCs or i have to do something else.

Because formatting OS is last option as there are some important programs working perfectly on Win-98 and can't afford to lost old things for just one app.

I have installed in Windows 07 as well as in Xp but don't know whether it'll work properly in Win98 or Not.

Is there any Solution if your answer is No. ?

4

2 回答 2

6

据微软称,Windows 98 支持基于 .NET 2.0 的应用程序。

所以从技术上讲,如果您在项目构建选项中将目标框架选项设置为 2.0,那么您应该可以部署使用 VS2012 制作的一个。

请注意:这并不能保证在其他 Windows 版本上运行的完全相同的代码在 Win98 中也能完全相同。例如,如果您使用 COM interopt、P/Invoke 调用或使用 3rd 方控件库,则可能会有非常细微的变化。

此外,请注意,以 2.0 为目标会带走多年来 .NET 附带的许多出色功能,例如 LINQ、Xaml 和 async/await。

如果我可以建议(请注意,我不知道您的要求是什么),而不是尝试直接支持 16 岁的操作系统,您为什么不开发一个带有 ASP.NET 后端的 Web 前端呢?这将使您能够及时了解 .NET 的优点并重用您可能已经拥有的任何业务逻辑代码。

于 2014-03-13T12:37:27.800 回答
0

根据这个问题的答案,如果您将目标平台设置为 .NET 2.0,它可能会起作用。

于 2014-03-13T12:38:41.967 回答