Answer the question
In order to leave comments, you need to log in
What APIs exist in Visual Studio (C#) to work with a project?
I am writing a C# code parser in C#, so far the parser works with a regular txt file into which the C# code is copied, but I would like to be able to open the project (for example, in Visual Studio the project is launched by a .sln file) and work with files source code contained in this project.
The question is how to do it, in which direction to dig. Perhaps the development environment (IDE) provides some interfaces for this. I would be grateful for any information.
Answer the question
In order to leave comments, you need to log in
It will be much easier for you to set the parser on the project folder so that it goes through all the subfolders and searches for *.cs files to parse.
You can write a plug-in for Visual Studio, but it will only work in the Community and it’s better, you can also write plug-ins only in it, you can also dig towards COM, everything is on it, but perhaps it’s better to write the *.sln, * parser yourself .csproj etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question