部署 ODP.NET WPF 应用程序

发布于 2024-09-18 15:47:30 字数 428 浏览 4 评论 0原文

背景:我开发了一个小型.NET 3.5 WPF应用程序,它连接到Oracle 9i数据库。考虑到 ODP.NET 版本必须与数据库匹配,我下载并使用了 [旧版本][1](更具体地说,9i,版本 2)Oracle 数据访问工具。

我现在基本上已经完成了应用程序,需要部署它。然后我查看了 ODP.NET 的部署故事,认为 ClickOnce 会将其作为先决条件包含在内,而我无需执行任何操作。 教训。学习了。

我读到的有关 ODP.NET 部署的所有内容都谈到了使用 XCOPY 与比我目前使用的 Oracle 工具更新版本的 Oracle 工具。到目前为止,我读过的文档中实际上并没有太多关于 9i 的内容。

那我该怎么办呢?

感谢您的帮助!

Background: I developed a small .NET 3.5 WPF application that connects to an Oracle 9i database. Thinking that the ODP.NET version had to match the database, I downloaded and used an [older version][1] (9i, release 2, to be more specific) of the Oracle Data Access tools.

I'm basically done the application now and need to deploy it. Then I looked at the deployment story for ODP.NET, thinking it would be included as a prerequisite by ClickOnce and I wouldn't have to do anything. Lesson. Learned.

Everything I've read about deployment for ODP.NET talks about using XCOPY with a newer version of the Oracle tools than what I have used to this point. Not much is actually said about 9i in the documentation I've read to this point.

So what should I do?

Thanks for the help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

牵强ㄟ 2024-09-25 15:47:30

这是一篇类似的文章,其中答案是更改为使用第 3 方库:

ODP.NET 和ClickOnce 可能吗?

我认为您遇到了麻烦,因为更改库可能需要您对应用程序进行全面的重新测试 - 如果它是一个小型应用程序或者您有良好的自动化测试覆盖率,那么这当然可能比说的更容易。当然,这取决于您要部署到多少台计算机。就我个人而言,我更倾向于坚持使用 oracle odp 并迁移到最新版本。如果您以“困难的方式”部署 odp,您仍然可以获得单击一次以便将来重新部署的好处。

Here is a similar post where the answer was to change to use a 3rd party library:

ODP.NET and ClickOnce possible?

I think you area in trouble as changing libraries may involve you doing a full retest of your application - this may of course be easier done than said if it is a small app or you have good automated test coverage. Of course it depends how many computers you are deploying to. Personally I would be more inclined to stick with oracle odp and move to the latest version. If you deploy odp "the hard way" you still get the benefit of click once for future redeployments.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文