Each of the .NET Framework tools has a different syntax for accomplishing the same tasks. The following tables show the command-line options for embedding and linking in the Assembly Linker (Al.exe), the Visual C# command-line compiler (CSC), and the Visual Basic command-line compiler (VBC).
| Al.exe | |
| /embed[resource]:<filename>[,<name>[,Private] | Embeds the file as a resource in the assembly |
| /link[resource]:<filename>[,<name>[,<targetfile>[,Private]]] | Links the file as a resource to the assembly |
| Csc.exe | |
| /resource:<resinfo> | Embeds the specified resource (Short form: /res) |
| /linkresource:<resinfo> | Links the specified resource to this assembly (Short form: /linkres) |
| Vbc.exe | |
| /res[ource]:<file>[,<name>[,<public|private>[,<locale>[<desc>[,<mime>]]]]] | Adds a file internally to the assembly. |
| /linkres[ource]:<file>[,<name>] | Links a file externally to the assembly. |