File: README.md

package info (click to toggle)
mono 6.14.1%2Bds2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,282,740 kB
  • sloc: cs: 11,182,461; xml: 2,850,281; ansic: 699,123; cpp: 122,919; perl: 58,604; javascript: 30,841; asm: 21,845; makefile: 19,602; sh: 10,973; python: 4,772; pascal: 925; sql: 859; sed: 16; php: 1
file content (28 lines) | stat: -rw-r--r-- 1,210 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Mono binary reference assemblies
================================

Built using csc 2.1.0.

Adding a new .NET profile
-------------------------

Use the following steps (we're using 4.7.1 as example):

1. Copy existing `v4.7/Makefile` and `src/v4.7/*` to new folders and commit
2. Update `PROFILE` variable in `v4.7.1/Makefile`
3. Wire up new profile in `Makefile` in repo root
4. Run the generation script `./generate-refasm-sources.sh v4.7.1 some/path/to/netfx/referenceassemblies`
5. Revert deletion of `*.extra.cs`
6. Revert changes that remove `#if / #endif`
7. Revert suspicious changes to:
    - `Accessibility.cs` (bug in GenApi)
    - `Microsoft.VisualBasic.cs` (bug in GenApi and wrong AssemblyCopyright/Product attribute)
    - `Microsoft.VisualC.cs` (bug in GenApi)
    - `System.Data.Linq.cs` (bug in GenApi)
    - `System.Deployment.cs` (we only have stub assemblies)
    - `System.Runtime.DurableInstancing.cs` (bug in GenApi)
    - `System.Security.cs` (bug in GenApi)
    - `System.Web.Mobile.cs` (we only have stub assemblies)
    - `System.Workflow.*.cs` (we only have stub assemblies)
8. Add new assemblies/facades to `v4.7.1/Makefile`
9. Run `make -C v4.7.1` and ensure everything compiles