.net-framework-version Questions

3

I'm using Visual Studio 2019. When I change the .NET Framework version of a project, either upgrading or downgrading, Visual Studio automatically creates this in the XML of the csproj file: <Tar...
Choroiditis asked 10/5, 2022 at 18:52

7

I have a WinForms application which I want to translate into multiple languages. However, I do not have any experience with localizing a WinForms app, and I find very contradictory information abou...
Prophylactic asked 9/8, 2009 at 11:44

10

Solved

Is there anyway to open and work on .net framework 4.5 project in visual studio 2022. May be problem is not with VS2022 but as .net framework 4.5 developer pack is not available any more .. my proj...
Topmost asked 18/11, 2021 at 15:7

5

Solved

I am trying to migrate our application to the newer version of .NET Framework. From current version of 4.5 to 4.6.1 Reason, why we are migrating to version 4.6.1 instead of 4.7 or 4.6.2 is, that ...
Picrotoxin asked 29/5, 2017 at 7:44

1

Detected package version outside of dependency constraint: Microsoft.NET.Sdk.Functions 1.0.13 requires Newtonsoft.Json (= 9.0.1) but version Newtonsoft.Json 10.0.1 was resolved. I am in need of u...
Albertson asked 4/6, 2018 at 10:28

16

Solved

I have an old dll that was compiled against the .NET framework and deployed. I am not sure which version of the .NET framework it was compiled against. I am wondering how I can determine which vers...
Monopolize asked 11/8, 2010 at 17:11

5

I have C# project that has to target .NET 3.5. framework and I have several nuget packages I'd like to install in the given project. How to find out, for a given nuget package, which .NET framewo...
Dionisio asked 13/8, 2015 at 7:4

17

I can't run my unit tests. I have the next error: Your project does not reference ".NETFramework,Version=v4.6.2" framework. Add a reference to ".NETFramework,Version=v4.6.2" in the "TargetFra...
Harriman asked 16/10, 2018 at 10:49

3

Solved

I'm trying to get .Net Framework and NetStandard assemblies to communicate with each other (to learn what is possible). I currently have four projects, two Framework 4.5.2 projects and two NetStand...
Boaten asked 24/7, 2017 at 23:46

10

I have a .Net Core project web project, and for various reasons want to convert it to a .Net Framework project. Is there an easy way to do this, or do I have to start again and import the code fro...
Antiscorbutic asked 6/3, 2017 at 10:24

2

One of the biggest hurdles when migrating from .NET Framework to .NET 5+ is having to convert all csproj's to the new SDK-style format. There is no tool to automate this, it has to be done manually...
Hominoid asked 17/1, 2023 at 21:44

2

Solved

I'm kind of new to .NET area. There is big confusion about all these which I really couldn't figure out. I searched a lot but couldn't find any simple and straight forward explanation for .NET (als...
Induna asked 23/7, 2023 at 12:48

5

Solved

I have recently upgraded my Visual Studio environment, and now I seem to have a problem with my .Net framework, as you can see in following error message: 9> C:\Program Files (x86)\Microsoft Vis...
Hagiography asked 20/3, 2018 at 11:39

3

Solved

After consuming .net standard projects in a .net framework(4.6) console application, the dependencies of the .net standard projects are not copied into the output directory. This results in run tim...
Jagir asked 3/7, 2018 at 12:59

3

Solved

please help. I have installed quite a lot of framework and development pack. as you can see in the image. unfortunately I want to access an ancient project. this project runs on .net framwork 4.5,...

25

Solved

The project is an ASP.NET MVC Web App targeting the .NET Framework 4.6.1. All of a sudden (some NuGet packages were upgraded) I started to get the following error during runtime: CS0012: The ty...
Barricade asked 19/4, 2018 at 16:1

3

MsBuild.exe MyProject.csproj /p:Configuration=Release /p:DebugType=None /p:Optimize=True /p:DeployOnBuild=true /p:PublishProfile=MyPublishProfile /p:VisualStudioVersion=16.0" We used to run ab...

2

Solved

My operating system is Windows 10 Pro. I have .NET Framework 4.8 installed. I confirm it 2 ways: Open Registry Editor then go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\...
Warship asked 20/5, 2022 at 11:30

6

Suddenly, after adding some NuGet packages (mostly, related to ASPNET Identity), it started showing this error: FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=4.1....
Unconformity asked 29/1, 2018 at 14:46

1

Solved

I have already installed .NET Framework 4.7.2 as shown in the screenshot below. But when I create a new project (or try to add a new project within an existing solution), the target type for .NET F...

2

Solved

I have installed Visual Studio 2022 on my PC today. I have an old app, which targets .NET 4.5. I see this error when attempting to build/compile the project: "Error MSB3644 The reference assem...
Retaretable asked 20/4, 2022 at 14:48

2

Solved

I have a WPF application running with .NET 4.6.1. As .NET 4.6.1 has reached it's end of support I'd like to upgrade the .NET version. I wonder which .NET version to choose to achieve the "long...

3

Solved

I am migrating the .netframework 4.7.2 class library to .netstandard 2.0 library. ConfigurationManager is used in the .netframework class library to read the app settings. Any alternative optio...
Freberg asked 30/4, 2020 at 17:22

1

Solved

I am new to .NET Framework and Visual Studio. On my Visual Studio Community 2022 i've found two solution from project panel named Console App. One of them has the extended information: (.Net Framew...

2

Solved

I write a demo program, to use .NET Framework Web Api2. For some reason, I have to use .NET Framework rather than .Net Core. But I've got a problem, how to modify the port? It's always 57518. I wan...
Notebook asked 15/2, 2019 at 10:13

© 2022 - 2024 — McMap. All rights reserved.