I set up a build definition in VS Online for an ASP.NET 5 project and tried to get it automatically built and deployed to an Azure Website.
But I'm seeing a build failure thrown by MSBuild as below.
C:\a\src\src\WebApp1\WebApp1.kproj(7,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AspNet\Microsoft.Web.AspNet.Props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Looks like VS Online is not supporting ASP.NET 5. Am I right? If that's the case, when can I expect that to happen? Do I have to wait until ASP.NET 5 is officially release?
Among the workloads and project types, you can find support for .NET Framework, .NET Core, Mono, .NET Native for Universal Windows Platform (UWP), C#, F#, and Visual Basic. Visual Studio 2022 supports the following .NET implementations:
Visual Basic support planned for .NET 5.0 .NET Team March 11th, 2020 We’ve heard your feedback that you want Visual Basic on .NET Core. Earlier versions of .NET Core supported Class Library and Console applications types. Starting with .NET 5 Visual Basic will support: Class Library Console Windows Forms WPF Worker Service ASP.NET Core Web API
You’ll need to update the version of .NET you’re using to a supported version (.NET 6.0) before this date in order to continue to receive updates. .NET 5.0 is not an LTS release and is therefore supported for 18 months, or 6 months after the next release ships, whichever is longer. . NET 5.0 support will end on May 10, 2022.
Combining Angular, Visual Basic and .NET Core for developing modern web apps Visual Basic supports .NET Core starting in Visual Studio 2017 Update 3 (15.3). This opens new possibilities for new applications and modernizing existing applications. ...
Although they have not added it to the provided hosted build service you can still build ASP.NET 5 from VSO.
If you spin up a VM on Azure using your complementary MSDN credits you can install your own build agent and pit VS 2015 on there. That will give you the capability to compile with whatever technologies you like.
Once VSO rolls out production support you can just bin that VM.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With