I have downloaded and installed Visual studio .Net Framework 4.8 .
But ,How to add this .Net Framework in Visual studio 2019 Project .
Open the Project menu and select Properties (this menu entry should have a project name in it). In the Application tab of the Properties window, choose your desired framework from the Target framework dropdown.
You do not. Simple.
You claim (title) to use 2019 preview.
That is ANCIENT - like seriously. The trial and free to download pro version are available for a long time and support for more modern technologies got added there over time.
Download, keep updated and it is just there.
We are now in version 16.4 and a LOT of significant updates where pushed out over time.
Related
As mentioned yesterday, I'm having some issues with my debugger (sometimes it shows wrong values).
This morning I almost exploded on this particular case:
I was interested in information about the DB, used by my application, so I put a breakpoint on a line, where the corresponding object is used. As the debugger said that particular object is null, I was extremely surprised being capable to the following line, as you can see in the screenshot.
For me, this is the clearest proof that my debugger is so bogus and I would like to update it, but I don't know how. My current visual studio about mentions the following:
In text format:
Microsoft Visual Studio Enterprise 2017
Version 15.9.44
VisualStudio.15.Release/15.9.44+28307.1800
Microsoft .NET Framework
Version 4.8.04084
Installed Version: Enterprise
Microsoft Visual Studio Tools for Applications 2017 00370-00007-85954-AA413
Microsoft Visual Studio Tools for Applications 2017
Is there a known issue for this particular visual studio version, .Net framework version, Telerik version, ...?
Version 15.9.44 is, as of today, the latest available build for VS2017. You should consider upgrading to VS2022. To upgrade, just download the latest visual studio installer from microsoft (https://microsoft.com/vstudio). It lets you select the version to install. You can install VS2017, VS2019 and VS2022 in parallel (given enough free disk space).
I've search the web and found questions from 3-9 years ago.
My problem is that I can't find anywhere the .NET standard or Windows Console Application or Windows Desktop Application or class Library for C#.
When I had Visual Studio 2015 - it was there by default.
Today I have Visual Studio 2017 and window 10 and I can't get my things together.
Are they canceled?
What is the other option?
When I look at my New project library -> Online -> Visual C#
There are many different applications but non of them seems to come from Microsoft.
Meanwhile I've got a .NET Core API Solution template but it has a lot of errors.
Please help
visual studio c# extensions missing
Just like Joe said, you should use Visual Studio installer to install the modules you need. Visual Studio 2017 use the a new way to install Visual Studio! In the newest version, MS have made it easier for you to select and install just the features you need. MS have also reduced the minimum footprint of Visual Studio so that it installs more quickly and with less system impact than ever before.
After the installer is installed, you can use it to customize your installation by selecting the feature sets—or workloads—that you want.
For the .NET core API project, you need install module .NET Core cross-platform development.
Check the document Install Visual Studio 2017 for some more details.
Hope this helps.
What I'm trying to make is an application with browser window in it. I'm trying to make it with CefSharp. This link says it is ok to do it in Visual Studio Express.
And I can't find how to do this point: Please be sure to set the minimum .Net version for the project to be at least .Net 4.5.2.
I have installed developer pack 4.6.1 from here. But I still get an error CefSharp requires .NET 4.5.2 or higher.
I have found, that it can be done when you create a project, but seems like that works only for Visual studio (not express). I have found, that express has it in properties - application tab. But I don't have such tab there, I have just startup project, project dependencies, debug source files and configuration. How can I do this?
This is solved, community edition helped.
I cannot debugg Asp.Net 5 project in my Visual Studio 2015. First when I open app I get message box with information:
Cannot find DNX SD version 'dnx-clr-win-x86.1.0.0-beta3'.....'dnx=clr-win-x86.1.0.0-bet5' will be used as the solution DNX SDK version for this session.
Then when I click Start to debbug app I get alert box:
The debugger cannot continue running the process.Unable to start debugging.
Even when I create new project -> Asp.Net 5 preview template -> web application the behavior is the same. When I was using CTP version of VS 2015 everything worked but I had to change to VS 2015. I also cheked PowerShell version and it's 4.0.
I have no Idea what could be the reason. Any help appreciated.
I think you need to install the correct DNVM,
you can read about it here.
Or change versions of packages that you use.
Put in cmd:
dnvm list
look what SDK version is default and then set in global.json and project.json same version.
How can I include .NET Framework 4 as a prerequisite in Prerequisite Dialog Box in VS 2008.
My purpose is in Launch Condition of setup and deployment project, .NET Framework 4 should be present and get installed with installer. (I would not prefer that installer downloads it from internet, rather from same place as my application start up).
Thanks in advance.
Visual Studio 2008 doesn't support .NET 4.
If you want to develop using .NET 4 you will need to upgrade to Visual Studio 2010.