c# - VSIX package installation with registering custom library -


i made visual studio extension using roslyn analyze , refactor source code. work on custom attribute declared in project in solution, , in analyzer, search attribute. project structure below:

  • customanalyzer.base (class library)
    • customanalyzer.base.mycustomattribute.cs (my attribute class)
  • customanalyzer (analyzing , refactoring methods)
  • customanalyzer.vsix (vsix package project)

customanalyzer project has reference customanalyzer.base. want programmers able add customanalyzer.base.mycustomattribute annotation in top of methods after installing extension on visual studio. when install extension, cannot add reference customanalyzer.base since library not in assemblies list.

how can register class library extension or framework assembly when extension has been installed?

please sign class library project package project key.snk.

right click project -> properties -> signing -> enable sign assembly -> click dropdownlist below -> browser... -> select key.snk file in project named helloworld2parter -> open -> rebuild project.

enter image description here


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -