Skip to content

Commit efff51f

Browse files
committed
Suppress build warnings for trimming and version-specific RIDs
1 parent ad1e707 commit efff51f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

PowerShell.MCP.Proxy/PowerShell.MCP.Proxy.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<Version>1.3.9.0</Version>
9+
<NoWarn>$(NoWarn);IL2026;IL2067;IL2075;NETSDK1206</NoWarn>
910

1011
<!-- Single File デプロイ設定 -->
1112
<PublishSingleFile>true</PublishSingleFile>

PowerShell.MCP/PowerShell.MCP.csproj

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

33
<PropertyGroup>
44
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<Version>1.3.9.0</Version>
8+
<NoWarn>$(NoWarn);NETSDK1206</NoWarn>
89
</PropertyGroup>
910

1011
<ItemGroup>

0 commit comments

Comments
 (0)