For example I wanted to create a simple plugin that supports multi-rename. I was thinking of something like a button that could be added to toolbar in windows explorer. But how do I do that and also can this be done in .net?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This can be done, but it’s not necessarily a good idea. You need to wrap the shell extension API, which is all COM based, so can be used from within .NET.
However, the problem arises if the user has any extensions using .NET 1.1. Version 2 of the CLR can’t be loaded into an application loading v1.1 of the CLR, so this can cause some very odd behaviors. CLR 4 and .NET 4 addresses this by allowing in process side-by-side hosting of .NET.