.NetSDK – Build – Error – NETSDK1045 – “The current .NET SDK does not support targeting .NET Core 3.1. Either target .NET Core 3.0 or l ower, or use a version of the .NET SDK that supports .NET Core 3.1.”

Background A day or two short of a week ago, a family member ran into issues building a Microsoft  .Net application that he had downloaded from GitHub. Error Error Message - NETSDK1045 TroubleShooting Outline Project File Review Project File Project File ( .csproj ) Review Project File ( .csproj ) Text <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFrameworks>net452;netcoreapp3.1</TargetFrameworks> … Continue reading .NetSDK – Build – Error – NETSDK1045 – “The current .NET SDK does not support targeting .NET Core 3.1. Either target .NET Core 3.0 or l ower, or use a version of the .NET SDK that supports .NET Core 3.1.”

Microsoft.Net Web Site ( v2.5 ) – Error Message – “CS1002: ; expected”

Background Have a very old .Net website that is running .Net Framework 2.5. A couple of days added a new module to it. Generics The new module relies on generics. Declare List Array The code looks like this:-   Error Message Here is the error message Error Message - Text Error Message - Image   … Continue reading Microsoft.Net Web Site ( v2.5 ) – Error Message – “CS1002: ; expected”

.Net Core – Compilation Error – CS0101 – “The namespace already contains a definition” // “Type already defines a member with the same parameter types”

Background Attempting to build a .Net core application, but ran into a blocking error. Request So to compile a .Net Core application, from the command line, I will simply navigate to the solution folder and issue a "dotnet build" command.   Error Error Messages Textual error CS0101: The namespace [project] already contains a definition error … Continue reading .Net Core – Compilation Error – CS0101 – “The namespace already contains a definition” // “Type already defines a member with the same parameter types”