Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
AnyCPU/
x64/
x86/
bld/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetCoreVersions)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PlatformTargets> (plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is <PlatformTarget> (singular). The fix should use <PlatformTarget>AnyCPU</PlatformTarget> or <PlatformTarget>$(Platforms)</PlatformTarget>.

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>
<PropertyGroup Label="NuGet Properties">
<Title>Microsoft.Omex.Extensions.Diagnostics.HealthChecks.AspNetCore</Title>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetCoreVersions)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PlatformTargets> (plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is <PlatformTarget> (singular). The fix should use <PlatformTarget>AnyCPU</PlatformTarget> or <PlatformTarget>$(Platforms)</PlatformTarget>.

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>
<PropertyGroup Label="NuGet Properties">
<Title>Microsoft.Omex.Extensions.Diagnostics.HealthChecks</Title>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetCoreVersions)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PlatformTargets> (plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is <PlatformTarget> (singular). The fix should use <PlatformTarget>AnyCPU</PlatformTarget> or <PlatformTarget>$(Platforms)</PlatformTarget>.

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>
<PropertyGroup Label="NuGet Properties">
<Title>Microsoft.Omex.Extensions.Hosting.Services.Remoting</Title>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetCoreVersions)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PlatformTargets> (plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is <PlatformTarget> (singular). The fix should use <PlatformTarget>AnyCPU</PlatformTarget> or <PlatformTarget>$(Platforms)</PlatformTarget>.

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>
<PropertyGroup Label="NuGet Properties">
<Title>Microsoft.Omex.Extensions.Hosting.Services.Web</Title>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetCoreVersions)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PlatformTargets> (plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is <PlatformTarget> (singular). The fix should use <PlatformTarget>AnyCPU</PlatformTarget> or <PlatformTarget>$(Platforms)</PlatformTarget>.

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>
<PropertyGroup Label="NuGet Properties">
<Title>Microsoft.Omex.Extensions.Hosting.Services</Title>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetCoreVersions)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PlatformTargets> (plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is <PlatformTarget> (singular). The fix should use <PlatformTarget>AnyCPU</PlatformTarget> or <PlatformTarget>$(Platforms)</PlatformTarget> to reference the shared value from Directory.Build.props.

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>

<PropertyGroup Label="NuGet Properties">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetCoreVersions)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All 14 changed .csproj files use <PlatformTargets>$(Platforms)</PlatformTargets> (plural), but the correct MSBuild property to control the compiler's target architecture is <PlatformTarget> (singular). <PlatformTargets> is not a recognized SDK/MSBuild property and will be silently ignored at build time, meaning the platform constraint is effectively removed rather than explicitly set to AnyCPU. The intended replacement should be <PlatformTarget>AnyCPU</PlatformTarget> (or <PlatformTarget>$(Platforms)</PlatformTarget> to reference the shared property from Directory.Build.props).

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>
<PropertyGroup Label="NuGet Properties">
<Title>Microsoft.Omex.Extensions.Services.Remoting</Title>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PlatformTargets> (plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is <PlatformTarget> (singular). The fix should use <PlatformTarget>AnyCPU</PlatformTarget> or <PlatformTarget>$(Platforms)</PlatformTarget>.

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Diagnostics.HealthChecks.AspNetCore\Microsoft.Omex.Extensions.Diagnostics.HealthChecks.AspNetCore.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PlatformTargets> (plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is <PlatformTarget> (singular). The fix should use <PlatformTarget>AnyCPU</PlatformTarget> or <PlatformTarget>$(Platforms)</PlatformTarget>.

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Diagnostics.HealthChecks\Microsoft.Omex.Extensions.Diagnostics.HealthChecks.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PlatformTargets> (plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is <PlatformTarget> (singular). The fix should use <PlatformTarget>AnyCPU</PlatformTarget> or <PlatformTarget>$(Platforms)</PlatformTarget>.

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Hosting.Services.Remoting\Microsoft.Omex.Extensions.Hosting.Services.Remoting.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PlatformTargets> (plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is <PlatformTarget> (singular). The fix should use <PlatformTarget>AnyCPU</PlatformTarget> or <PlatformTarget>$(Platforms)</PlatformTarget>.

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.ServiceFabric.Actors" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PlatformTargets> (plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is <PlatformTarget> (singular). The fix should use <PlatformTarget>AnyCPU</PlatformTarget> or <PlatformTarget>$(Platforms)</PlatformTarget>.

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Hosting.Services.Web\Microsoft.Omex.Extensions.Hosting.Services.Web.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PlatformTargets> (plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is <PlatformTarget> (singular). The fix should use <PlatformTarget>AnyCPU</PlatformTarget> or <PlatformTarget>$(Platforms)</PlatformTarget>.

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Hosting\Microsoft.Omex.Extensions.Hosting.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(UnitTestTargetFrameworks)</TargetFrameworks>
<PlatformTarget>x64</PlatformTarget>
<PlatformTargets>$(Platforms)</PlatformTargets>

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<PlatformTargets> (plural) is not a recognized MSBuild/SDK property — it will be silently ignored. The correct property to set the compiler's target architecture is <PlatformTarget> (singular). The fix should use <PlatformTarget>AnyCPU</PlatformTarget> or <PlatformTarget>$(Platforms)</PlatformTarget>.

Suggested change
<PlatformTargets>$(Platforms)</PlatformTargets>
<PlatformTarget>$(Platforms)</PlatformTarget>

Copilot uses AI. Check for mistakes.
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.ServiceFabric.Actors" />
Expand Down