1- <Project Sdk =" Microsoft.NET.Sdk.Web" >
2-
3- <PropertyGroup >
4- <TargetFramework >net10.0</TargetFramework >
5- <ImplicitUsings >enable</ImplicitUsings >
6- <Nullable >enable</Nullable >
7- <OutputType >Exe</OutputType >
8- <NoWarn >CS1591;CA2016;CS7022</NoWarn >
9- <GenerateDocumentationFile >true</GenerateDocumentationFile >
10- </PropertyGroup >
11-
12- <ItemGroup >
13- <PackageReference Include =" AWSSDK.SimpleEmailV2" Version =" 4.0.11.5" />
14- <PackageReference Include =" BCrypt.Net-Next" Version =" 4.1.0" />
15- <PackageReference Include =" FastEndpoints" Version =" 8.0.0 " />
16- <PackageReference Include =" FastEndpoints.Generator" Version =" 8.0.0 " PrivateAssets =" all" IncludeAssets =" runtime; build; native; contentfiles; analyzers; buildtransitive" />
17- <PackageReference Include =" FastEndpoints.Security" Version =" 8.0.0 " />
18- <PackageReference Include =" FastEndpoints.Swagger" Version =" 8.0.0 " />
19- <PackageReference Include =" LettuceEncrypt" Version =" 1.3.3" />
20- <PackageReference Include =" MessagePack" Version =" 3.1.4" />
21- <PackageReference Include =" MongoDB.Entities" Version =" 24.1.1" />
22- </ItemGroup >
23-
24- <!-- exclude test related code from release build -->
25- <ItemGroup Condition =" '$(Configuration)' != 'Release'" >
26- <PackageReference Include =" FakeItEasy" Version =" 9.0.1" />
27- <PackageReference Include =" FastEndpoints.Testing" Version =" 8.0.0 " />
28- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 18.0.1" />
29- <PackageReference Include =" Shouldly" Version =" 4.3.0" />
30- <PackageReference Include =" xunit.v3" Version =" 3.2.2" />
31- <PackageReference Include =" xunit.runner.visualstudio" Version =" 3.1.5" PrivateAssets =" all" IncludeAssets =" runtime; build; native; contentfiles; analyzers; buildtransitive" />
32- <Content Update =" Tests\xunit.runner.json" TargetPath =" xunit.runner.json" />
33- </ItemGroup >
34- <ItemGroup Condition =" '$(Configuration)' == 'Release'" >
35- <Compile Remove =" **\Tests\**" />
36- <Content Remove =" **\Tests\**" />
37- </ItemGroup >
38- <!-- exclude test related code from release build-->
39-
40- <PropertyGroup >
41- <EnableSdkContainerSupport >true</EnableSdkContainerSupport >
42- <ContainerBaseImage >mcr.microsoft.com/dotnet/aspnet:10.0-alpine</ContainerBaseImage >
43- <ContainerRegistry >sjc.vultrcr.com</ContainerRegistry >
44- <ContainerRepository >MyProject/Api</ContainerRepository >
45- <ContainerImageTag >latest</ContainerImageTag >
46- <ContainerUser >root</ContainerUser >
47- <InvariantGlobalization >true</InvariantGlobalization >
48- </PropertyGroup >
49-
1+ <Project Sdk =" Microsoft.NET.Sdk.Web" >
2+
3+ <PropertyGroup >
4+ <TargetFramework >net10.0</TargetFramework >
5+ <ImplicitUsings >enable</ImplicitUsings >
6+ <Nullable >enable</Nullable >
7+ <OutputType >Exe</OutputType >
8+ <NoWarn >CS1591;CA2016;CS7022</NoWarn >
9+ <GenerateDocumentationFile >true</GenerateDocumentationFile >
10+ </PropertyGroup >
11+
12+ <ItemGroup >
13+ <PackageReference Include =" AWSSDK.SimpleEmailV2" Version =" 4.0.11.5" />
14+ <PackageReference Include =" BCrypt.Net-Next" Version =" 4.1.0" />
15+ <PackageReference Include =" FastEndpoints" Version =" 8.0.1 " />
16+ <PackageReference Include =" FastEndpoints.Generator" Version =" 8.0.1 " PrivateAssets =" all" IncludeAssets =" runtime; build; native; contentfiles; analyzers; buildtransitive" />
17+ <PackageReference Include =" FastEndpoints.Security" Version =" 8.0.1 " />
18+ <PackageReference Include =" FastEndpoints.Swagger" Version =" 8.0.1 " />
19+ <PackageReference Include =" LettuceEncrypt" Version =" 1.3.3" />
20+ <PackageReference Include =" MessagePack" Version =" 3.1.4" />
21+ <PackageReference Include =" MongoDB.Entities" Version =" 24.1.1" />
22+ </ItemGroup >
23+
24+ <!-- exclude test related code from release build -->
25+ <ItemGroup Condition =" '$(Configuration)' != 'Release'" >
26+ <PackageReference Include =" FakeItEasy" Version =" 9.0.1" />
27+ <PackageReference Include =" FastEndpoints.Testing" Version =" 8.0.1 " />
28+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 18.0.1" />
29+ <PackageReference Include =" Shouldly" Version =" 4.3.0" />
30+ <PackageReference Include =" xunit.v3" Version =" 3.2.2" />
31+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 3.1.5" PrivateAssets =" all" IncludeAssets =" runtime; build; native; contentfiles; analyzers; buildtransitive" />
32+ <Content Update =" Tests\xunit.runner.json" TargetPath =" xunit.runner.json" />
33+ </ItemGroup >
34+ <ItemGroup Condition =" '$(Configuration)' == 'Release'" >
35+ <Compile Remove =" **\Tests\**" />
36+ <Content Remove =" **\Tests\**" />
37+ </ItemGroup >
38+ <!-- exclude test related code from release build-->
39+
40+ <PropertyGroup >
41+ <EnableSdkContainerSupport >true</EnableSdkContainerSupport >
42+ <ContainerBaseImage >mcr.microsoft.com/dotnet/aspnet:10.0-alpine</ContainerBaseImage >
43+ <ContainerRegistry >sjc.vultrcr.com</ContainerRegistry >
44+ <ContainerRepository >MyProject/Api</ContainerRepository >
45+ <ContainerImageTag >latest</ContainerImageTag >
46+ <ContainerUser >root</ContainerUser >
47+ <InvariantGlobalization >true</InvariantGlobalization >
48+ </PropertyGroup >
49+
5050</Project >
0 commit comments