新2备用网址|新2网站|新2皇冠 welcome!!,新2为玩家提供新2娱乐、新2皇冠以及最新娱乐资讯,扩展玩家的博彩知识和技巧。

新2皇冠Resource”工干不测违反败的处理方法

作者 admin 浏览 发布时间 2018-10-26 07:04

  缘由是.NET Framework 4 版曾经丢用代码拜候装置然(CAS)战微。故此,假设露式或凹隐式(经度过其他典型和成员)调用老壹套的战微典型和成员,则能遇到编译正告和运转时非日。

  拜见MSDN:代码拜候装置然战微兼容性和迁移徙 http://msdn.microsoft.com/zh-cn/library/ee191568(VS.100).aspx

  处理方法:

  if you have "The "ResolveComReference" task could not be instantiated from "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

  this error , most probably you've modified devenv.exe.config and added there

  

  , am I right?

  If this is the case, do this:

  1) remove from devenv.exe.config

  2) re-open VS, compile your project. It will 新2足球网址 you all interops with no problems.

  3) close VS, add again if you need it.

  4) open VS, open your project. Your references will be fine now.

Copyright © 2002-2017 新2备用网址|新2网站|新2皇冠 版权所有 Power by DedeCms