I made a Visual Studio extension using Roslyn to analyze and refactor source code. I work on a custom attribute that is declared in another project in the solution, and in my analyzer, I search for that attribute. My project structure is like below:
CustomAnalyzer project has a reference to CustomAnalyzer.Base . I want that programmers be able to add CustomAnalyzer.Base.MyCustomAttribute annotation in top of their methods after installing extension on their Visual Studio . But when I install the extension, I cannot add a reference to CustomAnalyzer.Base since this library is not in assemblies list.
How can I register my Class Library as an Extension or Framework Assembly when the extension has been installed?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.