Skip to content

Commit

Permalink
(chocolatey#2893) Switch Unit and Integration tests to langVersion 7.3
Browse files Browse the repository at this point in the history
This is to allow Visual Studio 2017 to build the project.
Otherwise, code in the FluentAssertions library will cause errors when build with VS2017.
  • Loading branch information
TheCakeIsNaOH committed Nov 23, 2022
1 parent 4bbbf8e commit 5130303
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<RootNamespace>chocolatey.tests.integration</RootNamespace>
<AssemblyName>chocolatey.tests.integration</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<LangVersion>7.3</LangVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<OverwriteReadOnlyFiles>true</OverwriteReadOnlyFiles>
Expand Down
1 change: 1 addition & 0 deletions src/chocolatey.tests/chocolatey.tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<RootNamespace>chocolatey.tests</RootNamespace>
<AssemblyName>chocolatey.tests</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<LangVersion>7.3</LangVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<TargetFrameworkProfile />
Expand Down

0 comments on commit 5130303

Please sign in to comment.