File tree Expand file tree Collapse file tree 2 files changed +22
-8
lines changed Expand file tree Collapse file tree 2 files changed +22
-8
lines changed Original file line number Diff line number Diff line change 10
10
that is done by the file that imports us.
11
11
-->
12
12
13
- <!-- Define Environmental conditionals -->
14
- <!-- Determined by environmental settings set in build-and-test.yml-->
13
+ <!--
14
+ Define Environmental conditionals. Determined by environmental settings set in build-and-test.yml
15
+ These proeprties are defined 2X to ensure both MSBuild and Visual Studio (preprocessor directives)
16
+ can correctly detect them.
17
+ -->
15
18
<PropertyGroup >
16
19
<IsContinuousIntegration Condition =" '$(CI)' == 'true'" >true</IsContinuousIntegration >
17
20
<IsCodeCoverage Condition =" '$(codecov)' == 'true'" >true</IsCodeCoverage >
18
21
</PropertyGroup >
22
+
19
23
<PropertyGroup Condition =" '$(IsContinuousIntegration)'=='true'" >
20
24
<DefineConstants >$(DefineConstants);ENV_CI</DefineConstants >
21
25
</PropertyGroup >
Original file line number Diff line number Diff line change 21
21
<PublishRepositoryUrl >true</PublishRepositoryUrl >
22
22
</PropertyGroup >
23
23
24
+ <!--
25
+ Define Environmental conditionals. Determined by environmental settings set in build-and-test.yml
26
+ These proeprties are defined 2X to ensure both MSBuild and Visual Studio (preprocessor directives)
27
+ can correctly detect them.
28
+ -->
29
+ <PropertyGroup >
30
+ <IsContinuousIntegration Condition =" '$(CI)' == 'true'" >true</IsContinuousIntegration >
31
+ <IsCodeCoverage Condition =" '$(codecov)' == 'true'" >true</IsCodeCoverage >
32
+ </PropertyGroup >
33
+
24
34
<!-- Deterministic settings. CI only .-->
25
35
<PropertyGroup Condition =" '$(IsContinuousIntegration)'=='true'" >
26
36
<ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
30
40
<SymbolPackageFormat >snupkg</SymbolPackageFormat >
31
41
</PropertyGroup >
32
42
33
- <!-- Package references and additional files which are consumed by src projects. CI Only -->
34
- <ItemGroup Condition =" '$(IsContinuousIntegration)'=='true'" >
35
- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" All" IsImplicitlyDefined =" true" />
36
- <PackageReference Include =" MinVer" PrivateAssets =" All" Version =" 2.3.1" IsImplicitlyDefined =" true" />
37
- </ItemGroup >
38
-
39
43
<!-- MinVer Properties for versioning. CI only-->
40
44
<PropertyGroup Condition =" '$(IsContinuousIntegration)'=='true'" >
41
45
<MinVerTagPrefix >v</MinVerTagPrefix >
42
46
<MinVerVerbosity >normal</MinVerVerbosity >
43
47
</PropertyGroup >
44
48
49
+ <!-- Package references and additional files which are consumed by src projects. CI Only -->
50
+ <ItemGroup Condition =" '$(IsContinuousIntegration)'=='true'" >
51
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" All" IsImplicitlyDefined =" true" />
52
+ <PackageReference Include =" MinVer" PrivateAssets =" All" Version =" 2.3.1" IsImplicitlyDefined =" true" />
53
+ </ItemGroup >
54
+
45
55
</Project >
You can’t perform that action at this time.
0 commit comments