退出VS 2008 SP1之后:为Framework 2.0/3.0选择Microsoft.Common.targets文件错误 [英] After VS 2008 SP1 backed out: Wrong choice of Microsoft.Common.targets file for Framework 2.0/3.0

查看:78
本文介绍了退出VS 2008 SP1之后:为Framework 2.0/3.0选择Microsoft.Common.targets文件错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我也在VS Install线程上发布了此内容.



我尝试安装VS 2008 SP1来查看它是否可以解决我遇到的问题.相反,由于找不到与程序集的XmlSerializers.dll有关的错误,我不再能够完成WPF应用程序的构建.无论如何,在花了很多时间试图回到我的起点即没有SP1之后,我无法在3.0解决方案中构建任何项目,因为VS 2008指向3.5 Common.targets文件:

 I posted this over on the VS Install thread, too.

Hi,

I tried installing VS 2008 SP1 to see if it might resolve an issue that I was having.  Instead, I was no longer able to complete the build of my WPF application because of an error having something to do with finding the assembly's XmlSerializers.dll.  Anyway, after spending much time trying to get back to where I started i.e. no SP1, I'm unable to build any of the projects within my 3.0 solution because VS 2008 is pointing to the 3.5 Common.targets file:

C:\ WINDOWS \ Microsoft.NET \ Framework \ v3.5 \ Microsoft.Common.targets(1371, 13):错误MSB4064: "IgnoreDefaultInstalledAssemblySubsetTables"参数"ResolveAssemblyReference"不支持该参数.任务.验证参数是否存在于任务中,并且它是可设置的公共实例属性.

C:\ WINDOWS \ Microsoft.NET \ Framework \ v3.5 \ Microsoft.Common.targets(1353,9):错误MSB4063:无法使用其输入参数初始化任务.

我已经使用系统还原返回到安装SP1之前的一天.如果这样不起作用,我就卸载了VS 2008,然后重新安装了它.相同的错误.

尝试卸载.Net Framework 3.5失败:加载安装程序组件时遇到问题.取消设置."一定喜欢那些有用的错误消息.

创建任何 new 2.0或3.0项目具有相同的结果.

我不知道该在哪里找.
>
任何建议将不胜感激.

谢谢,

C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1371,13): error MSB4064: The "IgnoreDefaultInstalledAssemblySubsetTables" parameter is not supported by the "ResolveAssemblyReference" task. Verify the parameter exists on the task, and it is a settable public instance property.

C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1353,9): error MSB4063: The "ResolveAssemblyReference" task could not be initialized with its input parameters.

I've used System Restore to return to the day before the SP1 install.  When that didn't work, I uninstalled VS 2008 and reinstalled it.  Same errors.

Attempts to uninstall .Net Framework 3.5 have failed: "A problem has been encountered while loading the setup components. Canceling setup."  Gotta love those helpful error messages.
 
Creating any new 2.0 or 3.0 project has the same results.

I don't know where else to look.

Any suggestions would be greatly appreciated.

Thanks,
Will

推荐答案

机器.没有解决方法.


这篇关于退出VS 2008 SP1之后:为Framework 2.0/3.0选择Microsoft.Common.targets文件错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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