Questions tagged [.net-4.8]

For questions specific to the usage and features of version 4.8 of Microsoft's .Net framework.

999 questions
9
votes
2 answers

Is it possible to work with a .NET 4.8 Library from .NET 6?

I need to reference a proprietary-client library that only works with .NET 4.8, there is no other option, this is a very narrow vendor library and we have to use it with .NET 48. The new app that is being developed is a service application and will…
codea
  • 1,439
  • 1
  • 17
  • 31
9
votes
0 answers

.NET Framework obstructing my project being pushed to github

I am trying to push a project to github for the first time but I keep getting a prompt from git-credential-manager-core.exe - This application could not be started with the message: This application requires one of the following versions of the .NET…
9
votes
3 answers

How to use HttpClient in asp.net webforms

I've spent quite a bit of time researching, but yet to find a reliable answer, so I'd like to start a fresh, new question. What is the guidance for using the HttpClient class in an ASP.NET webforms based website? Note, this is not an MVC site, it's…
Margo Noreen
  • 396
  • 1
  • 3
  • 12
8
votes
1 answer

Is it possible to use class library written in CORE 6 in another core 6 and/or NET 4.8 framework project

I have a class library using core 6.0 net6.0 enable enable I…
Frenchy
  • 16,386
  • 3
  • 16
  • 39
8
votes
0 answers

How can I use existing .net framework 4.8 class library in .NET 6 project?

We have .NET 6 Blazor Server-side project in Visual Studio 2022. We would like to use .Net Framework 4.8 class library in .NET 6. In this class library, we are using System.Windows.Form and we cannot recompile the class library with .NET Standard…
Jay Vansjalia
  • 83
  • 1
  • 6
8
votes
2 answers

How can I use TimeOnly and DateOnly in .NET Framework 4.8

I't doesn't matter what code I post because .NET 6 has TimeOnly and DateOnly. Is there a way I can use it in .NET Framework 4.8? Can I add a reference somewhere or is it not possible to be able to use DateOnly and TimeOnly. Here is the code that I…
Johan
  • 93
  • 1
  • 4
8
votes
1 answer

SharedLibrary.dll was not found and mrt100_app.dll was not found. Reinstalling the program may fix this issue

I am getting this error when I try to run the UWP application exe file. I have tried to install the files manually, I have updated the visual studio, I have also updated the .Net Framework on my machine. I also checked the path where the file lies…
Roshni Gandhi
  • 336
  • 4
  • 13
8
votes
3 answers

Best practices for managing Web API JWT token in another Web API

My Project: Web API project - ASP .NET Framework 4.8 Problem? The code flow is as follows: 1.) The API is called -> it must call another API -> 2.) Get JWT authentication token -> 3.) Calls the desired method. The problem is if my API is called 100…
G.Dimov
  • 2,173
  • 3
  • 15
  • 40
8
votes
2 answers

Code runs 30% slower in .Net Core compared to .Net Framework - any way to speed things up?

Background We are currently going though the process of converting our codebase from .Net Framework 4.8 to .Net Core 3.1. Some of the code is very performance-sensitive. One example is some code that applies a Hamming window filter; I was somewhat…
Matthew Watson
  • 104,400
  • 10
  • 158
  • 276
8
votes
3 answers

Is it possible to Install .net 4.7 version on my machine when .net 4.8 is already installed?

I have the following .net versions on my machine. I started working on a .net project which's targetframework is 4.7. When I tried to install .net 4.7, I got this error ".NET Framework 4.7 or a later update is already installed on this computer." Is…
marvelTracker
  • 4,691
  • 3
  • 37
  • 49
7
votes
0 answers

Net framework 4.8 install failed: Cannot find object or property

I've tried to install Net Framework 4.8 but the installation returned Install did not succeed, Cannot find object or property I've tried many solutions, Like using the Net framework repair tool, Offline installer, etc. None of them work, so I've…
RovenA
  • 81
  • 1
  • 1
  • 3
6
votes
2 answers

Using coverlet with. Net Framework generates an error: The expression "[System.Version]::Parse('')" canot be evaluated

I wrote a very simple C# .Net Framework application and added some unit tests. Now, trying to check the coverage using coverlet. Getting error MSB4184. The expression "[System.Version]::Parse('')" canot be evaluated. Version string portion was too…
Anel
  • 61
  • 1
  • 2
6
votes
1 answer

Can a .NET Core 5.0 assembly use a .NET Framework 4.8-targeted assembly?

My C# assemblies currently all target .NET Core 3.1. They all use my C++/CLI assembly (call it "MySdk") that targets .NET Framework 4.8. This works fine. Today I tried updating the C# assemblies to .NET 5.0. Suddenly, none of them even see the…
Joe
  • 5,394
  • 3
  • 23
  • 54
6
votes
2 answers

How to add Fonts to Windows Docker container/image?

I have a console application that is built on .NET Framework v4.8. I am trying to run it in Azure Container Instances(ACI) using the docker image. I have created a docker image locally and pushed it to ACI and it is running successfully. Now I am…
6
votes
2 answers

Error in publishing project with MSBuild after upgrading from .Net Framework 4.7 to 4.8

I am upgrading an Asp.Net Website project to .net framework 4.8 from 4.7. After upgrading, the project builds successfully from visual studio and also running without any issue on local machine. When same project is published using MSBuild I am…
aksvinu
  • 147
  • 10
1
2
3
66 67