HtmlAgilityPack.NetCore | A port of HtmlAgilityPack to .NET Core
kandi X-RAY | HtmlAgilityPack.NetCore Summary
kandi X-RAY | HtmlAgilityPack.NetCore Summary
A port of HtmlAgilityPack to .NET Core
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of HtmlAgilityPack.NetCore
HtmlAgilityPack.NetCore Key Features
HtmlAgilityPack.NetCore Examples and Code Snippets
Community Discussions
Trending Discussions on HtmlAgilityPack.NetCore
QUESTION
I am using Microsoft Visual Studio Community 2019 Preview - Version 16.8.0 Preview 2.0 , .NET Core 5.0.100-preview.8.20417.9
, ASP.NET Core 5.0-preview Web API.
Original file *.csproj
ANSWER
Answered 2020-Sep-01 at 06:56How to restore or install Nuget packages from copy then paste to *.csproj file?
I think it is an issue on Visual Studio Preview 16.8 with Net Core 5.0.
First of all, update-package -reinstall
command cannot be used for Net Core project, it is used for Net Framework projects with packages.config nuget management format.
For Net Core projects, you can just click build which will restore nuget packages.
Actually, when you install the nuget package on the Net Core 5.0 project, it restores packages successfully on the global nuget folder.
You can first delete all nuget packages under C:\Users\xxx(current user)\.nuget\packages
and then rebuild your project.
The packages will all restore under that folder.
====================================================================
But however, the main issue is that:
For Net Core 5.0
, nuget package has no name and reference path though it can be restored and build without any warnings and errors.
While in Net Core 3.1,
it has the name and full reference path so that VS can find it.
That's why the yellow triangle occurs. And not sure whether this behavior will affects your developing.
And the name and path are the given by the system and we cannot change it.
You can try to change your project from Net Core 5.0
to Net Core 3.1
, I am sure that most of the yellow triangles will disappear.
Since it is an issue, I have reported it to our DC Forum.
You can vote it or add any comments if I did not describe the issue in detail. And I hope the Team will check the issue and resolve the issue as soon as possible.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install HtmlAgilityPack.NetCore
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page