Skip to content

Commit d2a050d

Browse files
authored
chore: update to c# 9 (microsoft#1147)
* update to c# 9 * redundant LangVersion * Update PlaywrightSharp.sln
1 parent 3baefc1 commit d2a050d

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

Directory.Build.props

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project>
3+
<PropertyGroup>
4+
<LangVersion>9</LangVersion>
5+
</PropertyGroup>
6+
</Project>

src/PlaywrightSharp.TestServer/PlaywrightSharp.TestServer.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<PropertyGroup>
44
<TargetFrameworks>netcoreapp3.1;net5.0;net48</TargetFrameworks>
55
<OutputType>Library</OutputType>
6-
<LangVersion>8</LangVersion>
76
<ReleaseVersion>0.0.0</ReleaseVersion>
87
</PropertyGroup>
98
<ItemGroup>

src/PlaywrightSharp.Tests/PlaywrightSharp.Tests.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<TargetFrameworks>netcoreapp3.1;net5.0;net48</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
<IsTestProject>true</IsTestProject>
7-
<LangVersion>8.0</LangVersion>
87
<ReleaseVersion>0.0.0</ReleaseVersion>
98
</PropertyGroup>
109
<Import Project="../Common/SignAssembly.props" />

src/PlaywrightSharp.sln

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
88
ProjectSection(SolutionItems) = preProject
99
.editorconfig = .editorconfig
1010
Common\Dependencies.props = Common\Dependencies.props
11+
..\Directory.Build.props = ..\Directory.Build.props
1112
PlaywrightSharp.ruleset = PlaywrightSharp.ruleset
1213
stylecop.json = stylecop.json
1314
Common\SignAssembly.props = Common\SignAssembly.props

src/PlaywrightSharp/PlaywrightSharp.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<Summary>Playwright-Sharp .NET library to automate Chromium, Firefox and WebKit with a single API.</Summary>
77
<Description>PlaywrightSharp is a .NET library to automate Chromium, Firefox and WebKit with a single API. Playwright is built to enable cross-browser web automation that is ever-green, capable, reliable and fast.</Description>
88
<TargetFrameworks>netstandard2.0;net5.0</TargetFrameworks>
9-
<LangVersion>9.0</LangVersion>
109
<DebugType>embedded</DebugType>
1110
<DebugSymbols>true</DebugSymbols>
1211
<PublishRepositoryUrl>true</PublishRepositoryUrl>

0 commit comments

Comments
 (0)