Posts

Showing posts with the label .NET Source Code Analysis

Donate

.NET 5 - CA1416: This call site is reachable on all platforms. is only supported on Windows 7.0 and later

Image
Hi All, Our software architect just recently upgraded our custom class library that contains common data access classes, custom utilities and functions for our day to day tasks from .NET Framework 4.7x to .NET 5. Since we are only deploying our applications to windows users, he set the TargetFramework value to net5.0-windows in .csproj file. <Project Sdk= "Microsoft.NET.Sdk" > <PropertyGroup Label= "Globals" > <SccProjectName>SAK</SccProjectName> <SccProvider>SAK</SccProvider> <SccAuxPath>SAK</SccAuxPath> <SccLocalPath>SAK</SccLocalPath> </PropertyGroup> <PropertyGroup> <TargetFramework>net5.0-windows</TargetFramework> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <UseWPF>true</UseWPF> <PackageId>Utilities.XYZLibNET</PackageId> <Version>1.0.0.3</Version> <Authors>Development Te...

Donate