Is there a way within Visual Studio to easily get

2020-08-13 07:31发布

I'm looking for an extension/process for getting an object's assembly qualified type name within Visual Studio. I'm aware that you can write a quick console app to output this but find it to be a clumsy process. Ideally, I'd like the ability to right-click on a type name, and have the option to copy it's assembly qualified name to the clipboard in order to paste into my DI Container's configuration file.

3条回答
走好不送
2楼-- · 2020-08-13 07:51

Assembly Information is probably close to what you are looking for. It seems to only show information on your references but should't be a problem if you have another project in your solution referencing the assembly.

Good idea for a plug-in if it's possible.

查看更多
老娘就宠你
3楼-- · 2020-08-13 07:53

Try using Productivity Power Tools. Its free and provides a whole slew of other great extension for Visual Studio.

http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef

查看更多
三岁会撩人
4楼-- · 2020-08-13 07:56

In newer versions of ReSharper you can use the ReSharper/Edit/Copy Fully-qualified name/ Source browser URI to clipboard menu option.

查看更多
登录 后发表回答