VB asp.net to .net core - asp.net-core

I've a asp.net web application written in VB using Visual Studio 2013. Can I make it multiplatform using .net core? Should I get Visual Studio 2017 or can stay using 2013? thank you!

Right now ASP.NET Core not available for VB.NET.
Please see this forum:
At the present time there is no firm or set time for this feature.
It's planned and has been mentioned as being on the roadmap, but at
present it doesn't look like it can even be supported.
See readmap.
You can use C# or F#.
And you need VS 2017 (or VS Code) for .NET Core.
Is it possible to use VS 2015 Update3, but not recommended, because they changed json project to MSBuild.
UPDATE: With .NET Core 2 release, now it's possible to use VB.NET in .NET Core, but not yet in ASP.NET:
:

Related

VB Razor (*.VBHTML) IntelliSense isn't working with Visual Studio 2022

In Visual Studio 2019 *.vbhtml files were working fine in my computer. After upgrading to Visual Studio 2022, C# IntelliSense and highlighting are still working, but in VB IntelliSense and highlighting fully disappear.
Also, any attempt at adding VB templates (Microsoft.VisualStudio.Web.CodeGeneration.Design) became forbidden.
Is there a way to bypass these restrictions and unblock VB in Razor Pages with some tuning of Visual Studio or with some extension for Visual Studio or with some 3rd party product?
Razor Pages are no longer supported in VB.NET after MVC5. As noted, editing and compilation (without IntelliSense) did work under Visual Studio 2019, but that functionality has been removed in Visual Studio 2022.
A working alternative for MVC and Razor Page projects in VB.NET under .NET Core 6 is Vazor, which can be found here.
My final solution you can see there https://github.com/Alex-1557/SplitViewAndCodeInAsp.Net.Core.Project/tree/main
Yes, have I lost opportunity to use VB in View and VBHTML, but I receive opportunity to split ASP.NET Core project to 2 full different projects.
For connect static files to root I have rebuilded this extension https://marketplace.visualstudio.com/items?itemName=CeciliaWiren-CeciliaSHARP.FolderToSolutionFolder
for Visual Studio 2022 - https://marketplace.visualstudio.com/items?itemName=alexev14.AddFolderToSolutionForVS2022

How do I integrate .NET core with VS 2017, or will it come by default with VS 2017?

i am trying to learn .net core with VS 2017. i dont have any basic idea about .NET Core development. Can any one suggest how can i start my first sample development in Visual Studio 2017?
To start with ASP.NET core, you must have visual studio 2017 installed and download the .Net Core SDK from: https://dotnet.microsoft.com/download/dotnet-core. I recommend that you download version 2.2 for VS 2017.
And have the web development package installed through Visual Studio Installer.
But, it would be better if you already started your studies with the VS 2019.following the same steps above.
VS 2019 already comes with SDKS for .Net core development

ASP.NET Core 2.1 in Visual Studio 15.6.3

Can I work in my ASP.NET Core 2.1 Preview 1 project in Visual Studio 2017 (15.6.3) which is released today? https://learn.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes#15.6.3
I've been using Visual Studio 2017 Preview version to work on my ASP.NET Core 2.1 project up until now -- as this article suggests: https://blogs.msdn.microsoft.com/dotnet/2018/02/27/announcing-net-core-2-1-preview-1/
I want to know if I can switch back to the stable version of Visual Studio 2017 now.
When launching a solution that contains a .NET Core 2.1 project with Visual Studio 15.6.3, there will be the following message:
The link there goes to this page:
.NET Core 2.1 Preview 1
To create or open applications targeting .NET Core 2.1, Visual Studio 2017 15.7 or newer is recommended. Right now 15.7 is only available as a preview, so please use the latest Visual Studio 2017 Preview.
Visual Studio 2017 15.6 supports creating and opening applications targeting .NET Core 2.1, but it contains known issues so 15.7 or newer is recommended.
Visual Studio 2017 15.5 does not support creating or opening applications targeting .NET Core 2.1.
So you can absolutely use VS 15.6 for .NET Core 2.1 projects. In fact, just today I was working on a .NET Core 2.1 project (actually using a daily build), and I did not encounter any issues with my non-preview Visual Studio.
But there may be issues, e.g. with tooling related to scaffolding, so you should be prepared that things might break. But for normal work on an existing code base, there shouldn’t actually be any problems. And you could always fall back to the dotnet CLI for the things that don’t work.
tl;dr With the 15.6.3 update, there is still no official support for .NET Core 2.1 projects but there may be very few issues that will prevent you from actually working with it.

ASP.NET Core Web Application Template does not exist on Visual Studio 15

I've installed Visual Studio 15.
When I want to add new project, the ASP.NET Core Web Application (.NET Core) does not exist in project templates.
I've installed .NET Core and I'm using it on VS 2015.
Tooling for .NET core is not available in VS15 yet. https://www.visualstudio.com/en-us/news/releasenotes/vs15-relnotes
Visual Studio Tools for .NET Core availability
Issue:
Tooling support for .NET Core projects is not available in this
release of Visual Studio.
Workaround:
Support will be available in a future update of Visual Studio “15”.
It is due to the .Net Core Tool which is yet not released for VS2015. So if you want to use it then you have to go for VS2017.

How Upgrade A Project From .Net 2.0 To .Net 4.0 Using Visual Studio 2010?

i am a c# web developer and vb.net project is not familiar for me.
i have a project in .net 2.0 that i want to upgrade it to .net 4.0 with using visual studio 2010.
when i open that project with visual studio 2010 every thing is normal and it seems it is working in .net 2.0.
i created a new project with visual studio and added all .net 2.0 project files to the new project.
but after that i had many errors like below :
'List' is not declared. It may be inaccessible due to its protection
what did i do wrong and how can i upgrade that project?
also where can i find the project's .Net framework ver for VB language (in c# we can change it by right clicking on project and properties, but here there is no such a properties)?
thanks in advance
You have "Visual Studio Conversion Wizard"
http://msdn.microsoft.com/en-us/library/dd483478(v=vs.100).aspx