We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Nuget throws exception but shouldn't

Thread ID:

Created:

Updated:

Platform:

Replies:

150290 Dec 25,2019 07:26 AM UTC Dec 31,2019 11:14 AM UTC Others 1
loading
Tags: Others
Humanjo Daro
Asked On December 27, 2019 05:34 AM UTC

Hello everyone,,
We use Windows forms Syncfusion nuget and we provide source in nuget.config like this:
No i our share we have our analyzer package which is in beta version and is changed very frequent so his version is 1.0.0-betaxxx. When we reference using packagereference like this:

nuget restore works properly. But when we want to restore latest version using wildcards we get this error:
1.0.0-*" /> https://reverseimagesearch.onl
Restoring packages for C:\Users\vagrant\MyProjects\enova\Soneta.BI\Soneta.BI.csproj...https://emailchecker.vip/
GET http://nuget.syncfusion.com/windows-forms/FindPackagesById()?id='Soneta.Analysis'
GET https://api.nuget.org/v3-flatcontainer/soneta.analysis/index.json https://portchecker.pro/
NotFound https://api.nuget.org/v3-flatcontainer/soneta.analysis/index.json 732ms
OK http://nuget.syncfusion.com/windows-forms/FindPackagesById()?id='Soneta.Analysis' 3697ms
Retrying 'FindPackagesByIdAsyncCore' for source 'http://nuget.syncfusion.com/windows-forms/FindPackagesById()?id='Soneta.Analysis''.
The content at 'http://nuget.syncfusion.com/windows-forms/FindPackagesById()?id='Soneta.Analysis'' is not valid XML.
For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.
GET http://nuget.syncfusion.com/windows-forms/FindPackagesById()?id='Soneta.Analysis'
OK http://nuget.syncfusion.com/windows-forms/FindPackagesById()?id='Soneta.Analysis' 1344ms
Retrying 'FindPackagesByIdAsyncCore' for source 'http://nuget.syncfusion.com/windows-forms/FindPackagesById()?id='Soneta.Analysis''.
The content at 'http://nuget.syncfusion.com/windows-forms/FindPackagesById()?id='Soneta.Analysis'' is not valid XML.
For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.
GET http://nuget.syncfusion.com/windows-forms/FindPackagesById()?id='Soneta.Analysis'
OK http://nuget.syncfusion.com/windows-forms/FindPackagesById()?id='Soneta.Analysis' 1705ms
Failed to retrieve information about 'Soneta.Analysis' from remote source 'http://nuget.syncfusion.com/windows-forms/FindPackagesById()?id='Soneta.Analysis''.
The content at 'http://nuget.syncfusion.com/windows-forms/FindPackagesById()?id='Soneta.Analysis'' is not valid XML.
For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.
When syncfusion feed is removed nuget restore Soneta.Analysis properly for this project. We thought that maybe share is thre problem so we switch to local nuget serwer and in that case nuget restore package from local serwer and than try to restore it from syncfusion serwer which end with the same error like above (from local serwer when syncfusion feed is disabled restore works properly).
What can be the reason that your feed throws this exception?
Best regards,
Humanjo.

Manivannan Sundararajan [Syncfusion]
Replied On December 31, 2019 11:14 AM UTC

Hi Humanjo,

Greetings from Syncfusion.

From the v17.10.32, Syncfusion will no longer publish the NuGet packages in nuget.syncfusion.com. So, please get the packages from NuGet.org. Please refer the steps suggested in the following KB article link and migrate from nuget.syncfusion.com to NuGet.org.

https://www.syncfusion.com/kb/10279/migrate-from-nuget-syncfusion-com-to-nuget-org  

If you still face any issues, please share us the following details. It would be much helpful for us to analyze the issue at our end.

1. Current Syncfusion version you are using.

2. Syncfusion version you are upgrading to.

3. Screen shot of the Visual Studio with errors.

Regards,
Manivannan S



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon