解决Visual Studio 2008来生VisualBasic 项目的性能问题

2、探索 Visual Basic 2008 编程之旅 本文档为《探索 Visual Basic 2008 编程之旅》的详细博文内容,涵盖了从基础语法到数据库和 Web 编程的应用实践。文章介绍了 Visual Basic 2008 的新特性、系统安装要求、练习文件的使用方法以及多个实践项目的分析与建议。适合不同编程背景的开发者按照对应学习路径逐步掌握 Visual Basic 2008 核心技能,并通过实际项目提升编程能力。 阅读详情

最近在用VB.NET生成一个WEB项目时,发现基本没办法调试,只要一debug,Visual Studio 2008就停止相应,再经过漫长的等待后(30分钟左右)后,才进入调试状态。这个问题,搞得我够郁闷的了,也困扰N久,最才在MS知识库的这篇文章的帮助下得以解脱——原来都是MS的错,我还以为是我的机器出故障了,汗。。。

FIX: You may experience performance issues in the IDE after you use Visual Studio 2008 to build a Visual Basic project

Article ID:946344
Last Review:February 22, 2008
Revision:1.1

SYMPTOMS

Consider the following scenario:
•You use Microsoft Visual Studio 2008 to build a Microsoft Visual Basic project.
•The Visual Basic project contains many XML comments in a single file.
•The file is probably a designer-generated file for a dataset or for a Web reference.
In this scenario, you may experience the following performance issues in the IDE:
•The IDE takes a long time to build the solution and to rebuild the solution.
•You experience a slow response time when you press F5 to start debugging.
•You experience a slow response time in the Code Editor.
•You experience a slow response time in IntelliSense.

Back to the top

CAUSE

This problem occurs because of how the Visual Studio 2008 compiler processes large files that contain XML documentation.

Back to the top

RESOLUTION

Download information

The following file is available for download from the Microsoft Download Center: Download Download the 338762_ENU_i386_zip.exe package now. (https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=11026&wa=wsignin1.0))

Back to the top

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual Studio 2008 service pack that contains this hotfix. To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
File nameFile versionFile sizeDateTime
Avvspkdh.dll9.0.21022.4334,81629-Jan-200803:17
Mcee.dll9.0.21022.43367,60829-Jan-200803:17
Mpishim.exe9.0.21022.4326,11229-Jan-200803:17
Msvb7.dll9.0.21022.434,069,88029-Jan-200803:17
Msvsmon.exe9.0.21022.433,004,41629-Jan-200803:17

Back to the top

WORKAROUND

To work around this problem, use one of the following methods.

Back to the top

Method 1: Disable XML comment generation

To disable XML comment generation for the project, use one of the following procedures.
Visual Studio 2008
1.In Solution Explorer, right-click ProjectName, and then click Properties.
2.On the Compile tab, click to clear the Generate XML documentation file check box.
3.On the File menu, click Save All.
Visual Basic 2008 Express Edition
1.Create a backup of the project.
2.In Notepad, open the .vbproj file for the project.
3.Locate and then delete all the <DocumentationFile> elements in the .vbproj file. Note Typically, you will delete two elements in the .vbproj file.

Back to the top

Method 2: Remove the XML comments

To remove the XML comments, follow these steps for the designer-generated file:
1.On the Edit menu, point to Find and Replace, and then click Quick Replace.
2.In the Find what box, type '''.
3.In the Replace with box, type '', and then click Replace All.
Note You must repeat these steps if you perform one of the following actions:
•You save the designer file that generated this code file.
•You refresh the Web reference.
•You right-click the file, and then you click Run Custom Tool.

Back to the top

Method 3: Create a separate project to store the file that has the XML comments

Create a new class library project to store the designer-generated files. The following procedure is an example of to do this:
1.Create a new class library project to store files that contain a dataset or that contain a Web reference.
2.In the original Visual Basic project, add a reference to the new class library project.
3.Use Method 1 to disable the XML documentation file.
Note You may have to add import statements to the Visual Basic code.

Back to the top

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Back to the top

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 (http://support.microsoft.com/kb/824684/) Description of the standard terminology that is used to describe Microsoft software updates
For more information about how to generate XML documentation for a project, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/x4sa0ak0(VS.90).aspx (http://msdn2.microsoft.com/en-us/library/x4sa0ak0(VS.90).aspx)

Back to the top


APPLIES TO
•Microsoft Visual Studio 2008 Professional Edition
•Microsoft Visual Studio 2008 Academic Edition
•Microsoft Visual Studio 2008 Standard Edition
•Microsoft Visual Basic 2008 Express Edition
•Microsoft Visual Studio Team System 2008 Team Suite
•Microsoft Visual Studio Team System 2008 Database Edition
•Microsoft Visual Studio Team System 2008 Architecture Edition
•Microsoft Visual Studio Team System 2008 Development Edition
•Microsoft Visual Studio Team System 2008 Test Edition

 

3、开启 Microsoft Visual Basic 2008 编程之旅 本文详细介绍了如何开启 Microsoft Visual Basic 2008 编程之旅,涵盖了从启动 Visual Studio 2008 到运行程序、更改属性、自定义 IDE 设置等基础操作。内容包括软件支持资源、项目与解决方案的概念、关键工具的使用以及初学者的最佳实践,适合 Visual Basic 编程新手和希望升级到新版本的开发者。 阅读详情

相关推荐

1、探索 Visual Basic 2008 编程世界

本博客全面介绍了 Visual Basic 2008 的核心编程知识,涵盖开发环境搭建、基础语法、控件使用、事件处理、调试技巧、数据库连接以及 Web 应用开发等内容。通过实例讲解和代码演示,帮助初学者快速掌握 VB 2008 编程技能,适合希望学习桌面应用及 .NET 平台开发的开发者参考学习。

vodka的博客 70

VS2008生成解决方案卡顿、龟速

1.工具-选项-项目和解决方案-MS BUILD 项目生成输出详细信息中选择“诊断” 2.进入.NET环境的安装位置:C:\WINDOWS\Microsoft.NET\Framework\v3.5 ,修改Microsoft.CompactFramework.Common.targets 3.参考上面的英文说明进行修改,   Name="PlatformVerificationTas...

weixin_30369041的博客 670

46、Visual Basic和Visual Studio编程综合指南

本博客提供关于Visual Basic和Visual Studio编程的全面指南,涵盖从基础语法到高级技术的详细内容。包括推荐书籍、运算符与数据类型、数组操作、控制结构、事件驱动编程、数据库操作、调试与错误处理等核心技术。同时深入讲解用户界面设计、打印与文件操作、Web开发与网络编程,以及性能优化和安全编程的最佳实践。无论您是初学者还是有经验的开发者,都能从中获得实用的知识和技巧,助力开发高质量的桌面、Web和企业级应用程序。

vodka的博客 104

VS2008生成方案速度过慢解决办法

1.打开目录:C:\Windows\Microsoft.NET\Framework\v3.5。[文件:Microsoft.CompactFramework.Common.targets]不同情况不同解决办法,此方案仅供参考。

lvjianlvjian_的博客 725

Visual Studio 2008运行环境安装包

本文还有配套的精品资源,点击获取 简介:Visual Studio 2008运行环境是微软提供的集成开发环境(IDE)的关键部分,它支持多平台应用的编写、调试与发布。运行环境包含了编译器、库文件、框架和服务,确保开发顺畅。此压缩包提供给未安装VS08的用户,以运行特定应用程序。它包括.NET Framework 3.5 SP1、C++ Redistributable、VB和...

weixin_32673065的博客 1803

STK11自带案例逆向拆解:从卫星轨道设计到覆盖分析的实战指南

卫星轨道设计与星座规划是航天任务分析的基础能力,而Systems Tool Kit作为行业标配工具,其核心价值在于让工程师能够快速搭建场景、计算链路窗口并评估覆盖能力。对于刚接触STK的使用者而言,从官方自带的案例入手往往比从零建模更高效。STK11的安装目录中内置了从GPS星座到ISS过境、从遥感覆盖到导弹弹道的完整示例,这些场景不仅参数准确,而且完整展示了对象间的关系与分析流程。通过逆向拆解案例的轨道参数、传感器约束、网格设置和时间系统,可以深入理解轨道六根数对地面轨迹的影响、仰角限制对可见窗口的约束,

weixin_34209851的博客 321

20240122在WIN10下给GTX1080配置CUDA驱动

音|视频转文字|字幕小工具V1.2,新增whisper-large-V3模型,支持100多种语言,自动翻译,解压即用!直接驱动程序就装好了,驱动版本2013年的,算最新的了!缘起:为了使用openai的whisper识别小语种【非英语】电影的字幕,决定开始折腾CUDA了!【盲目追新,强制安装最高版本的CUDA在WIN10电脑重启的时候可能会黑屏/死机!1.当电脑启动时,在Win10启动logo界面按住电源键强制关机,重复此操作三次。Win10系统电脑进入安全模式的四种方法,让你轻松应对各种问题。

南岭笑笑生之家 4387

【MDC开发者实战】多传感器融合算法在自动驾驶中的配置与优化

本文详细介绍了华为MDC平台在自动驾驶中多传感器融合算法的配置与优化实践。通过前融合与后融合技术,结合摄像头、激光雷达和毫米波雷达的数据,提升感知精度与可靠性。文章还分享了ARXML配置、标定技巧、算法调优及性能优化等实战经验,帮助开发者高效实现自动驾驶系统的传感器融合。

weixin_29214199的博客 520

Git-ERROR-unable to resolve reference refs/remotes/origin/master

&#13; error: unable to resolve reference refs/remotes/origin/master: ?????????&#13; error: Cannot lock the ref 'refs/remotes/origin/master'.&#13; &#13; 解决方案:&#13; rm .git/refs/remotes/or...

CSDN博客 2904

遥感卫星影像AI数据集格式规范详解、技术原理与数据生产全流程技术手册

本技术手册旨在系统性地梳理遥感卫星影像AI数据集的各类格式标准(涵盖VOC、COCO、YOLO及遥感专用DOTA格式等),深入剖析其背后的技术原理,并详细阐述数据生产的全过程,涵盖预处理、标注、质量控制及数据增强等关键环节。无论您是刚入门的算法工程师,还是资深的数据生产管理者,本手册都将为您提供详实的参考与指引。

panshengwu的博客 1142

FactoryTool量产神器实战:5分钟搞定多块RK3568板卡并行烧录

本文详细介绍了使用瑞芯微FactoryTool对多块RK3568板卡进行高效并行烧录的实战指南。文章从硬件连接、驱动配置、软件操作到排错技巧,提供了一套完整的量产解决方案,重点阐述了如何利用该工具在5分钟内完成多设备固件烧录,并确保eMMC存储的写入稳定性与效率,大幅提升生产线吞吐量。

b0c1d2的博客 1003

【转】关于Visual Studio中添加引用的探究

Managing Dependencies Microsoft Corporation January 2002 Summary:This chapter explains how you should handle assembly references, Web references, database references, and COM object references. T...

weixin_30500663的博客 2589

视觉SLAM的前段后端最详细的梳理(硕士入门知识框架更新)

文章目录视觉SLAM的组成结构视觉里程计(VO)-特征点法 -构建稀疏点云地图-直接法 -构建稠密或半稠密的地图 --需要使用 RGB-D 传感器视觉里程计--总结:SLAM 后端研究滤波器法非线性优化后端方式的差异(有五种优化方式):单目视觉里程计的初始化:运动估计:半直接法运动估计的优化方案:关于解决累计误差的一些方法:关键帧的建图及后端优化:特征的深度估计:图优化的后端研究:视觉与IMU融合的分类:视觉与IMU的融合的优势:存在的问题:优秀的开源: 视觉SLAM的组成结构 视觉里程计(VO) -特

DC 6816

在Visual Studio 2008中更改新闻源

Visual Studio 2008's Start Page by default includes a news feed, providing ideas on usage of Visual Studio, information on new versions, etc. You probably have the Visual Basic or...

cunchi8090的博客 232

4、超声驱动的微/纳米机器人:原理与应用探索

本文系统探讨了超声驱动的微/纳米机器人的物理原理与主要类型,重点分析了声辐射力和声流两种核心效应的作用机制。详细介绍了微棒流子、气泡流子、鞭毛流子和声射流四类典型超声驱动电机的工作原理、特点及局限性,并综述了其在生物医学、微纳制造和微流体操控等领域的应用潜力。文章还总结了当前研究进展与挑战,展望了未来发展方向,为该领域的深入研究提供了理论基础和应用参考。

herb5的博客 138

Halcon 深度学习实战:PCB 缺陷检测模型的 TensorRT/OpenVino 加速推理

本文介绍了如何利用TensorRT和OpenVino对Halcon深度学习模型进行加速优化,以提升PCB缺陷检测系统的实时性能。文章详细阐述了模型加速框架的选择策略(根据硬件选用TensorRT或OpenVino)、优化流程实施(包括混合精度优化和模型导出)以及加速后的推理实现。实验结果表明,优化后的模型体积缩小40%,推理速度提升2-5倍(GPU环境下从79ms降至38ms,CPU环境下从3804ms降至2152ms),同时保持检测精度。通过完整的代码示例展示了从模型加速到实际部署的全流程,为工业视觉场景

LIN943168247的博客 540

升级 Visual Basic 6.0 项目到Visual Studio 2012

Visual Studio 2012 没有为 Visual Basic 6.0 应用程序和项目提供升级工具。如果要在 Visual Studio 中将项目从 Visual Basic 6.0 升级到 Visual Basic,可以使用随 Visual Studio 早期版本提供的升级工具,然后在 Visual Studio 2012 中再次升级该项目。 将 Visual Ba...

bangrulu3140的博客 307

Google Earth Engine(GEE)—— 显示如何使用迁移的训练样本进行多年分类的脚本(sentinel-2影像为例)光谱差异()

HydroSHEDS 是一种地图产品,它以一致的格式为区域和全球范围的应用程序提供水文信息。它提供了一套不同比例的地理参考数据集(矢量和栅格),包括河流网络、流域边界、排水方向和流量累积。请注意,对于北纬 60 度以上的地区,HydroSHEDS 数据的质量明显较低,因为没有可用的基础 SRTM 高程数据,因此分辨率较低的 DEM(USGS 提供的 HYDRO1k)。该数据集基于 15 角秒(赤道约 500 米)分辨率栅格数据提供嵌套的分层分水岭多边形。光谱信息和之前不同的点:训练结果。

此星光明博客 969

Microsoft Silverlight Tools Beta 2 for Visual Studio 2008 下载地址

 Microsoft Silverlight Tools Beta 2 for Visual Studio 2008 于 2008年6月6日发布,下载地址(大小为84.3 MB,含Silverlight 2 Beta 2 Runtime 和the Silverlight 2 Beta 2 SDK)为: http://download.microsoft.com/download/1/d/d

sunchaohuang的专栏 2052

基于STM32L4XX、HAL库的BQ27520YZFR-G4 电量监测计驱动程序设计

(可选) -------- TS (Pin 3) 连接温度传感器。(可选) -------- BAT (Pin 2) 连接电池正极。// 假设I2C1已初始化。// 每5秒更新一次。// 短暂延时确保数据准备好。支持Impedance Track™技术,提供高精度电量测量。适用于便携式设备如智能手机、平板电脑等。// 可添加初始化验证代码。// 初始化BQ27520。// 发送控制子命令。// 配置模拟滤波器。// 配置数字滤波器。// I2C1初始化函数。

zhusl6688的博客 249

复分析 阿尔福斯(Ahlfors) 第三版答案 英文

答案分为十章,有部分习题没有答案,全英文复分析阿尔福斯(Ahlfors) 第三版答案

DreamSpark发布,高校学生免费使用Visual Studio 2008 Professional Edition 等微软软件

今天上网无意中搜索到学生可以免费使用VS2008专业版,后来又在joycode看到该新闻才知道,今天,比尔盖茨在美国斯坦福大学正式宣布了DreamSpark项目,该项目将允许高校学生免费在非商业领域使用微软的开发工具(Visual Studio 2005以及2008的专业版),设计工具(Expression Studio,包括Expression Media, Expression Web,Exp...

fdqwfdsafdsa的博客 494

华为的C语言编程规范.pdf

华为技术有限公司内部技术规范。本规范制定了编写C语言程序的基本原则、规则和建议。从代码的清晰、简洁、可测试、安全、程序效率、可移植各个方面对C语言编程作出了具体指导。

vs2008中串口编程中的一个小问题

<br />今天系统重装,Vs2008也重装了下,运行了一下以前写的一个串口操作的程序,发现提示以下两个错误:<br />命名空间"Microsoft.VisualBasic.PowerPacks"中不存在类型或命名空间名称"LineShape"(是缺少程序集引用吗?)<br />命名空间"Microsoft.VisualBasic.PowerPacks"中不存在类型或命名空间名称"ShapeContainer"(是缺少程序集引用吗?)<br />在程序中添加了Microsof.VisualBasic和Mi

wuduanpo的专栏 1835

visio安装包

Microsoft Office Visio 是一款专业的制图软件。利用经过更新的形状、协作工具和数据链接图表,创建专业级图表以简化复杂的信息。

efm32 入门.pdf

本PDF共计22页,介绍的是操作驱动API,下载与否自己斟酌。

Microsoft® Silverlight™ 3 Tools for Visual Studio 2008 SP1(中文)

快速描述 用于 Silverlight 3 应用程序开发的 Visual Studio 2008 SP1 外接程序 概述 此程序包是为 Microsoft Silverlight 3 提供工具的 Visual Studio 2008 SP1 外接程序。它可以安装在 Visual Studio 2008 SP1 或 Visual Web Developer 2008 速成版 SP1 的基础之上

光脚丫思考的专栏 2050

Beginning Microsoft Visual Basic 2008

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出版、作者信息和本声明。否则将追究法律责任。http://blog.csdn.net/topmvp - topmvpBeginning Microsoft Visual Basic 2008 If you want to learn Visual Basic 2008 so you can create powerful, da

TopMVP 738

Visual Studio 2008 is here

After many announcements, Microsoft has finally released Visual Studio 2008 with over 250 new features and improvements. It includes Visual Basic, Visual C#, Visual C++ and Visual Web Developer. Furth...

weixin_33908217的博客 72
上一篇: HOW TO : EXCEL/WORD @ VSTO 2005
下一篇: 快速搭建基于web的postfix邮件系统
forlinux
博客等级 码龄21年 53粉丝 95原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址