Skip to content

Commit d968e36

Browse files
yashdsarafclaude
andcommitted
Drop binding TFM from net7.0 to net6.0
Why: the 3.x binding's only net7-specific touchpoint is the `Architecture.Arm64` enum (added in .NET Core 3.0 / netstandard 2.1). Everything else (HttpClient, WebClient, WebProxy, Process, ACL APIs) is available since netstandard 2.0 / net6.0. Targeting net6.0 instead lets net6.0 SDK consumers stay on 3.x without being forced to upgrade their runtime to net7+. .NET 5 and netcoreapp 3.1 still aren't covered — but per the SDK agent's 7-day BigQuery, those TFMs have zero C# SDK traffic, so the practical impact is nil. Net effect: removes the LOC-6563 rollout's hardest constraint (forcing SDK to drop net6.0 from <TargetFrameworks> in order to adopt 3.1.0). The 7 hard-blocked enterprise accounts on .NET 6.0.36 (group_id=934837 et al., 14 users, 623 weekly events) stay supported. Also updates test project TFMs and HintPaths from net7.0 to net6.0 so the local build chain matches. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e5d95f5 commit d968e36

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

BrowserStackLocal/BrowserStackLocal Unit Tests/BrowserStackLocal Unit Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<RootNamespace>BrowserStackLocal_Unit_Tests</RootNamespace>
44
<AssemblyName>BrowserStackLocal Unit Tests</AssemblyName>
5-
<TargetFrameworks>net7.0</TargetFrameworks>
5+
<TargetFrameworks>net6.0</TargetFrameworks>
66
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
77
<Title>BrowserStackLocal Unit Tests</Title>
88
<Product>BrowserStackLocal Unit Tests</Product>
@@ -18,10 +18,10 @@
1818
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
1919
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
2020
</ItemGroup>
21-
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
21+
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
2222
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.3" />
2323
<Reference Include="BrowserStackLocal">
24-
<HintPath>..\BrowserStackLocal\bin\$(Configuration)\net7.0\BrowserStackLocal.dll</HintPath>
24+
<HintPath>..\BrowserStackLocal\bin\$(Configuration)\net6.0\BrowserStackLocal.dll</HintPath>
2525
</Reference>
2626
</ItemGroup>
2727
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

BrowserStackLocal/BrowserStackLocal/BrowserStackLocal.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<RootNamespace>BrowserStack</RootNamespace>
44
<AssemblyName>BrowserStackLocal</AssemblyName>
5-
<TargetFramework>net7.0</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
77
<Title>BrowserStackLocal</Title>
88
<Product>BrowserStackLocal</Product>

BrowserStackLocal/BrowserStackLocalIntegrationTests/BrowserStackLocalIntegrationTests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net7.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
</PropertyGroup>
77

@@ -12,10 +12,10 @@
1212
<PackageReference Include="Selenium.WebDriver" Version="3.141.0" />
1313
</ItemGroup>
1414

15-
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
15+
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
1616
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.3" />
1717
<Reference Include="BrowserStackLocal">
18-
<HintPath>..\BrowserStackLocal\bin\$(Configuration)\net7.0\BrowserStackLocal.dll</HintPath>
18+
<HintPath>..\BrowserStackLocal\bin\$(Configuration)\net6.0\BrowserStackLocal.dll</HintPath>
1919
</Reference>
2020
</ItemGroup>
2121

0 commit comments

Comments
 (0)