Comments (10)
Thanks for the feedback.
Do you know a good way to check if the .NET Core hosting bundle is installed? I've looked at dotnet --info
but it only lists the SDK and runtime. Not if the hosting bundle is installed.
from installnetcoreruntimeandhostingtask.
all I have been able to find so far is this registry key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Updates.NET Core
from installnetcoreruntimeandhostingtask.
Try this - will return true
if it finds it in the registry
(Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | % { $_.DisplayName } | Where { $_ -Match 'Microsoft ASP.NET Core Module V2' }).Count -gt 0
from installnetcoreruntimeandhostingtask.
This would be awesome!! +1
from installnetcoreruntimeandhostingtask.
I've forked it at https://github.com/wagner-machine/InstallNetCoreRuntimeAndHostingTask and will take a look.
from installnetcoreruntimeandhostingtask.
@kdblocher don't suppose this suggested improvement is able to make any progress. We love using this task but it's a bit of a blunt instrument in the every time you run a CI pipeline doing a fresh install without checking if you already have the latest version.
from installnetcoreruntimeandhostingtask.
@kdblocher don't suppose this suggested improvement is able to make any progress. We love using this task but it's a bit of a blunt instrument in the every time you run a CI pipeline doing a fresh install without checking if you already have the latest version.
from installnetcoreruntimeandhostingtask.
Hi @JonnyG365. Thanks for putting this issue on my radar again. Because you can use Microsoft Update now to update .NET Core I've decided to not add any major enhancement like this request.
from installnetcoreruntimeandhostingtask.
@ronaldbosma it doesn't appear that Microsoft Update supports CI/CD scenarios, rather just an automatic update experience. For those who need to support arbitrary versions of .NET Core, or don't want to allow automatic updates of this kind, it's not a good solution.
@JonnyG365, as you can see, @ronaldbosma sat on this issue for a year with no response. I may try to get a forked copy working with this feature.
from installnetcoreruntimeandhostingtask.
@kdblocher I assume you have a similar use case to us I want to be able to add this kind of task to the build pipeline and have it download/install/update if needed but do nothing if you are already running the version specified
from installnetcoreruntimeandhostingtask.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installnetcoreruntimeandhostingtask.