Visual Studio 2008 的.net framework的问题

wenjunsu 2009-04-02 08:02:59

我用.net framework 3.5写了一个程序 程序都基本完工了 但是到最后才发现:我要安装这个程序的那台电脑

只有.net framew2.0 ,请问我能用什么方法,把这个程序转换成.net framework2.0框架下面可以用的?

大家不要说不可能哟!因为我相信:世界上没有绝对的不可能!小弟在这儿谢谢各位牛人了

...全文
65 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
wenjunsu 2009-04-13
  • 打赏
  • 举报
回复


O(∩_∩)O哈哈~。。不好意思啊。。。。分平均下来有点少啊。。。

但是本着鼓励原创给分的原则 所以就这样了。。

谢谢各位了。。
jlj84237485 2009-04-02
  • 打赏
  • 举报
回复
帮顶一下
Dobzhansky 2009-04-02
  • 打赏
  • 举报
回复
我记得好像vs2008建立的工程都默认引用的一个叫做 system.core.dll 的程序集,
这个程序集在 2.0 中是没有的,
而对程序集的引用已经写入到 manifest 中了,
所以在不重新编译的情况下, 如果引用了非 2.0 的程序集,
是铁定不能在只有 2.0 运行时的机器上运行的.

你可以创建针对 2005 的解决方案文件, 工程文件, 代码文件使用相同的,
确保只使用了 2.0 的类库就可以.
这样没有安装 vs2008/3.5 的开发人员也能开发.

有同学可能会说 vs 2008 也支持 2.0 的工程,
可我感觉那是十分混蛋的一个说法, vs2008 建立的2.0工程文件, 项目文件还是 2008的.
解决方案文件, 工程文件的 xml schema 已经被修改了,
微软好垃圾的说.
wuyq11 2009-04-02
  • 打赏
  • 举报
回复
vs2008可使用.net2.0,但3.5不能向下支持,把框架设置为2.0看看,程序是否能运行,可以。就在2.0下做安装部署
bw555 2009-04-02
  • 打赏
  • 举报
回复
人工翻译,呵呵
往低版本转的工具不好找啊,不过大部分代码都不用动
自动卸载工具 注意:此工具不会卸载 Visual Studio 2008 的测试版,而只卸载 Visual Studio 2008 RC 版本和正式版本(仅限英文版本)。 警告:此自动卸载工具会卸载随 Visual Studio 2008 产品安装的“所有”组件,包括 Visual Studio Express 版本、Visual Studio Team System、Visual Studio Professional。但它不卸载 Visual Studio 2008 和 Visual Studio 2005 共享的组件。 手动卸载说明 转到“控制面板”并启动“添加/删除程序” 删除所有 Visual Studio 2008/代号 Orcas 产品的实例 按指定顺序删除任何剩余的支持产品。 删除“MSDN Library for Visual Studio 2008” 删除“Microsoft SQL Server Compact Edition 3.5” 删除“Microsoft SQL Server Compact Edition 3.5 Design Tools” 删除“Microsoft SQL Server Compact Edition 3.5 for Devices” 删除“Microsoft Visual Studio Performance Collection Tools” 删除“Windows Mobile 5.0 SDK R2 for Pocket PC” 删除“Windows Mobile 5.0 SDK R2 for Smartphone” 删除“Crystal Reports 2007” 删除“Visual Studio Asset System” 删除“Microsoft Visual Studio Web Authoring Component / Microsoft Web Designer Tools” 删除“Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime” 删除“Microsoft Visual Studio 2005 Tools for the 2007 Microsoft Office System Runtime 语言包”(仅限非英文版本) 删除“Microsoft Visual Studio Tools for Office Runtime 3.0” 删除“Microsoft Document Explorer” 删除“Microsoft Document Explorer 2005 语言包”(仅限非英文版本) 删除“Microsoft Device Emulator 3.0” 删除“Microsoft .NET Compact Framework 3.5” 删除“Microsoft .NET Compact Framework 2.0 SP1” 删除“.NET Framework 2.0 SDK” 删除“Microsoft Visual Studio 代号 Orcas 远程调试器” 删除“Microsoft Visual Studio 64 位先决条件测试版”(仅限 64 位平台) 删除“Microsoft .NET Framework 3.5”
Paperback: 1625 pages Publisher: Apress; 7th ed. 2015 edition (January 1, 2016) Language: English ISBN-10: 1484213335 ISBN-13: 978-1484213339 This new 7th edition of Pro C# 6.0 and the .NET 4.6 Platform has been completely revised and rewritten to reflect the latest changes to the C# language specification and new advances in the .NET Framework. You'll find new chapters covering all the important new features that make .NET 4.6 the most comprehensive release yet, including: A Refined ADO.NET Entity Framework Programming Model Numerous IDE and MVVM Enhancements for WPF Desktop Development Numerous updates to the ASP.NET Web APIs This comes on top of award winning coverage of core C# features, both old and new, that have made the previous editions of this book so popular. Readers will gain a solid foundation of object-oriented development techniques, attributes and reflection, generics and collections as well as numerous advanced topics not found in other texts (such as CIL opcodes and emitting dynamic assemblies). The mission of this book is to provide you with a comprehensive foundation in the C# programming language and the core aspects of the .NET platform plus overviews of technologies built on top of C# and .NET (ADO.NET and Entity Framework, Windows Communication Foundation (WCF), Windows Presentation Foundation (WPF), ASP.NET (WebForms, MVC, WebAPI).). Once you digest the information presented in these chapters, you’ll be in a perfect position to apply this knowledge to your specific programming assignments, and you’ll be well equipped to explore the .NET universe on your own terms. What you’ll learn Be the first to understand the .NET 4.6 platform and C# 6. Discover the ins and outs of the leading .NET technology. Learn from an award-winning author who has been teaching the .NET world since version 1.0. Find complete coverage of XAML, .NET 4.6 and Visual Studio 2015 together with discussion of the new Windows Runtime. Who this book is for This book is perfect for anyone who is interested in the new .NET Framework 4.6 and the C# language. Whether you are moving to .NET for the first time or are already writing applications using previous .NET versions, this book will provide you with a comprehensive grounding in the new technology and serve as a complete reference throughout your coding career.

16,555

社区成员

发帖
与我相关
我的任务
社区描述
VB技术相关讨论,主要为经典vb,即VB6.0
社区管理员
  • VB.NET
  • 水哥阿乐
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧