Is .Net Framework 4.8 compatible with Visual Studio 2017 - visual-studio

I am looking to see if there are any official mentions about .NET Framework 4.8 being compatible with Visual Studio 2017.
I can see that there is backwards compatibility between applications built with .Net Framework 4.8 to 4.5 as noted here but on the other side, looking at Visual Studio 2017 Support for .NET Development I don't see 4.8 being mentioned.
Installing it locally and checking, it looks like .Net Framework 4.8 is compatible to Visual Studio 2017, but I am still looking for a more official resource confirming that it is safe to use them together for development.

Yes, it's compatible.
Visual Studio 2017 was released before .NET Framework 4.8, so it makes sense that the original documentation of Visual Studio 2017 does not mention .NET Framework 4.8. In particular, the document you linked to mentions "05/31/2018" as its modification date, which is also before .NET Framework 4.8 was released (18 April 2019).
According to Microsoft's official "What's new in .NET Framework" page, .NET Framework 4.8 can be used in Visual Studio 2012 and higher:
You can target .NET Framework 4.8 in Visual Studio 2012 or later by installing the .NET Framework 4.8 Developer Pack.

Related

How to add .NET Core to Visual Studio 2015 Pro

I want to install .NET Core in Visual Studio 2015 Pro, to implement Service worker for Linux.
When I go to official download page of microsoft, they are showing everything confusing, not sure what to download.
See below screeshot
Please suggest how to install .Net Core?
Microsoft only supports .NET Core development on Visual Studio 2015 up to .NET Core 1.1, meanwhile .NET Core Worker Service is introduced on .NET Core 3.0. Since the only currently supported .NET Core with Worker Service is .NET 3.1, you will need to use .NET Core 3.1, which are only supported by the latest VS 2019. So either ask your company if they can provide you with the license for VS 2019 Pro, get VS 2019 Community if you're eligible, or otherwise use VS Code.
How to add .NET Core to Visual Studio 2015 Pro
TL;DR: you can't.
.NETCore 3.0 (now end of life) and 3.1 are only supported in VS 2019.
.NET Core 2.2 (the only other supported version) is only supported in VS 2017 & 2019.

NET Framework Version compatibility for Visual Studio Package

I have a visual studio package which currently targets .NET Framework version 4.5 and works with Visual Studio versions from 2012 up to 2019.
If I upgrade to .NET Framework 4.7.2, what does this mean for compatibility with different versions of Visual Studio?
Will it automatically make the package incompatible with older versions of Visual Studio (e.g. 2012, 2013 and 2015)?
if you install a specific version of .net framework you can see that in your target framework.
you can use this address to see all the .net SDK for visual studio
https://dotnet.microsoft.com/download/visual-studio-sdks?utm_source=getdotnetsdk&utm_medium=referral
you must attention, if you want to using .NetCore in your project you must have a newer version of Visual Studio like 2017 or 2019.
An answer for those who doesn't need compatibility deeper than 2017
(But still ended up here from a search engine.)
Check system requirements.
For example, Visual Studio 2017 Product Family System Requirements says that:
Visual Studio requires .NET Framework 4.7.2 to run, and this will be
installed during setup.
This means that we can be 100% sure that it's safe to target 4.7.2 when targeting VS 2017.
P.S.: The reason I limit backward compatibility to 2017 is I don't see any mentions of .NET framework in the system requirements of older versions, so this method won't help with targeting older versions.

Cannot target .NET Framework 4.7.2 in VS 2017 15.7.5

I have installed .NET Framework 4.7.2 from Microsoft's website. However, when I'm in Visual Studio 2017 (version 15.7.5 (currently the latest)) I cannot target Framework 4.7.2 even though it is installed on the computer. All other Frameworks are there.
When running the Visual Studio installer there is only the option to install up to 4.7.1.
Does VS 2017 15.7.5 literally not support targetting project to 4.7.2 yet or what might be going on here?
For developing with .NET Framework 4.7.2, the .NET Framework Dev Pack must be installed, not just the runtime.
Currently it can be found at Download .NET Framework 4.7.2, but that location is likely to change in future.

ASP.NET Core 2.1 on Visual Studio 15.7 Final

I've been working on my ASP.NET Core 2.1 project using the preview version of Visual Studio 15.7.x
Looks like VS 15.7 is now final. Can we now use that instead of preview versions of VS?
I've had a lot of issues with the preview versions and would love to switch to a stable version of VS.
According to Announcing .NET Core 2.1 RC 1 on .NET Blog:
You can develop .NET Core 2.1 apps with Visual Studio 2017 15.7,
Visual Studio for Mac 7.5, or Visual Studio Code.
The Visual Studio side of the equation is tooling. If Visual Studio 15.7 has the ASP.NET Core 2.1 tooling included in the release, then yes you can use it to develop ASP.NET Core 2.1 apps. However, if the ASP.NET Core 2.1 code is still in flux, that means the tooling could change as well, so until the framework release is final, it's still a better idea to continue using the preview build of Visual Studio.
It's worth noting that ASP.NET Core 2.1 is conspicuously missing from the release notes. It's very likely that that support was stripped from 15.7 to allow the release of other necessary features that were ready to ship. I haven't updated myself yet, so I can't say for sure, but your question may be moot.

Can we develop .net framework 4.6.1 supporting office applications using Visual Studio 2013?

I have developed an outlook VSTO addin using VS 2008, supporting .net 3.5 . Now, I want to upgrade the .net framework version supported by my application to the latest .net 4.6.1 version. So, will I have to get Visual Studio 2015 for that, or any prior version will suffice?
you can target 4.6.1 .net framework with visual studio 2012 or later. You must install.NET Framework 4.6.1 Dev Pack.
https://www.microsoft.com/fr-fr/download/details.aspx?id=49978
Source :
https://msdn.microsoft.com/en-us/library/ms171868(v=vs.110).aspx

Resources