【发布时间】:2016-11-15 11:01:55
【问题描述】:
我有一个通过 Visual Studio 2015 用 C# 编写的 Win32 应用程序,我想让它可移植,以避免每次将应用程序部署到客户端时都安装 .NET 框架。
我看了这篇文章:the key point of making portable apps seems the use of mscorlib.dll
尽管我很努力,但至少对我来说,这种方法不起作用。我必须假设这不是将应用程序构建为可移植的真正方式......?
我在 Visual Studio 中还有哪些其他选择?我是否应该重新考虑我的整个应用程序以避免使用 NET?
【问题讨论】:
-
首先使用这个工具并检查你的类库。 marketplace.visualstudio.com/… 你可以阅读这篇文章来转换你的库geekswithblogs.net/imilovanovic/archive/2012/08/31/…
-
Google for .NET Native。 msdn.microsoft.com/en-us/library/dn584397(v=vs.110).aspx
标签: c# .net visual-studio exe portability