addin 笔记

http://msdn.microsoft.com/en-us/library/vstudio/19dax6cz.aspx

 

VS 加载插件的位置: \My Documents\Visual Studio 20XX\Addins\

文件后缀名: .addin ,编码: UTF8 (65001) 格式:

 

<?xml version="1.0" encoding="UTF-16" standalone="no"?>
<Extensibility xmlns="http://schemas.microsoft.com/AutomationExtensibility">
    <HostApplication>
        <Name>Microsoft Visual Studio</Name>
        <Version>11.0</Version>
    </HostApplication>
    <Addin>
        <FriendlyName>Mvc页面和代码切换</FriendlyName>
        <Description>Mvc页面和代码切换</Description>
        <Assembly>MyMvcAddin.dll</Assembly>
        <FullClassName>MyMvcAddin.Connect</FullClassName>
        <LoadBehavior>1</LoadBehavior>
        <CommandPreload>1</CommandPreload>
        <CommandLineSafe>0</CommandLineSafe>
    </Addin>
</Extensibility>

 

调试时:AddIn 项目-》属性-》调试:

启动外部程序: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe

命令行参数:/resetaddin MyMvcAddin.Connect

工作目录: 空 即可

 

你可能感兴趣的:(add)