Skip to content

Commit 60ad11f

Browse files
committed
.
1 parent 0fb086e commit 60ad11f

4 files changed

Lines changed: 211 additions & 178 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
22
COPY . /build
33
WORKDIR /build
44
RUN dotnet restore
55
RUN dotnet publish SMTP2Graph -c Release -o /SMTP2Graph --no-restore
6-
FROM mcr.microsoft.com/dotnet/runtime:9.0
6+
FROM mcr.microsoft.com/dotnet/runtime:10.0
77
WORKDIR /SMTP2Graph
88
COPY --from=build /SMTP2Graph .
99
ENV TENANT_ID=""

SMTP2Graph/SMTP2Graph.cs

Lines changed: 0 additions & 176 deletions
This file was deleted.

SMTP2Graph/SMTP2Graph.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
<UserSecretsId>d63d6915-df69-48cf-8d6c-88fd2de116f1</UserSecretsId>
99
</PropertyGroup>
1010

11+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
12+
<NoWarn>1701;1702;CA1873</NoWarn>
13+
</PropertyGroup>
14+
15+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
16+
<NoWarn>1701;1702;CA1873</NoWarn>
17+
</PropertyGroup>
18+
1119
<ItemGroup>
1220
<PackageReference Include="Azure.Identity" Version="1.21.0" />
1321
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="10.0.6" />

0 commit comments

Comments
 (0)