This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/framework.md

43 lines
660 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Selects a .NET framework version.
```lua
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.
```lua
framework "3.0"
```
### Remarks ###
This API is deprecated since 5.0, please use [dotnetframework](dotnetframework.md) instead.
### See Also ###
* [clr](clr.md)
* [dotnetframework](dotnetframework.md)