English 中文(简体)
登记项目建造的、但不是再造林的COM孔径雷达工程
原标题:Registering a .NET COM interop dll works from project build but not from regasm

我正试图为网络应用部署一个信通空。 在开发过程中,对于需要登记用于COMInterop的大会,我有在建筑财产下检查的“COMInterop登记员”。 在这种方法中,所有东西都只是罚款。

然而,当我部署伙伴关系时。 NET应用软件,并试图通过手工方式使用沼气工具登记组装,因此没有工作。

我的最终目标是:

用户一旦进入现场,没有标的登记,用户便可使用ClickOnce对ll进行登记。 之后,用户不应因任何事情而有所作为,一切都只能奏效!

事先感谢你。

最佳回答

如你所期望的那样,一个试图在客户机器上安装COM DLL的网络台将面临许多安全障碍。 一个没有行政特权的用户有可能安装。 NET代码(包括可视的班级)通过ClickOnce,但我认为你甚至可能认为这不符合你想要的东西。

ClickOnce装置被部署到档案系统用户简介栏下的一个模糊地点。 部署的信号中的任何通信部分在信号中都有可见之处,但在客户机器的其他地方则看不到。 特别是,在浏览器上运行的客户文字无法援引通过ClickOnce部署的通信部分。

快速部署非常故意地将部署的代码与系统其他部分分开。

我看不出任何途径,让您的网络能够进行部署,然后与DLL公司互动,除非用户有行政特权,并明确登记DL。 总的来说,我想这是一件好事

Somebody else might have a better suggestion, but the only way forward I can see is for you to build the functionality that uses this DLL into a .NET app that runs on the desktop. This could be deployed via ClickOnce, and invoked via a link in your web app. It could even post data to your web server. But I can t see a way for it to interact with the browser.

问题回答

能够帮助你解决ClickOnce的难题,但是,你可能需要使用重新气体(如果你不将其安装到全球大气中)的密码选择。

regasm AssemblyName.dll /codebase

你还需要成为在Vista/Windows 7下工作的行政机构。





相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签