是否有一种方法可以在Windows资源管理器中显示混合模式组件的装配/文件版本?我正在尝试调查一些版本过的问题,如果我只能在装配的版本号上浏览它会更快。

有帮助吗?

解决方案

C++/CLI projects need an old Win32 .rc file to achieve this (AssemblyInfo.cpp's info is only embedded in the manifest and thus can't be seen by Windows Explorer, IIRC). Right-click your project in Visual Studio's solution explorer, Add->Resource->Version. I just tried it with one of our C++/CLI projects, which use unmanaged code and are built with the /clr switch.

其他提示

Add the relevant column (File Version, for example) by right-clicking on the headers in detail view, and selecting More... option.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top