将椭圆形Powerpack的Visual Studio 2010项目迁移到Visual Studio 2015 [英] migrate visual studio 2010 project having powerpack ovalshape to visual studio 2015

查看:313
本文介绍了将椭圆形Powerpack的Visual Studio 2010项目迁移到Visual Studio 2015的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在vs 2010中制作的vs 2015上运行项目时,我遇到错误.当我在vs 2015中调试代码时,它向我显示了一些错误,如下所示:

错误     BC30002 类型'Microsoft.VisualBasic.PowerPacks.OvalShape'未定义

警告 找不到引用的组件"Microsoft.VisualBasic.PowerPacks.Vs".

消息 无法解析方法"InitializeComponent".解析器报告以下错误无效的符号种类:命名空间".请在任务列表中查找潜在的错误.


指出了灾祸

 朋友WithEvents OvalShape1作为Microsoft.VisualBasic.PowerPacks.OvalShape
 朋友将事件ShapeContainer1作为Microsoft.VisualBasic.PowerPacks.ShapeContainer


但是,当我在vs 2010中进行调试时,代码项目没有问题.因此,有关如何解决此问题的任何想法.

解决方案

 

Visual Studio 2015 不附带 Microsoft Visual Basic PowerPacks ,因此,如果您选择链接,则应下载它们.然后,您需要安装它们.然后,您需要将它们添加到工具箱中,我怀疑您应该 如果安装后它们不会自动成为ToolBox项,则可以执行此操作.


Hi

I am facing errors when I run the project on vs 2015 which has been made in vs 2010. when I debug the code in vs 2015 it showing me some errors as the following:

Error       BC30002 Type 'Microsoft.VisualBasic.PowerPacks.OvalShape' is not defined

Warning The referenced component 'Microsoft.VisualBasic.PowerPacks.Vs' could not be found.

Message Failed to parse method 'InitializeComponent'. The parser reported the following error 'Invalid symbol kind: Namespace'. Please look in the Task List for potential errors.


which pointed to the foloowing

  Friend WithEvents OvalShape1 As Microsoft.VisualBasic.PowerPacks.OvalShape
  Friend WithEvents ShapeContainer1 As Microsoft.VisualBasic.PowerPacks.ShapeContainer


 However the code project has no problem when I do debug in vs 2010. So any Idea for how to solve this problem. 

解决方案

 

Visual Studio 2015 does not come with Microsoft Visual Basic PowerPacks so if you select the link they should download. Then you need to install them. Then you need to add them to the ToolBox which I suspect you should be able to do if they do not automatically become a ToolBox item when installed.


这篇关于将椭圆形Powerpack的Visual Studio 2010项目迁移到Visual Studio 2015的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
其他开发语言最新文章
热门教程
热门工具
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆