Easy way to deploy NOT register a dll

时间:2015-05-04 19:31:51

标签: c# fxcop vsix vsx

I have a dll that I simply need other developers to add to a folder in their VS install. Specifically:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop\Rules

My first attempt (and preferred) approach was with a vsix. I just couldn't figure out how to get the .pkgdef and manifest to get along with each other and just place the file in the directory above. Googling of course was no help as everyone is coming from the angle of REGISTERING the dll so they say don't use vsix for that.

I don't want an installer class.

Install Shield too heavy...OK I could do it but seriously do I really have to go through all that?

I could email the file around and tell them where to save it to...and I'm about to do that if I can't find a simple deployment method.

1 个答案:

答案 0 :(得分:0)

You can create a program to find visual studio installation directory and copy the dll to the target location. Then send the program with the dll to the developers. To get installation directory of a product, see Get installed applications in a system.