[英]Using C# Class Library On Non-Development Machine
I have a C# class library that is COM visible and can be called from Visual C++ 6. It works fine. 我有一个COM可见的C#类库,可以从Visual C ++ 6调用。它工作正常。
Probably a stupid question, but even after Googling for an answer I can't find one. 可能是一个愚蠢的问题,但即使在谷歌搜索后我找不到一个答案。 How do I copy and register this on another non-development machine?
如何在另一台非开发机器上复制和注册? My machine has
gacutil
and regasm
on it which I am using. 我的机器上有
gacutil
和regasm
,我正在使用它。 However, these are not on the other machine. 但是,这些不在另一台机器上。 The only answers I seem to be able to find on Google talk about creating an installation app, but this is overkill for something that will only ever be used internally.
我似乎能够在Google上找到关于创建安装应用程序的唯一答案,但这对于只能在内部使用的内容来说是过度的。
Regasm
and Gacutil
are both installed with the .NET Framework (in C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727
for 3.5sp1, for example, by default). Regasm
和Gacutil
都与.NET Framework一起安装(例如,默认情况下,在C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727
用于3.5sp1)。
Since you'll need the framework installed anyways, this should exist on every system. 由于您无论如何都需要安装框架,因此每个系统都应该存在这个框架。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.