I'm building a Visual Studio extension and I need to get notification when a project is renamed.
Tried using DTE2.Events2.SolutionEvents
and also tried IVsSolutionEvents
.
Both of them work fine for C#, VB.NET, and F# projects, but not for C++ projects.
Is there another way to handle project rename events? Or something specific for C++ projects?
Thanks.
Have you taken a look at the IVsSolutionEvents4
interface and its OnAfterRenameProject
method?
For an implementation you can take a look at my DulcisX
framework.
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.