简体   繁体   English

部署VB.Net项目

[英]Deployment Of VB.Net Project

I am working on a Project which uses SQL Server,Crystal Report. 我正在使用SQL Server,Crystal Report的项目中工作。 And the project is almost complete and i am going to publish it. 该项目几乎完成,我将要发布它。

Now I dont want to add the Prerequisites for the project as it will make the size of the exe to some 400mb but my application exe is just 4mb. 现在,我不想为该项目添加前提条件,因为它将使exe的大小达到400mb,但我的应用程序exe仅为4mb。

Now currently i have seen something in the Reference Section of Project Properties.. That is the dll Control that i am using for Buttons has the Column called Copy Local with a value of True but for CrystalDecission.Shared its just False, so is this value changing to True helps me or not... that is i should not have to include as Prerequisites for crystal report.. 现在,我目前在“项目属性”的“参考”部分中看到了一些内容。这是我用于Button的dll控件具有名为Copy Local的列,其值为True,而对于CrystalDecission.Shared,则仅共享False,因此该值也为False。更改为True对我有没有帮助……也就是说,我不应该将其作为水晶报表的先决条件。

Help me in this.. Similarly for Sql Server and others 帮助我在此..类似地对于SQL Server和其他

You should use the prerequisites option in the setup and deployment project - by default it will attempt to download any missing dependencies from the Internet, and will give a sensibly sized MSI and EXE package (there are options for when deploying on media to include the dependencies alongside, too) 您应该在设置和部署项目中使用前提条件选项-默认情况下,它将尝试从Internet下载所有丢失的依赖项,并提供合理大小的MSI和EXE程序包(在介质上进行部署时有一些选项可以包括依赖项)也一样)

For Crystal Reports in particular, you have to use a deployment package, as portions of the applciation rely on COM objects that must be registered, in a specific order. 特别是对于Crystal Reports,您必须使用部署包,因为应用程序的某些部分依赖于必须以特定顺序注册的COM对象。 Using the deployment package avoids having to reverse engineer this nastiness, as well as coping with differing processor architectures, locales, etc. 使用部署包可以避免对这种麻烦进行逆向工程,以及避免使用不同的处理器体系结构,语言环境等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM