diff --git a/TweetDuck.csproj b/TweetDuck.csproj index 990d45ef..27df5cbd 100644 --- a/TweetDuck.csproj +++ b/TweetDuck.csproj @@ -62,6 +62,7 @@ <DefineConstants> </DefineConstants> <Prefer32Bit>false</Prefer32Bit> + <LangVersion>7</LangVersion> </PropertyGroup> <ItemGroup> <Reference Include="System" /> diff --git a/lib/TweetLib.Communication/TweetLib.Communication.csproj b/lib/TweetLib.Communication/TweetLib.Communication.csproj index 0d10d0e1..8e3f3145 100644 --- a/lib/TweetLib.Communication/TweetLib.Communication.csproj +++ b/lib/TweetLib.Communication/TweetLib.Communication.csproj @@ -30,6 +30,7 @@ <PlatformTarget>x86</PlatformTarget> <ErrorReport>prompt</ErrorReport> <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <LangVersion>7</LangVersion> </PropertyGroup> <ItemGroup> <Reference Include="System" /> diff --git a/subprocess/TweetDuck.Browser.csproj b/subprocess/TweetDuck.Browser.csproj index b5db853c..de8649b7 100644 --- a/subprocess/TweetDuck.Browser.csproj +++ b/subprocess/TweetDuck.Browser.csproj @@ -20,6 +20,7 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> <PlatformTarget>x86</PlatformTarget> <OutputPath>bin\x86\Release\</OutputPath> + <LangVersion>7</LangVersion> </PropertyGroup> <PropertyGroup> <StartupObject /> diff --git a/video/TweetDuck.Video.csproj b/video/TweetDuck.Video.csproj index b9489cc3..dceec7ba 100644 --- a/video/TweetDuck.Video.csproj +++ b/video/TweetDuck.Video.csproj @@ -34,6 +34,7 @@ <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> <Prefer32Bit>true</Prefer32Bit> <GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies> + <LangVersion>7</LangVersion> </PropertyGroup> <PropertyGroup> <ApplicationIcon>Resources\icon.ico</ApplicationIcon>