Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [.net-framework]

The .NET Framework is a software framework for Microsoft Windows operating systems. It includes a large library, and it supports several programming languages which allows language interoperability

36
votes
4answers
18k views

What version(s) of the .NET framework are included in windows 8?

If I install windows 8 what version(s) of the .NET framework will be installed before any auto-updating? What about after applying any automatic updates?
30
votes
2answers
60k views

How do I set an executable's working directory via the command line, prior to executing it?

If I run a program on the command line whose location is resolved through the Path environment variable, the program's working directory is generally set to its installation directory. I would like ...
30
votes
2answers
36k views

How can I compile a .NET project without having Visual Studio installed?

I want to compile a .NET/C# project, but I don't want to install Visual Studio to do this. What tools do I need and how can I compile the project?
22
votes
5answers
40k views

Do I need all Microsoft .NET Framework versions?

I have 4 Microsoft .NET Framework versions: 1.1 2.0 Service Pack 2 3.0 Service Pack 2 3.5 SP1 Do I need them all?
20
votes
2answers
70k views

Does Windows 7 have .NET 4 installed by default?

I offered software where .NET 4.0 is needed and promised, that Windows 7 already comes with this framework. If not, the user can use the integrated "Windows Update" function to install the framework. ...
18
votes
3answers
41k views

How do I install .NET framework 1.1 for Windows 7

The problem: Lord of the Rings Online required .NET framework 1.1 to be installed. It will not recongize other higher versions. Downloading the standalone installer yields exceptions at the end of the ...
16
votes
1answer
36k views

How to enable .NET Framework 3.5 on Windows 8 without downloading it?

Since I installed Windows 8 Preview on my personal computer, during the installation of some programs and drivers (Windows 7 ones) it started to pop me a message warning that .NET Framework 3.5 was ...
16
votes
4answers
27k views

What version of .NET am I running?

In Windows 7, how do I tell what version of the .NET framework I have installed? In previous operating systems, (i.e. Vista/XP), I was able to go to Add/Remove Programs and it'd show all the versions ...
14
votes
8answers
6k views

Why install for “just me” as opposed to “everybody”?

I'm using windows installer for a client's app, and they are complaining that sometimes multiple instances of an app appear on the computers they are using for testing. This problem has gone away ...
14
votes
4answers
142k views

How do I install .NET Framework 3.5 on Windows 7?

I need to install version 3.5 of the .NET Framework in Windows 7, but when I try to install it, it shows the following error: "Turn on/off .NET Framework" option in System Features I tried doing ...
13
votes
1answer
21k views

What is .NET Multi-Targeting Pack?

Installing Visual Studio installs bunch of .Net packages called .NET x Targeting Pack .NET x Multi-Targeting Pack .NET x Multi-Targeting Pack (ENU) Where "x" is stand for the .Net version number it ...
12
votes
3answers
50k views

200MB .mzz files in .NET 4.0 directory, what are they?

I am trying to make some space on a small C: drive and a search for large files has turned up two that I do not understand and cannot find a good description. C:\WINDOWS\Microsoft.NET\Framework\v4.0....
11
votes
3answers
5k views

Windows 8 asks DotNet 3.5 to install DotNet 3.5

While trying to install some tools in Windows 8, it showed me a nice message saying it requires DotNet framework. Well, it's fine. But the bad part is I have offline installers for v2.0 and v3.5. ...
11
votes
2answers
19k views

An application tells me I need .NET Framework 2.0.50727?

When trying to install an application, it is asking for .NET Framework 2.0.50727. Where do I get the right installer?
10
votes
7answers
16k views

What does the percent CPU mean?

I am watching my CPU percent utilization by a process. How does a process use only 50% CPU? Doesn't a process use 100% then 0%, then 100%? Its not like every other instruction is a different program.
10
votes
5answers
57k views

error 1325 <username> is not a valid short File Name

While trying to install *.msi or file on a windows 7 operating system I got the following error: error 1325 <username> is not a valid short File Name How can I fix this issue so the install ...
9
votes
4answers
7k views

Quickest way to find the latest installed version of the .NET framework?

I always forget what version(s) of the .NET framework (and their service packs) I've got installed. Whenever I need to find out, I end up trawling through a long list of updates performed by Windows ...
9
votes
1answer
1k views

Meaning of \b in .Net Regular Expressions [closed]

Microsoft has a nifty quick reference card for .Net Regular Expressions. But it seems to list \b as both matching Backspace and also matching "On word boundary". Which is it? Can \b really do both? ...
9
votes
1answer
9k views

Project is targeting .Net framework 4.6 which is not installed [duplicate]

...but it is. Co-worker has installed VS 2015 (I am using 2013). He created a project targeting .net 4.6. I grabbed the project from TFS and tried to open it, but got the following error message "...
8
votes
8answers
198k views

Install Net Framework 3.5 SP1 Offline on Server 2012 R2

I need to to install Net Framework 3.5 SP1 on Server 2012 and I know of the method which requires the installation media. Installing .NET framework 3.5 on windows server 2012 However, I do not have ...
8
votes
4answers
72k views

How can I install .NET framework 3.5 on XP machines without internet connection?

I want to install .NET framework 3.5 on a couple of machines that do not have internet access. If I install the "no internet access"-package it still wants to download something. How can I figure out ...
8
votes
5answers
4k views

Is .NET upgraded as part of Windows Update?

Wikipedia provides short and long lists of the default versions of the .NET framework on various versions of Windows. Are any of these upgraded automatically through Windows Update? I understand that ...
8
votes
1answer
29k views

.NET 3.5 installation comes up with Error 0x800F0906, then 0x800F0081F using dism

I've recently tried installing .NET 3.5 for an application on Windows 8.1. I used the OS's popup thing to download/install .NET 3.5 and always get error code 0x800F0906. Upon further research, I ...
8
votes
2answers
29k views

Error 0x800F0906 while installing .Net 3.5 on Windows 8

Windows 8 comes with the .NET 4.5 framework as standard but, as part of being able to develop and deploy our applications, I need to also install the .NET 3.5 framework, so I can build applications ...
8
votes
2answers
13k views

.Net Framework 3.5 SP1 on Windows 7 not recognized by installers

Windows 7 Ultimate RTM already comes with the .Net Framework 3.5 SP1 preinstalled. However, some installers like the Azure tools and SDK 1.1 seem to check for it and fail: Windows Azure Tools for ...
8
votes
1answer
14k views

Prevent .NET Runtime Optimization Service from running on battery?

When I opened my laptop this morning, it had rebooted itself (after installing updates). Now the .NET Runtime Optimization Service (ngen?) is using quite a bit of CPU while the computer is on battery....
7
votes
4answers
20k views

Where is the MachineKeys folder in Windows 7?

I know where the MachineKeys folder in XP. Anybody can tell me where it is in Windows 7?
7
votes
1answer
26k views

Install .NET Framework 4 (or 4.6) in Windows Server 2016

I was trying to test our products to make sure that they are compatible with Windows Server 2016. And during some testing, I mistakenly thought that I can simply "downgrade" .NET framework from 4.6 to ...
7
votes
2answers
653 views

Can I install mono alongside .NET?

I'm currently a .NET developer, and I want to test my applications with mono to make sure for cross-platform compatibility, but don't want to give up the offical .NET implementation. Can I install it ...
7
votes
2answers
17k views

.NET Framework 4.5 installed but not found in regedit

I just installed .NET Framework 4.5 and restarted the system. It shows installed in control panel but could not find in registry.
7
votes
1answer
187 views

How to tell whether I need to keep a version of .net framework?

Overtime I accumulated a bunch of .net versions. I'm rather certain some of them are not used anymore by any installed application. How do I check that? In other words, is there a (simple) tool, which ...
7
votes
1answer
7k views

How do I change another computer's network settings from Powershell and/or .NET?

How do I change another computer's network settings from Powershell and/or .NET? Target computers in question are in the same domain as mine and I am an administrator on all machines involved. Any ...
7
votes
1answer
6k views

What is this NETFXRepair.exe in my %windir%\Microsoft.NET directory?

In my %windir%\Microsoft.NET directory I see NETFXRepair.exe with a lot of NETFXRepair.xxxx.dll files. What are these files used for?
6
votes
4answers
2k views

How often do users change their IP address (average time needed)?

Basically, i need to know how long (on average) and ip address is used per user, this can be US-only stats or World-Wide stats, if you have a source please state it. If its your own data please let us ...
6
votes
3answers
21k views

Error installing .NET Framework 3.5 on Windows 10

Since I upgraded to Windows 10 I'm no longer a "real" administrator on my personal computer and I can't download anything from Windows Update. When I try to install .NET 3.5 I get Error ...
6
votes
2answers
44k views

Why won't the Microsoft .NET Framework NGEN v4.0.30319_x64 service start?

I just installed the .NET 4.0 framework and see Microsoft .NET Framework NGEN v4.0.30319_x64 listed in services.msc. It is set for Automatic-Delayed Start. However, it is in a stopped state and when ...
6
votes
1answer
5k views

How to remove .NET Framework 4.5 Beta

How can you remove .NET Framework 4.5 Beta (either manually or using a cleanup tool)?
6
votes
3answers
4k views

Windows 7 Sub-Folders hidden in “Program Files” directory

I have Google searched for an hour now and I am confounded. I am using InnoSetup to install a .NET Winforms application that creates directories and folders on the fly. (I have set the folder options ...
6
votes
2answers
7k views

ngen.exe high cpu windows 10 - Assemblies Uninstall Endless Loop

Whenever I leave my computer idle for a few minutes I come back and my Process Explorer shows that 'ngen.exe' is running and occupying 2 of my 4 cpus. Question: Is there a way to turn NGEN.exe off ...
6
votes
3answers
6k views

I can't install .NET framework. System crash

I ran into some trouble while trying to install .net framework. My laptop (sony vaio vgn cr41z if it matters) running on windows 7 x64, just shuts down during the installation process. No blue screen, ...
6
votes
3answers
21k views

How to resolve Internal Errors in the .NET Runtime

Several weeks ago, my company laptop started having some strange problems. I could no longer launch the Microsoft Developer Web Server (via Visual Studio->Debug). I later figured out that I couldn't ...
6
votes
1answer
152 views

Is this an error or a malware?

I'm running Windows 7 64 bit. Yesterday I asked this question. No need to read it. Right now, my anti virus, detects no virus however I am experiencing 2 issues: When i start windows, the screen goes ...
6
votes
6answers
35k views

How do I repair the .Net Framework on Windows 7

So I ran spyware doctor and it had a bunch of malware stuff. I clicked "Remove" but failed to create a restore point first. Now my websites running on .net 2.0 as well as visual studio 2008 are not ...
6
votes
3answers
21k views

Error 0x800f0922 installing .NET 3.5 on Windows 8

I'm trying to install .NET 3.5 on my Windows 8 box and it keeps throwing Error 0x800f0922 at me. From what I've read on answers.microsoft.com and StackOverflow I gather the easiest way to fix this is ...
5
votes
2answers
5k views

.NET 4.5 for Windows Embedded POSReady 2009

Is it possible to install .NET 4.5 on Windows Embedded POSReady 2009? Essentially I would like to run WPF 4.5 applications. I cannot find anything online, but as far as I understand POSReady 2009 ...
5
votes
2answers
784 views

.Net Framework installation statistics

I have tried my best to find something relevant, but failed. I quit Windows development almost 8 years ago, so my knowledge is pretty outdated. Back then there were still huge amounts of Windows ...
5
votes
2answers
5k views

Visual Studio doesn't recognize .NET Framework 4.6.2 is installed

I've installed .NET Framework 4.6.2 via the web installer, and everything looked good. However, after I restarted and opened up Visual Studio, it reported that 4.6.2 was not installed: I checked ...
5
votes
1answer
29k views

Where is .NET Framework 4.5 directory located?

I installed .NET Framework 4.5 on Windows 7 Enterprise SP1 64 bit. When I looked in C:\Windows\Microsoft.NET\Framework (Framework64) directory, I did not see any directory containing files of .NET ...
5
votes
3answers
84k views

.NET 4.6 Re-installation on Windows 10

I recently upgraded from Windows 8.1 to Windows 10. Then I uninstalled .NET Framework 4.6 in Windows 10. It's not appearing in Programs and Features anymore. I want to reinstall it, and I tried to ...
5
votes
3answers
5k views

How do I make .NET Framework 3.5 SP1 install quietly?

I am trying to install, as part of my chained bootstrapper installation project, .NET Framework 3.5 SP1. But, when you run the installer, even by itself, with /q /norestart, it is anything but quiet. ...