vs2010添加,如何与另一台机器共享

发布于 2024-12-29 00:43:08 字数 2161 浏览 0 评论 0原文

我写了一个 Visual Studio 2010 插件。

相信我,公众不想要它,所以我不想上传到画廊。

但我想将它移动到另一台机器上(两台机器都在同一网络上),所以我在两台机器上都有它。

调试文件夹包含:

.dll .pdb .xml

我想我必须将它们复制到另一台机器上的某个地方......我一直在谷歌搜索 大约15分钟,找不到答案。

我确信其他人已经解决了这个问题,而我的谷歌搜索技能现在只是滚动 0。

我真的很感激有关如何做到这一点的一些帮助,或者更好地如何设置安装程序或中央存储库。


我以为我已经弄清楚了......但不是那么多......甚至写了一个答案,但我不得不羞愧地删除它以提出更多问题......

找到这个问题,在堆栈上......我以为我有它..

如何 -> Visual Studio Add In Manager

我创建了一个文件夹

移动了 dll、xml。 pdb 文件在那里。 从我的本地计算机文件夹中复制了 .AddIn 文件:

C:\Documents and Settings\\My Documents\Visual Studio 2010\Addins

编辑该文件的部分以指向 DLL 的新位置

    <?xml version="1.0" encoding="UTF-16" standalone="no"?>
<Extensibility xmlns="http://schemas.microsoft.com/AutomationExtensibility">
    <HostApplication>
        <Name>Microsoft Visual Studio Macros</Name>
        <Version>10.0</Version>
    </HostApplication>
    <HostApplication>
        <Name>Microsoft Visual Studio</Name>
        <Version>10.0</Version>
    </HostApplication>
    <Addin>
        <FriendlyName>GetDebugPackagesAddIn</FriendlyName>
        <Description>GetDebugPackagesAddIn </Description>
        <AboutBoxDetails>Written for Job Corps Data Center By Eric W. Brown  2010\r\nAll Rights Reserved</AboutBoxDetails>
        <AboutIconData> <snip icon data> </AboutIconData>
        <Assembly>V:\_Eric\Tools\AddIns\GetDebugPackagesAddIn\GetDebugPackagesAddIn.dll</Assembly>
        <FullClassName>GetDebugPackagesAddIn.Connect</FullClassName>
        <LoadBehavior>0</LoadBehavior>
        <CommandPreload>1</CommandPreload>
        <CommandLineSafe>0</CommandLineSafe>
    </Addin>
</Extensibility>

修改了我的 VS2010 >工具>选项>环境>加载项/宏安全性>,添加了到新位置的路径

重新启动VS2010...当我尝试加载程序集时爆炸。

没有喜悦...

任何帮助表示感谢...

卡尔-

I wrote a visual studio 2010 addin.

Trust me the general public does not want it, so I dont' want to upload to the Gallery.

But I want to move it to another machine (both machines are on the same network), so I have it on both.

The debug folder contains:

.dll
.pdb
.xml

I assume I have to copy them somewhere on the other machine... I've been googleing
for about 15 min and can't find the answer.

I'm sure others have solved this problem and My googling skills are just rolling 0's right now.

I'd really appreciate some help on how to do this, or better how to set up an installer, or central repository .


Thought I'd figured it out... but not so much...Even wrote up an answer, but I had to delete it in shame to ask more questions...

Finding this question, on stack.. I thought I had it..

How to -> Visual Studio Add In Manager

I created a folder

Moved the dll, xml. pdb file there.
Copied the .AddIn file from my local machines folder here:

C:\Documents and Settings\\My Documents\Visual Studio 2010\Addins

Edited the section of that file to point to the new location of the DLL

    <?xml version="1.0" encoding="UTF-16" standalone="no"?>
<Extensibility xmlns="http://schemas.microsoft.com/AutomationExtensibility">
    <HostApplication>
        <Name>Microsoft Visual Studio Macros</Name>
        <Version>10.0</Version>
    </HostApplication>
    <HostApplication>
        <Name>Microsoft Visual Studio</Name>
        <Version>10.0</Version>
    </HostApplication>
    <Addin>
        <FriendlyName>GetDebugPackagesAddIn</FriendlyName>
        <Description>GetDebugPackagesAddIn </Description>
        <AboutBoxDetails>Written for Job Corps Data Center By Eric W. Brown  2010\r\nAll Rights Reserved</AboutBoxDetails>
        <AboutIconData> <snip icon data> </AboutIconData>
        <Assembly>V:\_Eric\Tools\AddIns\GetDebugPackagesAddIn\GetDebugPackagesAddIn.dll</Assembly>
        <FullClassName>GetDebugPackagesAddIn.Connect</FullClassName>
        <LoadBehavior>0</LoadBehavior>
        <CommandPreload>1</CommandPreload>
        <CommandLineSafe>0</CommandLineSafe>
    </Addin>
</Extensibility>

Modified my VS2010 > Tools > Options > Environment > Add-In/Macro Security >, added path to new location

Restarted VS2010... blows up when I try to load the assembly.

No Joy...

Any Help Is appreciated...

Cal-

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文