CD 刻录....调试有效,发布无效

发布于 2024-09-29 18:42:03 字数 144 浏览 0 评论 0原文

我正在开发一个刻录 CD 的程序。它位于服务器上,但据我所知,当它运行时,它会被拉到该用户的计算机上,然后运行。

我的问题是它在调试中运行,在我将其发布到服务器后,它无法再找到我的 CD 刻录机。

我可以提供更多信息,我只是不知道该添加什么。

I am working on a program to burn a CD. Its located on a server but to my knowledge when it is ran it is pulled to that users computer, then ran.

My problem is it runs in debug and after I publish it to the server, it can no longer find my CD burner.

I can provide more information, i just don't know what to add.

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

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

发布评论

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

评论(2

烟花肆意 2024-10-06 18:42:03

如果您的程序是 Win Forms 或 WPF 应用程序,那么它将使用本地计算机(启动它的计算机)上的资源。如果您想远程刻录 CD,您将需要位于服务器上的另一层 - 可能是某种服务。

If your program is a Win Forms or a WPF application then it will work with resources on the local machine (machine it was launched on). If you want to burn CDs remotely you will need another tier located on the server - probably come kind of service.

浪荡不羁 2024-10-06 18:42:03

转到注册表中的 HKLM\SOFTWARE\Microsoft.NETFramework\Windows Presentation Foundation\Hosting 节点,并创建一个名为 RunUnrestricted 且值为 1 的新 DWORD。

go to HKLM\SOFTWARE\Microsoft.NETFramework\Windows Presentation Foundation\Hosting node in the registry and create a new DWORD named RunUnrestricted with value 1.

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