本文介绍了如何在visual studio 2008中使用数据库创建.exe?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我已经使用C#和Oracle 10G创建了一个基于Windows的应用程序,现在我想为我的应用程序准备一个exe文件。这意味着当我将我的应用程序安装到其他PC时,我的应用程序和该应用程序的数据库都安装在他们的PC上,任何人都可以指导我如何制作.exe文件解决方案 执行以下步骤: a。下载Oracle Instant Client 11.1.0.6 - Basic Lite。湾解压缩到任何文件夹并将以下文件复制到Visual Studio项目根目录: oci.dll ociw32.dll orannzsbb11.dll oraocci11.dll oraociicus11.dll msvcr71.dll(不是大多数Windows版本都应提供必要的功能) (前五个是Oracle Instant Client所需的最小值,最后一个是他们使用的微软公共运行时。 ) c。下载ODAC 11 XCopy(当前版本为11.1.0.6)并解压缩。 OraOps11w.dll - 在odp.net20文件夹中,进入项目根目录。 (此文件是Oracle.DataAccess.dll与之配对并用于处理Instant Client文件的文件)。 d。为了与ClickOnce部署兼容,请在项目中选择这些文件,并确保它们是项目中的内容和复制本地。然后清单将正确部署它们。 以下链接描述了完整的解决方案 http://stackoverflow.com/questions/923283/what-is-the-minimal-setup-required-to-deploy-a-net-application-with-oracle-clie [ ^ ] I have Created a windows based application using C# and Oracle 10G now I want to prepare a exe file for my application. That mean when I install my application to other PC my application and database for that application both are installed on their pc can any one guide me how to make that .exe file 解决方案 go through the following steps :a. Download the "Oracle Instant Client 11.1.0.6 - Basic Lite". b. unzip to any folder and copy the following files to your Visual Studio project root: oci.dll ociw32.dll orannzsbb11.dll oraocci11.dll oraociicus11.dll msvcr71.dll (not necessary, should be supplied with most Windows versions) (the first five are the minimum needed for the Oracle Instant Client, the last is the microsoft common runtime they use.)c. Download the ODAC 11 XCopy (the current version is 11.1.0.6) and unzip. OraOps11w.dll - in the odp.net20 folder, goes in your project root. (this file is what the Oracle.DataAccess.dll talks to and uses to work with the Instant Client files).d. For compatibility with ClickOnce deployment, select these files in your project and make sure they are "Content" and "Copy Local" in your project. The manifest will then deploy them properly.The following link describes the complete solutionhttp://stackoverflow.com/questions/923283/what-is-the-minimal-setup-required-to-deploy-a-net-application-with-oracle-clie[^] 这篇关于如何在visual studio 2008中使用数据库创建.exe?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!