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. Image for the cookie policy date

Nuget throws exception but shouldn't

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.

1 Reply

MS Manivannan Sundararajan Syncfusion Team 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



Loader.
Live Chat Icon For mobile
Up arrow icon