使用 ClickOnce 注册文件关联
我想将文件扩展名与我的 ClickOnce 应用程序关联。 发布选项中有一个文件关联部分,但我无法使其工作。
I want to associate a file extension with my ClickOnce application. There is a File Associations part in the Publish options but I can't manage to make it work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否在应用程序内添加了代码来处理用户双击文件名并对其执行某些操作时传入的文件名?你的创业公司需要这样的东西。
然后您必须添加代码来对该文件执行某些操作。
Have you added the code inside the application to handle the file name passed in when the user double-clicks on it and do something with it? You need something like this in your startup.
Then you have to add code to do something with the file.
为了使用文件关联,您的项目必须符合一些规则...
如果您已经在做所有这些事情,那么到底什么不起作用?
In order to use file associations, your project must conform to a few rules...
If you are already doing all these things, what, exactly, isn't working?