Skip to content

Commit 72aeaeb

Browse files
AaronRobinsonMSFTRon Petrusha
andcommitted
Update tlbimp-exe-type-library-importer.md (#13354)
* Update tlbimp-exe-type-library-importer.md * Update docs/framework/tools/tlbimp-exe-type-library-importer.md Co-Authored-By: Ron Petrusha <ronpet@microsoft.com>
1 parent fa226ff commit 72aeaeb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/framework/tools/tlbimp-exe-type-library-importer.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,10 @@ tlbimp tlbFile [options]
7272

7373
It is often useful or necessary to be able to assign [strong names](../app-domains/strong-named-assemblies.md) to assemblies. Therefore, Tlbimp.exe includes options for supplying the information necessary to generate strongly named assemblies. Both the **/keyfile:** and **/keycontainer:** options sign assemblies with strong names. Therefore, it is logical to supply only one of these options at a time.
7474

75-
You can specify multiple reference assemblies by using the **/reference** option multiple times.
76-
75+
You can specify multiple reference assemblies by using the **/reference** option multiple times.
76+
77+
Due to the way in which Tlbimp.exe generates assemblies, it is not possible to retarget an assembly to a different `mscorlib` version. For example, if you desire to generate an assembly that targets .NET Framework 2.0, the Tlbimp.exe shipped with the .NET Framework 2.0/3.0/3.5 SDK must be used. In order to target .NET Framework 4.x, the Tlbimp.exe shipped with a .NET Framework 4.x SDK should be used.
78+
7779
A resource ID can optionally be appended to a type library file when importing a type library from a module containing multiple type libraries. Tlbimp.exe is able to locate this file only if it is in the current directory or if you specify the full path. See the example later in this topic.
7880

7981
## Examples

0 commit comments

Comments
 (0)