Referencing Assemblies

Going back to the Visual Studio development environment, we now focus on creating and referencing assemblies. You’ve seen how this works plenty of times already, but some things deserve some further attention.

Solutions Consist of Projects

First, we should highlight the difference between solutions, projects, and the topic at hand: assemblies. The relationship between them is quite simple: Projects typically build a single assembly, and multiple projects are bundled into a solution.

Solutions don’t have a runtime representation and are a Visual Studio-only concept, providing for a better development experience when building different assemblies in a group.

Depending on the type of the project, a different type of assembly ...

Get C# 4.0 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.