.NetFramework 4.8 option not visible in list while creating a project but installed on system - .net-4.8

I am using VS2019 on Window 11 and want to create an ASP.NET Web application project on .NetFramework 4.8 but is not display in list when I want to choose it. Although, it is available on my system.
Please suggest.

Related

installing asp.net mvc web application on mac, but getting these error

Have attached an image of all the packages and references I am trying to build an ASP.NET MVC Web Application on Visual Studio 2019 Community for Mac, but I am getting these errors. I tried a lot to resolve these, but couldn't find any answers online. It would be great if someone can help me figure these out.
This project was previously developed and build on Windows, but the same project does not build properly on Mac, and now I am getting these errors. One reason could be ASP.NET having different frameworks, but not sure which framework would be suitable for these packages.
Adding another picture, I have updated the ASP.NET framework to 4.7.2 from version 2.0 click to view image
And I left with very few errors only "System.Web.Entity" picture attached
System.Web.entity is for .NET Framework and Asp.Net MVC project is not cross-platform.
So,it's not possible to build ASP.NET MVC projects on the Mac that aren't based on .NET Core or Mono.ASP.NET 4.x is not something officially supported like ASP.NET Core on macOS.
If you want to use ASP.NET 4.x, stick to Windows. If you want to use macOS and VS for Mac, use ASP.NET Core. There is almost no gray area in between to discuss.
Another suggestion is that you could use virtual machine to run windows inside Mac.
Refer to Is it possible to develop ASP.NET MVC applications in Visual Studio for Mac?

WIndows form GUI editor in Monodevelop

I have written a tool in Visual Studio Community using a C# windows form project. When I started the project I was unaware Microsoft insist on a user signing into an account after 30 days, (even though they offer an offline installation). For security reasons I cannot connect the computer to the internet to login. I have downloaded MonoDevelop and successfully opened and compiled the project. However, I would like to have the ability to "easily" edit the GUI. MonoDevelop's documentation seems to have little in-sight as to if this is possible. I checked out http://www.monodevelop.com/documentation/stetic-gui-designer/ which describes the process for native Mono applications. When I open the Form1.cs file, I am presented only with the option to view the source code. Is it possible to view the GUI designer?
The Stetic GUI Designer is only available for GTK 2.x based applications and not for Windows' Forms.
There is a project called WinForms Designer that might help you, it has not been updated for many years, but it still runs on at least OS-X (that is only OS that I have personally used it on).
http://www.mono-project.com/archived/winforms_designer
Note: For OS-X (or Linux) using the latest Mono, you will need to update the Makefile and replace the references to gmcs to mcs

How to port Windows Store 8.1 apps to Windows 10?

I have developed few apps in windows store 8.1 and i want to port them to windows 10.
Previously when windows 8.1 has released, In Visual Studio when you open the windows store 8 app code, in the solution we had an option called target to windows store 8.1, then it takes care of everything.
Now how to Port Windows store 8.1 apps to Windows 10 using C# and xaml
Any help or any article on this please?
Thanks in advance
The best way to do this is to create a new Windows 10 project based on the universal template and then copy all the source files and assets to it. There's a detailed description on MSDN here:
https://msdn.microsoft.com/en-us/library/windows/apps/dn705768.aspx
and here:
https://msdn.microsoft.com/en-us/library/windows/apps/dn751495.aspx
0) Install Win10 RTM
OK? =)
(But, If you just want to bulid the UWP project, Win8.1 is also ok. But you can't use the xaml designer, inspector, etc.... I can't recomend this way)
1) Install VS2015 RTM and Win10SDK RTM.
By default, Win10SDK is NOT installed. You should select the Win10 SDK from installation option dialog.
1.5) Update NuGET 3.1.
You can see the Flag Icon on the top-right corner of VS2015 Window. Click it to install Nuget Update.
2) Migrate your solution and project.
You should modify your .csproj manually with this guide.
Migrate apps to the Universal Windows Platform (UWP)
After that, you can build your app with VS2015.
Note - if you got the thousands of compile error, try Installing following nuget package from nuget console.
Microsoft.NETCore.UniversalWindowsPlatform
3) Modifying your app to suit for UWP manner
Following pages helps you.
Move from Windows Runtime 8 to UWP
Porting Windows Runtime 8 XAML and UI to UWP

vb Could not load file or assembly Mysql

I made application in vb 2010. And everything works great at mine computer. I made release and publish the application when i sen!
Pictures
Could not load file or assembly Mysql...
Also is there any way i can put net framework 4.5 to be installed with my application ?
You can include NET Framework by the following way. At least in Visual Basic 2010...
Through Project Tab you open Project properties.
Then in Publish Tab you Click Prerequisites Button.
There you can select the things you want to diistribute and the way they will be distributed.

How do I set ISAPI/CGI option in Windows 7 Home Premium?

This article explains how to correct an exception that's often seen when switching an ASP.NET application to .NET 4.0. However, I don't have this option in IIS when using Windows 7 Home Premium. Does this mean the option isn't there at all, or is it just not visible? If it doesn't exist in the GUI, is this being set in the Windows Registry somewhere? I want to be able to correct this exception without upgrading Windows. Is this even possible?
Issue:
Problem in running .net framework 4.0 website on iis 7.0
Fix (see Windows 7):
http://www.iis.net/ConfigReference/system.webServer/security/isapiCgiRestriction
... see this screen shot (in Fix page)
http://i1.iis.net/resources/images/configreference/isapiCgiRestriction_howto_63.png?cdn_id=20120424-001
Had to click on the server name in the tree hierarchy, not the site name. Then the option appeared.