Gets the name (but not the location) of the generated satellite resource DLL or DLL.
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
The common language runtime, which requires that satellite resources have the same name, are distinguished by their directories. For example, French resources would have the name specified here and be in a subdirectory named "fr" under the directory in which the primary output resides. As a result, the name returned by is always a single name, even when there are multiple satellite DLLs being generated.
See How to: Compile Example Code for Project Model Extensibility for information about how to compile and run this sample.
' Add a reference to Microsoft.VisualStudio.VCProjectEngine and have a ' Visual C++ project loaded before running this example. Imports EnvDTE Imports Microsoft.VisualStudio.VCProjectEngine Public Module Module1 Sub Test() Dim prj As VCProject Dim cfgs, tools As IVCCollection Dim cfg As VCConfiguration Dim tool As VCALinkTool prj = DTE.Solution.Projects.Item(1).Object cfgs = prj.Configurations cfg = cfgs.Item(1) tool = cfg.Tools("VCALinkTool") MsgBox("Output base file name: " & tool.OutputBaseFileName) End Sub End Module
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.