File tree Expand file tree Collapse file tree
BrowserStackLocal Unit Tests
BrowserStackLocalIntegrationTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 msbuild BrowserStackLocalIntegrationTests -t:restore -p:Configuration=Release
2424 msbuild BrowserStackLocalIntegrationTests -t:build -p:Configuration=Release
2525 - name : Setup .NET Core
26- uses : actions/setup-dotnet@v1
26+ uses : actions/setup-dotnet@v3
2727 with :
28- dotnet-version : 3.1.301
28+ dotnet-version : 7.0.20
2929 - name : Run Integration Tests
3030 env :
3131 BROWSERSTACK_USERNAME : ${{ secrets.BROWSERSTACK_USERNAME }}
Original file line number Diff line number Diff line change 2323 msbuild BrowserStackLocalIntegrationTests -t:restore -p:Configuration=Release
2424 msbuild BrowserStackLocalIntegrationTests -t:build -p:Configuration=Release
2525 - name : Setup .NET Core
26- uses : actions/setup-dotnet@v1
26+ uses : actions/setup-dotnet@v3
2727 with :
28- dotnet-version : 3.1.301
28+ dotnet-version : 7.0.20
2929 - name : Run Integration Tests
3030 env :
3131 BROWSERSTACK_USERNAME : ${{ secrets.BROWSERSTACK_USERNAME }}
Original file line number Diff line number Diff line change 22 <PropertyGroup >
33 <RootNamespace >BrowserStackLocal_Unit_Tests</RootNamespace >
44 <AssemblyName >BrowserStackLocal Unit Tests</AssemblyName >
5- <TargetFrameworks >net45;netcoreapp3.1 </TargetFrameworks >
5+ <TargetFrameworks >net7.0 </TargetFrameworks >
66 <GenerateAssemblyInfo >false</GenerateAssemblyInfo >
77 <Title >BrowserStackLocal Unit Tests</Title >
88 <Product >BrowserStackLocal Unit Tests</Product >
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)' == 'net45 ' " >
21+ <ItemGroup Condition =" '$(TargetFramework)' == 'net7.0 ' " >
2222 <PackageReference Include =" System.Threading.Tasks.Extensions" Version =" 4.5.3" />
2323 <Reference Include =" BrowserStackLocal" >
24- <HintPath >..\BrowserStackLocal\bin\Debug\net20\BrowserStackLocal.dll</HintPath >
25- </Reference >
26- </ItemGroup >
27- <ItemGroup Condition =" '$(TargetFramework)' == 'netcoreapp3.1' " >
28- <Reference Include =" BrowserStackLocal" >
29- <HintPath >..\BrowserStackLocal\bin\Debug\netstandard2.0\BrowserStackLocal.dll</HintPath >
24+ <HintPath >..\BrowserStackLocal\bin\$(Configuration)\net7.0\BrowserStackLocal.dll</HintPath >
3025 </Reference >
3126 </ItemGroup >
3227 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
3631 <Target Name="AfterBuild">
3732 </Target>
3833 -->
39- </Project >
34+ </Project >
Original file line number Diff line number Diff line change 1818 <ItemGroup >
1919 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.2" />
2020 </ItemGroup >
21- <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " >
22- <PackageReference Include =" System.IO.FileSystem.AccessControl" Version =" 4.7.0" />
23- </ItemGroup >
2421 <ItemGroup >
2522 <None Include =" MIT-LICENSE.txt" Pack =" true" PackagePath =" " />
2623 </ItemGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net45;netcoreapp3.1 </TargetFrameworks >
4+ <TargetFrameworks >net7.0 </TargetFrameworks >
55 <IsPackable >false</IsPackable >
66 </PropertyGroup >
77
1212 <PackageReference Include =" Selenium.WebDriver" Version =" 3.141.0" />
1313 </ItemGroup >
1414
15- <ItemGroup Condition =" '$(TargetFramework)' == 'net45 ' " >
15+ <ItemGroup Condition =" '$(TargetFramework)' == 'net7.0 ' " >
1616 <PackageReference Include =" System.Threading.Tasks.Extensions" Version =" 4.5.3" />
1717 <Reference Include =" BrowserStackLocal" >
18- <HintPath >..\BrowserStackLocal\bin\$(Configuration)\net20\BrowserStackLocal.dll</HintPath >
19- </Reference >
20- </ItemGroup >
21- <ItemGroup Condition =" '$(TargetFramework)' == 'netcoreapp3.1' " >
22- <Reference Include =" BrowserStackLocal" >
23- <HintPath >..\BrowserStackLocal\bin\$(Configuration)\netstandard2.0\BrowserStackLocal.dll</HintPath >
18+ <HintPath >..\BrowserStackLocal\bin\$(Configuration)\net7.0\BrowserStackLocal.dll</HintPath >
2419 </Reference >
2520 </ItemGroup >
2621
27- </Project >
22+ </Project >
You can’t perform that action at this time.
0 commit comments