662 B
662 B
:::caution This API is deprecated since 5.0, please use dotnetframework instead. :::
Selects a .NET framework version.
framework ("version")
This value currently is only applied to Visual Studio 2005 or later, and GNU makefiles using Mono. If no framework is specified the toolset default is used.
Parameters
version
is one of:
- 1.0
- 1.1
- 2.0
- 3.0
- 3.5
- 4.0
Applies To
Project configurations.
Availability
Premake 4.4 or later.
Examples
Use the .NET 3.0 Framework.
framework "3.0"