my company is using artifactory 2.6.2 version. They want to upgrade it to the latest version (4.7.4). Any idea how to proceed ...?Or is there any link or documentation to follow?
You need to first upgrade 2.x -> 3.x using this documentation, once you did that you can upgrade 3.x -> 4.x using this documentation.
Related
I wanna integrate Mailchimp into asp.net_core project.
I tried to use MailChimp.Net.V3 and MailChimp.Net.V3.Core package.
I couldn't install MailChimp.Net.V3 with one error(please check image below) and Couldn't handle tag with MailChimp.Net.V3.core package(Please check error msg below).
The project version of Microsoft.Extension.Http is 2.2.0.
How can I integrate MailChimp into my asp.net_core project?
Regards.
The latest version of MailChimp(version 5.0.0) requires Microsoft.Extension.Http version >= 3.1.8.
You may upgrade your asp.net core version to 3.1 and above.
Or just install the MailChimp.Net.V3(version 4.2.1).
I have created a test pipeline with a .NET Core Installer task like this:
Running the task today (2019-11-22), it installs v2.2.402:
##[section]Starting: Use .Net Core sdk 2.2.x
==============================================================================
Task : Use .NET Core
Description : Acquires a specific version of the .NET Core SDK from the internet or the local cache and adds it to the PATH. Use this task to change the version of .NET Core used in subsequent tasks. Additionally provides proxy support.
Version : 2.0.24
Author : Microsoft Corporation
Help : https://aka.ms/AA4xgy0
==============================================================================
Tool to install: .NET Core sdk version 2.2.x.
Found version 2.2.402 in channel 2.2 for user specified version spec: 2.2.x
Version: 2.2.402 was found in cache.
Creating global tool path and pre-pending to PATH.
##[section]Finishing: Use .Net Core sdk 2.2.x
According to the Download .NET Core 2.2 page, SDKs 2.2.402, 2.2.206 and 2.2.109 (runtime v2.2.7) were released on September 10th 2019:
But SDKs 2.2.207 and 2.2.110 (runtime v2.2.8) were released on November 19th 2019:
So, acccording to the documentation of the .NET Core Installer task, versions can be given in the following formats:
2.x => Install latest in major version.
2.2.x => Install latest in major and minor version
2.2.104 => Install exact version
Why was v2.2.402 installed? What is the criteria used for choosing the version of the SDK to install when using wildcards such as 2.2.x or 2.1.x?
The version in Use .Net Core task or .Net Core Installer task are picked using semantic versioning 2.0.
Hence, the highest version number is picked which in case of 2.2.207 and 2.2.402 is 2.2.402
Why was v2.2.402 installed? What is the criteria used for choosing the version of the SDK to install when using wildcards such as 2.2.x or 2.1.x?
Sorry for this late reply, but still hope it can give you any help
This is a known issue on Github:
.NET Core November Update - 2.1.14, 2.2.8, and 3.0.1
IanKemp commented:
2.2.7 contained SDK 2.2.402 for VS 2019 v16.2, but this release has no SDK for 16.2 only for 16.0. Does that mean SDK 2.2.402 is the latest
and that if we already have it, we don't need SDK 2.2.207 from 2.2.8
Compare the release note v2.2.8 and v2.2.7:
So, the latest SDK version does not support the latest Visual Studio version, that may the reason why we still get the version v2.2.402 by that task.
The version that supports 16.2 should be released soon. By then we can use this task to get version 2.2.207.
Hope this helps.
I updated a project from netcoreapp2.2 to netcoreapp3.0 and use Preview8 SDK as well as Microsoft.EntityFrameworkCore.SqlServer, tools, and design.
I can build and run my projects locally just find (VS 2019). But when I try to deploy with Azure DevOps, the Nuget restore gives this error:
NU1202: Package Microsoft.EntityFrameworkCore.SqlServer 3.0.0-preview8.19405.11 is not compatible with netcoreapp3.0 (.NETCoreApp,Version=v3.0). Package Microsoft.EntityFrameworkCore.SqlServer 3.0.0-preview8.19405.11 supports: netstandard2.1 (.NETStandard,Version=v2.1)
Every reference to an EntityFrameworkCore package will result in that error.
I'm setting the .Net Core SDK in the pipeline to Preview8 via a global.json.
I have a NuGet tool installer task, bringing in the latest version, and a Nuget Restore task command running against my solution.
My problem was that I was using the Nuget Restore. Changing it to dotnet restore made the trick.
This problem is caused by an obsolete version of NuGet agent.
Use NuGet Install Tool task (a.k.a. Use NuGet) and setup the agent to the v5.x.
This is a low profile solution.
EDIT: Yay, I have enough rep to comment now.
It turns out the easier fix is to updatethe NuGet package version to the latest (5.3.0) in the "Use NuGet" task.
Not enough rep to comment on Fernando's response but it worked for me.
Edit the pipeline's Agent tasks:
add .NET Core, Display name: dotnet restore, Command: restore
set up other properties pretty much the same as the existing NuGet Restore
remove NuGet restore
Pipeline Nuget restore failing on .Net Core 3.0 Preview 8 project (NU1202)
If you are using the host agent, you should make sure you have install the netcoreapp3.0 on the agent. You could use the task Use .NET Core to install it:
Note check the option Include Preview Versions.
Note: Since netcoreapp3.0 supported by Visual Studio 2019, so, you need to make sure your agent is Hosted Windows 2019 with VS2019.
Hope this helps.
We have a project that uses .net core sdk 1.0.0-preview2-003121.
Currently, I'm setting up a CI server to do automatic builds. In the server, I'm getting this error because the .net core sdk that is installed is not the same as the one in the project.
ERROR
preview2-003121 which is not installed or cannot be found under the path C:\Program Files\dotnet.
I did a command line check dotnet --version and it gave me 1.0.0-preview2-003131
Where can I download older versions of the .net core sdk? I have tried the following links and they give me the latest version for the download
https://github.com/dotnet/cli
https://www.microsoft.com/net/core#windows
This article explains how to install the correct .net core version. HTH.
http://blog.stephencleary.com/2016/06/dotnet-netcore-versions.html
I was able to just get away with following
download https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/1.0.0-preview2-003121/dotnet-dev-win-x64.1.0.0-preview2-003121.zip
copy 1.0.0-preview2-003121 directory inside dotnet-dev-win-x64.1.0.0-preview2-003121.zip\sdk
paste in C:\Program Files\dotnet\sdk
Note: I had newer sdk version already installed(1.0.0-preview2-1-003177)
---Update---
Official download location is https://github.com/dotnet/core/blob/master/release-notes/download-archive.md as mentioned by vinicius-paiva and manoj-attal.
If you are looking to download specific version of .Net core, you can download from here. It worked for me.
Dot Net Core Download Archive List
Install using the chocolatey packages, of course.
Even though it is a late answer, it might help others.
Check these out.
https://github.com/dotnet/core/blob/main/release-notes/download-archive.md
https://www.microsoft.com/net/download/all
I would like to use plone.app.jquery 1.7.2 on my plone 4.1.4, but it doesn't work because plone 4.1.4 use an old version of Products.ResouceRegistries that doesn't enable the "bundle" option.
So I figure myself that I have to update Products.ResouceRegistries to 2.1.2.
I have modified the versions.cfg and run buildout, but with no effect (no download of the new version).
How could I update the version ?
Why not just upgrade to Plone 4.2?
The problem was there is a kgv in the buildout that pinned Products.ResouceRegistries to 2.0.6 :
http://good-py.appspot.com/release/dexterity/1.2.1?plone=4.1.4
Removing the ?plone=4.1.4 and pin Products.ResouceRegistries to 2.1.2 make it works.