Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: limiting recursion as two interdependent values change c# Pin
Gerry Schmitz28-Aug-23 6:50
mveGerry Schmitz28-Aug-23 6:50 
GeneralRe: limiting recursion as two interdependent values change c# Pin
BillWoodruff28-Aug-23 11:08
professionalBillWoodruff28-Aug-23 11:08 
GeneralRe: limiting recursion as two interdependent values change c# Pin
BillWoodruff28-Aug-23 11:13
professionalBillWoodruff28-Aug-23 11:13 
GeneralRe: limiting recursion as two interdependent values change c# Pin
harold aptroot28-Aug-23 12:36
harold aptroot28-Aug-23 12:36 
GeneralRe: limiting recursion as two interdependent values change c# Pin
BillWoodruff28-Aug-23 22:48
professionalBillWoodruff28-Aug-23 22:48 
QuestionC# error when I try to run Pin
Member 1607362720-Aug-23 18:22
Member 1607362720-Aug-23 18:22 
AnswerRe: C# error when I try to run Pin
OriginalGriff20-Aug-23 18:27
mveOriginalGriff20-Aug-23 18:27 
AnswerRe: C# error when I try to run Pin
Richard Deeming20-Aug-23 21:01
mveRichard Deeming20-Aug-23 21:01 
Member 16073627 wrote:
The reference assemblies for .NETFramework,Version=v4.0 ...
ndp481-devpack-enu.exe
You have downloaded the developer pack for .NET Framework 4.8.1, whereas your error message says your project targets .NET Framework 4.0.0.

The page you've linked to doesn't provide a download for 4.0.0; this page[^] explains why:
Starting with Visual Studio 2022, Visual Studio no longer includes .NET Framework components for .NET Framework 4.0 - 4.5.1 because these versions are no longer supported. Visual Studio 2022 and later versions can't build apps that target .NET Framework 4.0 through .NET Framework 4.5.1. To continue building these apps, you can use Visual Studio 2019 or an earlier version.
According to this page[^], if you install VS2019 and select the ".NET 4 multi targeting pack" option, then you may be able to build .NET Framework 4.0 applications in VS2022. Otherwise, you'll need to stick with VS2019.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

QuestionHikVision Biometrics Pin
Icanus Tuiloma20-Aug-23 14:48
Icanus Tuiloma20-Aug-23 14:48 
AnswerRe: HikVision Biometrics Pin
Dave Kreskowiak20-Aug-23 17:16
mveDave Kreskowiak20-Aug-23 17:16 
GeneralRe: HikVision Biometrics Pin
Icanus Tuiloma20-Aug-23 18:11
Icanus Tuiloma20-Aug-23 18:11 
QuestionFormat integer with ToString("D2") in SqLite Pin
Edilson Lemos 202118-Aug-23 16:21
Edilson Lemos 202118-Aug-23 16:21 
AnswerRe: Format integer with ToString("D2") in SqLite Pin
Dave Kreskowiak18-Aug-23 16:52
mveDave Kreskowiak18-Aug-23 16:52 
GeneralRe: Format integer with ToString("D2") in SqLite Pin
Edilson Lemos 202118-Aug-23 17:36
Edilson Lemos 202118-Aug-23 17:36 
AnswerRe: Format integer with ToString("D2") in SqLite Pin
OriginalGriff18-Aug-23 18:31
mveOriginalGriff18-Aug-23 18:31 
QuestionFile csproj : how to create a nuget package with msbuild and with package dependencies ? Pin
chris_brabant16-Aug-23 1:42
chris_brabant16-Aug-23 1:42 
AnswerRe: File csproj : how to create a nuget package with msbuild and with package dependencies ? Pin
Richard Deeming16-Aug-23 3:11
mveRichard Deeming16-Aug-23 3:11 
GeneralRe: File csproj : how to create a nuget package with msbuild and with package dependencies ? Pin
chris_brabant16-Aug-23 4:00
chris_brabant16-Aug-23 4:00 
GeneralRe: File csproj : how to create a nuget package with msbuild and with package dependencies ? Pin
Richard Deeming16-Aug-23 4:14
mveRichard Deeming16-Aug-23 4:14 
GeneralRe: File csproj : how to create a nuget package with msbuild and with package dependencies ? Pin
chris_brabant16-Aug-23 4:48
chris_brabant16-Aug-23 4:48 
GeneralRe: File csproj : how to create a nuget package with msbuild and with package dependencies ? Pin
Richard Deeming16-Aug-23 21:14
mveRichard Deeming16-Aug-23 21:14 
GeneralRe: File csproj : how to create a nuget package with msbuild and with package dependencies ? Pin
chris_brabant16-Aug-23 21:33
chris_brabant16-Aug-23 21:33 
GeneralRe: File csproj : how to create a nuget package with msbuild and with package dependencies ? Pin
Richard Deeming16-Aug-23 21:52
mveRichard Deeming16-Aug-23 21:52 
Questionhow to edit and delete lines from a text file Pin
Edilson Lemos 202112-Aug-23 12:36
Edilson Lemos 202112-Aug-23 12:36 
AnswerRe: how to edit and delete lines from a text file PinPopular
OriginalGriff12-Aug-23 19:01
mveOriginalGriff12-Aug-23 19:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.