Hi,

After examining one of the broken files (more
specifically Microsoft.AspNet.Razor.2.0.20715.0.nupkg).
We found out that some NuGet packages have UTF-16 encoding in their nuspec
files, I'm not sure exactly the reason for that as the nuspec content has
only plain English and can be read using UTF-8.
Artifactory is actually unable to read this file, I've opened an issue
RTFACT-5525 <https://issues.jfrog.org/jira/browse/RTFACT-5525> to fix this.
Artifactory is UTF-8, you won't be able to view the nuspec file anyway but
at least you will be able to resolve it using VS or NuGet CLI.

As a workaround (not sure how feasible is for you) you can alter the
nuspect files of the NuGet packages and re-save them as UTF-8, then
re-deploy the package to Artifactory,
This will immediately resolve the issue as now Artifactory will be able to
read the content properly.

Regards,
Shay.


On Mon, Mar 11, 2013 at 6:46 PM, Pacileo, Ken <[email protected]> wrote:

> Hi,
>
> We are having a problem listing all the NuGet packages in our
> Artifactory internal NuGet repository.
>
> We setup an internal NuGet repository then added several NuGet packages
> from NuGet.org's gallery:  lesi.Collections, NHibernate, NUnit, jQuery,
> etc. These packages are visible from the NuGet CLI tool and VS 2012.
>
> We then created a package with an internally build .dll and uploaded it
> to the NuGet gallery but this package is not visible from the NuGet CLI
> tool or VS 2012.
>
> There are some other packages from NuGet.org that were uploaded to the
> Artifactory NuGet gallery that are also not visible from the CLI tool or
> VS: Microsoft.AspNet.Razor, Microsoft.AspNet.Web.Helpers,
> Microsoft.Web.Infrastructure.
>
> I'm trying to figure out if the configuration of the NuGet repository in
> Artifactory is missing something or if these packages that are not
> viewable by the CLI or VS 2012 have something wrong with their package
> structure or possibly the nuspec file.
>
> Has anyone else experienced a similar problem and if so, what was the
> solution?
>
> We are using Artifactory Pro Power Pack v2.6.1.
>
> Regards,
> Ken
>
> _____________________________________________________
> Ken Pacileo
> UnitedHealth Group | Continuous Integration Services
>
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity
> to which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to