Skip to content

Commit e31d67a

Browse files
authored
CSHARP-5266: Switch to Ubuntu for package creation (#1438)
1 parent c9cf95b commit e31d67a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

evergreen/evergreen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2705,7 +2705,7 @@ buildvariants:
27052705
# Package release variants
27062706
- matrix_name: build-packages
27072707
matrix_spec:
2708-
os: "windows-64" # should produce package on Windows to build .NET framework (net472) packages.
2708+
os: "ubuntu-2004"
27092709
display_name: "Packages Pack"
27102710
tags: ["build-packages", "release-tag"]
27112711
tasks:

src/Directory.Build.props

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
</PropertyGroup>
55

66
<PropertyGroup>
7-
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
8-
<TargetFrameworks Condition="'$(IsWindows)'=='true'">$(TargetFrameworks);net472</TargetFrameworks>
7+
<TargetFrameworks>netstandard2.0;netstandard2.1;net472</TargetFrameworks>
98
<LangVersion>10.0</LangVersion>
109
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1110
<CodeAnalysisRuleSet>..\..\MongoDB.ruleset</CodeAnalysisRuleSet>
@@ -60,4 +59,4 @@
6059
<None Include="..\..\packageIcon.png" Pack="true" PackagePath="" />
6160
<None Include="..\..\README.md" Pack="true" PackagePath=""/>
6261
</ItemGroup>
63-
</Project>
62+
</Project>

0 commit comments

Comments
 (0)