Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchcosta <chcosta@microsoft.com>2016-11-20 01:53:10 +0300
committerGitHub <noreply@github.com>2016-11-20 01:53:10 +0300
commitec30a4e85224a4f8ae1be108e56bc4c036deeb05 (patch)
tree4b8b699f68cc2bbb9a5facea2183247422a57d66 /Documentation
parentacc241918988f6221eaa74ac57492e5e1d57a1d1 (diff)
SupportedGroups renamed ProjectConfigurations
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/coding-guidelines/buildingvertical.md29
1 files changed, 17 insertions, 12 deletions
diff --git a/Documentation/coding-guidelines/buildingvertical.md b/Documentation/coding-guidelines/buildingvertical.md
index 7f67e82efd..b78cfbc993 100644
--- a/Documentation/coding-guidelines/buildingvertical.md
+++ b/Documentation/coding-guidelines/buildingvertical.md
@@ -2,40 +2,45 @@
**Definitions**
-*VerticalTargetGroup*
+*VerticalGroup*
-`VerticalTargetGroup` - We need a property to define the vertical target group, but we don't want to set "TargetGroup" explicitly or we won't be able to build the "" TargetGroups for projects.
- If `VerticalTargetGroup != ""`, we import buildvertical.targets which will contain our additional targets.
+`VerticalGroup` - We need a property to define the vertical target group, but we don't want to set "TargetGroup" explicitly or we won't be able to build the "" TargetGroups for projects.
+ If `VerticalGroup != ""`, we import buildvertical.targets which will contain our additional targets.
-*SupportedGroups*
+*ProjectConfigurations*
-For each ref project and src project, we define `SupportedGroups`. `SupportedGroups` is a tuple for the supported `TargetGroup` and `OSGroup`.
+For each ref project and src project, we define `ProjectConfigurations`. `ProjectConfigurations` is a tuple for the supported `TargetGroup` and `OSGroup`.
ie
ref\System.Runtime.csproj
```MSBuild
+<DefaultTargetGroup>netstandard1.7</DefaultTargetGroup>
<PropertyGroup>
- <SupportedGroups>
- netstandard1.7|Windows_NT;
- netstandard1.7|OSX;
- netstandard1.7|Linux;
+ <ProjectConfigurations>
+ $(DefaultTargetGroup)|Windows_NT;
+ $(DefaultTargetGroup)|OSX;
+ $(DefaultTargetGroup)|Linux;
netcoreapp1.1|Windows_NT;
netcoreapp1.1|OSX;
netcoreapp1.1|Linux
- </SupportedGroups>
+ </ProjectConfigurations>
<PropertyGroup>
```
+*DefaultTargetGroup*
+
+We define a `DefaultTargetGroup` in each csproj so that we can undefine the `TargetGroup` property if we are building targeting that `TargetGroup`.
+
*Contract Layer*
We have a contract layer (msbuild task).
Inputs:
- SupportedGroups
- VerticalGroup (desired OSGroup-TargetGroup-[Release|Debug])
+ ProjectConfigurations
+ VerticalGroup (desired OSGroup and TargetGroup as OSGroup-TargetGroup-[Release|Debug])
Output: