I'm having problem with LC.exe when building our application in Visual Studio 2013. When I started searching for LC.exe, I found the latest one installed under "c:\Program Files(x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools". I have both 4.5.1 and 4.5.2 installed. But I don't see a "NETFX 4.5.2 Tools" folder anywhere. When I uninstalled 4.5.1, all those tools are gone, and the latest LC.exe I can get is for .Net 4.5, which I also have installed. But where is the one installed by 4.5.2? I've tried removing and reinstalling 4.5.2 and still cannot find any tools from it. Does this mean I have to have both 4.5.1 and 4.5.2 installed? Is there a list of files (and installed paths) installed by each of the .Net pack? I understand from 4.0 onward .Net install should be in-place replacement, but I think the LC.exe in 4.5.1 path is 4.5.1, not 4.5.2 version (with version number 4.0.30319.33440).
Thanks for any info or pointers!
the latest LC.exe is contained in Windows SDK for Windows 8.1, which is installed by Visual Studio 2013. Unfortunately, it is installed under the folder name "NETFX 4.5.1 Tools". This is confusing because when .Net environment 4.5.2 comes out, people would expect a folder of "NETFX 4.5.2 Tools". Turns out, there is NO 4.5.2 tools. A page from MSDN explains what's included in where fairly clearly: http://blogs.msdn.com/b/dotnet/p/dotnet_sdks.aspx#.
Related
I've searched the interwebs for a solution to this to no avail. I cannot for the life of me discover how to make a .NET 6.0 project in VS 2022. The weird part is when I go to the installer, the runtime for 6.0 is selected as installed. I cannot find an SDK option in the installer's list of packages however. I have installed the SDK for 6.0 and it shows as present when I check "dotnet --info." However, whenever I go to VS to create a project the latest version of .NET listed is 4.8.
Thanks!!
the project you build is targeting . Net Framework, which latest version is 4.8. For the .Net 6 you mentioned is more likely .Net Core6.0. Please refer to the related link:.Net Framework
Previously the highest .NET framework profile I had installed with Visual Studio 2013 was 4.5x. I then downloaded and ran the offline installer for 4.61, found here:
https://www.microsoft.com/en-us/download/details.aspx?id=49982
After the installation completed successfully (no error reports and nothing in the system event logs), I restarted the system as instructed and reloaded VS2013. However, I still don't see anything higher than 4.5x in the list of available frameworks when I choose New Project. Can anyone tell me how to fix this?
UPDATE: I already had installed the 4.6 pack using the same procedure before installing the 4.61 pack. Neither 4.6 or 4.61 are showing in the framework choice drop-down when creating a new project.
To develop with .NET 4.6, you'll need to install the .NET Framework 4.6 Targeting Pack after installing the 4.6 framework:
The .NET Framework 4.6 Targeting Pack is a package that enables developers to build applications targeting the .NET Framework 4.6 using either Visual Studio 2013, Visual Studio 2012 or third party IDEs. You need to download and install the .NET Framework 4.6 prior to installing the targeting pack.
With .NET 4.6.1, the framework, targeting pack, language pack and intellisense updates are all bundled together in the .NET Framework 4.6.1 Developer Pack.
The Microsoft .NET Framework 4.6.1 Developer Pack is a single package that bundles the .NET Framework 4.6.1, the .NET 4.6.1 Targeting Pack and the .NET 4.6.1 SDK. The corresponding language pack for Dev Pack contains the .NET Framework 4.6.1 language pack, .NET 4.6.1 SDK language pack and the Intellisense files. Developers can use this package to install all the different components for .NET 4.6.1 and build applications targeting the .NET Framework 4.6.1 using either Visual Studio 2015, Visual Studio 2013, Visual Studio 2012 or third party IDEs.
For my project I'm required to target Microsoft .NET Framework 4.5, but am unable to do so.
Installed programs:
Whenever I try to install .NET Framework 4.5, it tells me it's already installed:
Make sure you have installed the latest update to Visual Studio 2013 which is Update 4. If it is installed, then do another install but select repair. Restart if necessary and try again.
I am learning C# and have installed Visual Studio 2012 on a PC running Windows 7.
I can now browse to the C:\Windows\Microsoft.NET directory.
My first question is:
Does Visual Studio ship with the .NET directory, or does Visual Studio just access the directory that already exists on a computer running Windows 7?
My second related question is:
The highest numbered folder at the location C:\Windows\Microsoft.NET\Framework\ is v4.0.30319. This confuses me because the version number associated with Visual Studio 2012 in the table at https://en.wikipedia.org/wiki/.NET_Framework#History is 4.5.50709.17929.
So why do I not have a folder with that higher version number if I installed Visual Studio a couple of weeks ago?
Windows 7 comes with .NET 3.5 SP1. Visual Studio does not ship with .NET.. however, .NET ships with Visual Studio (obviously, so you can develop on it).
The version number didn't change between 4 and 4.5 .. I cannot remember the reason why (I think it had something to do with it being an in-place upgrade.. or something). This is why the folder version numbering is the same.
EDIT:
You can look here for a better explanation of the .NET 4/4.5 versioning and what the exact revision numbers mean: https://stackoverflow.com/a/12972517/1517578
Visual studio is just an IDE that requires the .NET framework. Lots of applications require the .NET framework so there's a chance that you could have had .NET installed before installing VS. Installing VS, however, will ensure you have the correct .NET runtime for your version.
.NET 4.5 is an in place replacement to the .NET 4.0 framework so the folder will still be called v4.0.... I guess this is a way to avoid problems with systems built on .NET 4.0
There is a good article here about .NET 4.0 and .NET 4.5
Visual Studio ships with the .NET directory and it also accesses the directory if that already exists. One can install .Net 4.5 separately too
The highest numbered folder v4.0.30319 is the version of the CLR and not the .Net Libraries. .Net v4.5 replaces v4.0 similar to the way v3.0, v3.5 and v3.5SP1 replace v2.0 still the CLR version remains v2.0.xxxxx. This is the reason why you don't have a folder with higher version number.
It comes with windows os. If you go to Turn Windows features on or off you will see the Microsoft .NET framework
My problem is that my C# .Net executable is running on machine which has Visual Studio 2010 installed, however it is not responding where only .Net 4.0 client profile is installed.
What could be the reason? I've tried with dependency walker but couldn't found anything.
While all of the other answers are correct, you might take a look on the "my project" page in your solution. There you can find (and eventually change) the used net versions. That is better than trying all net versions...
The client profile is a small and in most cases insufficient subset of the .NET runtime. Install the full .NET 4.0 runtime instead.
Try installing 4.5 Framework 3.5 and 3.0 frameworks also and see if it works.
http://www.microsoft.com/en-in/download/details.aspx?id=30653
That's because that VS2010 has and supports .NET Framework versions (2.0, 3.0, 3.5, 4.0). So try to instal all of them and also 4.5 Framework on that machine. Also, what you could do is to see on which Framework version have you made your project and you'll know which one you're machine is missing.
Try installing the "Microsoft Visual C++ 2010 Redistributable Package" on the machine where the executable is not working.