Visual Studio安装项目存在的问题 [英] Issues with a Visual Studio Setup Project

查看:64
本文介绍了Visual Studio安装项目存在的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

背景:
------------------------
我最近正在/维护一个桌面应用程序项目,以前的开发人员在其中使用过开发人员快速开发和组件工厂(rypto)的第三方组件.带下划线的项目引用类库项目,以使用LINQ使用Entity Framework体系结构访问和执行与DB相关的操作.

以前的开发人员已经进行了设置项目,我已经对其进行了测试,在我为客户制作的一些以前的发行版中,该项目似乎运行良好.

因此,在解决错误的同时,我不得不在数据库中以及在类库项目中进行重大更改,以执行一些操作并刷新/重新加载实体框架.

问题定义:
------------------------
当我在调试模式下工作并构建项目时,它的工作非常精细.当我尝试发布它时,我也可以创建.msi和.exe文件.但是,在我安装并尝试测试之后,它仍然在许多地方显示了旧的窗口和错误,这些错误是我在开发过程中更改的.

我最近在VS2010中的安装项目中遇到了这个问题,或者我不确定为什么会这样....请提出建议.

提前谢谢.

-Nachiket Ghatole

Hi Guys,

Background :
------------------------
I am recently working on / maintaining a desktop application project, in which previous developers have used developer express and component factory''s (krypton) third party components. The underlined project has reference of a class library project to access and perform DB related operations using Entity Framework architecture using LINQ.

A setup project was already made by previous developers, which I tested and it seemed to be working fine during few previous releases I made for my client.

So, while solving bugs, I had to make the major changes in the DB and hence in class library project to perform some operations and to refresh/reload the entity framework.

Problem Definition :
------------------------
When I work in debug mode and build the project works superfine. When I try to release it, I am able to create the .msi and .exe files too. But after I install it and try to test, it still shows old windows and errors at many places, which were changed by me during development.

I, recently, am facing this issue with a setup project in VS2010 or I am not sure, why this is happening.... Please suggest.

Thanks in advance.

- Nachiket Ghatole

推荐答案

您需要在vs2010运行时库上添加依赖项.如果右键单击,请选择属性,您可能会找到对先前VS rtl的引用.

太多信息"选项:使用记事本或类似的文本编辑器打开.vdxproj文件.
You need to add dependencies on the vs2010 runtime libraries. If you right click, select properties you probably will find the references to the previous VS rtl.

"Too Much Info" option: Open the .vdxproj file with Notepad or a similar text editor.


这篇关于Visual Studio安装项目存在的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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