ronaldbosma / installnetcoreruntimeandhostingtask Goto Github PK
View Code? Open in Web Editor NEWAzure DevOps pipeline task that downloads and installs the latest .NET Core runtime and hosting bundle
License: MIT License
Azure DevOps pipeline task that downloads and installs the latest .NET Core runtime and hosting bundle
License: MIT License
Great extension, but I'd like an option to install the ASP.NET Core Module for IIS as there is no way to install outside the hosting bundle. Could be good to add options for any of the opt-out parameters.
OPT_NO_ANCM=1 (Skip ANCM install)
OPT_NO_RUNTIME=1 (Skip .NET Core runtime install)
OPT_NO_SHAREDFX=1 (Skip ASP.NET Shared framework, aka ASP.NET runtime install)
OPT_NO_X86=1 (Skip install x86 runtimes, ancm on 64-bit OS)
First of all thank you, this task is really a great help to ensure the server has all required software to run our app.
It would be great if it could check the required version from a global.json file in the project. This could be presented in the form of a Use global json parameter just like the Use .NET Core task.
What are your thoughts on this ?
Installing .NET 5.0.4 fails with the error: No latest release found.
The task uses this releases.json file to select the latest .NET version. The latest-release
and latest-release-date
fields in this JSON are used to select the correct release.
As you can see in the JSON snippet below. The date format of latest-release-date
differs from the release-date
of version 5.0.4. So the task can't select the latest version.
{
"channel-version": "5.0",
"latest-release": "5.0.4",
"latest-release-date": "2021-03-09",
"latest-runtime": "5.0.4",
"latest-sdk": "5.0.201",
"support-phase": "current",
"lifecycle-policy": "https://dotnet.microsoft.com/platform/support/policy/",
"releases": [
{
"release-date": "2021-09-03",
"release-version": "5.0.4",
Great task. Worked like a charm right out of the box!
It takes about 30-45 seconds and quite a bit of bandwidth to download the installer. For a continuous deployment pipeline this is a bit expensive, especially when the target environment probably is already configured correctly.
I think it would be worth checking if the desired runtime version is already installed before downloading the installer. You could also add a boolean parameter "force" to always download and run the installer regardless.
Thanks
What about installing the net core runtime and hosting in a remote machine?
Do you think is possible?
I don't use Environments with Virtual Machines.
I deploy a net core app with WINRM - IIS Web App Manage/Deploy task.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.