Skip to content

Commit 7f5b61b

Browse files
Copilotvicancy
andauthored
Fix C# sample build failures by upgrading to compatible .NET versions (#852)
* Initial plan * Fix C# sample build failures by upgrading to compatible .NET versions Co-authored-by: vicancy <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: vicancy <[email protected]>
1 parent d2e0b58 commit 7f5b61b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

samples/csharp/chatapp-net6/chatapp-net6.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.Azure.WebPubSub.AspNetCore" Version="1.*" />
12+
<PackageReference Include="Microsoft.Azure.WebPubSub.AspNetCore" Version="1.4.0" />
1313
</ItemGroup>
1414

1515
</Project>

samples/csharp/chatapp-withstorage/chatwithstorage.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<RootNamespace>chatwithstorage</RootNamespace>

samples/csharp/clientWithCert/server/server.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<UserSecretsId>ClientWithCert.Server</UserSecretsId>

0 commit comments

Comments
 (0)