11<Project Sdk =" Microsoft.NET.Sdk" >
22
3- <PropertyGroup >
4- <OutputType >Exe</OutputType >
5- <TargetFramework >net8.0</TargetFramework >
6- <ImplicitUsings >enable</ImplicitUsings >
7- <Nullable >enable</Nullable >
8- <DockerDefaultTargetOS >Linux</DockerDefaultTargetOS >
9- </PropertyGroup >
3+ <PropertyGroup >
4+ <OutputType >Exe</OutputType >
5+ <TargetFramework >net8.0</TargetFramework >
6+ <ImplicitUsings >enable</ImplicitUsings >
7+ <Nullable >enable</Nullable >
8+ <DockerDefaultTargetOS >Linux</DockerDefaultTargetOS >
9+ <!-- ADDED: Suppress the security audit warning that is failing the build -->
10+ <NoWarn >$(NoWarn);NU1903</NoWarn >
11+ </PropertyGroup >
1012
11- <ItemGroup >
12- <PackageReference Include =" Confluent.Kafka" Version =" 2.11.0" />
13- <PackageReference Include =" EFCore.NamingConventions" Version =" 9.0.0" />
14- <PackageReference Include =" Google.Protobuf" Version =" 3.31.1" />
15- <PackageReference Include =" Grpc.Tools" Version =" 2.68.1" >
16- <PrivateAssets >all</PrivateAssets >
17- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
18- </PackageReference >
19- <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 9.0.7" />
20- <PackageReference Include =" Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version =" 1.22.1" />
21- <PackageReference Include =" Npgsql.EntityFrameworkCore.PostgreSQL" Version =" 9.0.4" />
22- <PackageReference Include =" OpenTelemetry.AutoInstrumentation" Version =" 1.12.0" />
23- </ItemGroup >
13+ <ItemGroup >
14+ <PackageReference Include =" Confluent.Kafka" Version =" 2.11.0" />
15+ <PackageReference Include =" EFCore.NamingConventions" Version =" 8.0.3" />
16+ <PackageReference Include =" Google.Protobuf" Version =" 3.31.1" />
17+ <PackageReference Include =" Grpc.Tools" Version =" 2.68.1" >
18+ <PrivateAssets >all</PrivateAssets >
19+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
20+ </PackageReference >
21+ <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 8.0.0" />
22+ <PackageReference Include =" Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version =" 1.22.1" />
23+ <PackageReference Include =" MongoDB.Driver" Version =" 3.0.0" />
24+ <PackageReference Include =" MongoDB.Driver.Core.Extensions.DiagnosticSources" Version =" 2.1.0" />
25+ <PackageReference Include =" Npgsql.EntityFrameworkCore.PostgreSQL" Version =" 8.0.4" />
26+ <PackageReference Include =" Pomelo.EntityFrameworkCore.MySql" Version =" 8.0.2" />
27+ <PackageReference Include =" OpenTelemetry.AutoInstrumentation" Version =" 1.9.0" />
28+ </ItemGroup >
2429
25- <ItemGroup >
26- <!-- GrpcServices is 'none' so that we do not need to depend on the grpc nuget package, and we only need protobuf support. -->
27- <Protobuf Include =" src\ protos\ demo.proto" GrpcServices =" none" />
28- </ItemGroup >
30+ <ItemGroup >
31+ <!-- GrpcServices is 'none' so that we do not need to depend on the grpc nuget package, and we only need protobuf support. -->
32+ <Protobuf Include =" src/ protos/ demo.proto" GrpcServices =" none" />
33+ </ItemGroup >
2934
30- <ItemGroup >
31- <Folder Include =" src\protos\" />
32- </ItemGroup >
35+ <ItemGroup >
36+ <Folder Include =" src\protos\" />
37+ </ItemGroup >
3338
34- </Project >
39+ </Project >
0 commit comments