ClickOnce App说使用.NET 2.0构建时需要.NET 3.5 [英] ClickOnce App says requires .NET 3.5 when built using .NET 2.0

查看:48
本文介绍了ClickOnce App说使用.NET 2.0构建时需要.NET 3.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

帮助!

我有一个使用.Net 2.0构建和发布的clickonce应用。这个应用程式有许多.Net dll都使用.Net 2.0建立。但是,当我发布该应用程序并尝试安装该应用程序时,我收到一条消息,指出需要3.5版的.Net!

I have a clickonce app built and published using .Net 2.0. This app has a number of .Net dll's all built using .Net 2.0. However when I publish the app, and try to install it I get a message saying that version 3.5 of .Net is required!

我已经尽力了什么组件可能需要.Net 3.5,首先检查并重建所有内容,然后使用ILDASM查看文件头。根本找不到与.Net 3.5相关的任何内容,我无能为力!

I've tried my best to track down what component could require .Net 3.5, first by checking and rebuilding everything, and then using ILDASM to look at the file headers. Can't find anything relating to .Net 3.5 at all and I am at my wits end!

任何想法如何解决此问题?

Any ideas how to resolve this?

推荐答案

尝试在项目属性的发布选项卡上更改必需组件(不确定是否是确切的术语-使用德语VS2008)。 .NET 3.5可能仍被标记为必需组件,即使它应该是.NET 2.0。

Try changing the "Required Components" (not sure whether that is the exact term - using German VS2008) on the "Publish" tab in the project properties. .NET 3.5 might still be marked as a required component, even though it should be .NET 2.0.

这篇关于ClickOnce App说使用.NET 2.0构建时需要.NET 3.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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