Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NuGet silently ignores invalid config file #2108

Closed
victorhurdugaci opened this issue Feb 12, 2016 · 2 comments
Closed

NuGet silently ignores invalid config file #2108

victorhurdugaci opened this issue Feb 12, 2016 · 2 comments
Labels
Resolution:Duplicate This issue appears to be a Duplicate of another issue

Comments

@victorhurdugaci
Copy link

Try to restore with this and you'll see that there's no error:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <packageSources>
        <add key="AspNetVNext" value="\\aspnetci\Drops\latest-packages\dev" />
        <add key="NuGet" value="https://api.nuget.org/v3/index.json"; />
        <add key="KoreBuild" value="\\aspnetci\Drops\Universe\dev\latest\build" />
        <add key="External" value="\\aspnetci\Drops\latest-packages\external\dev" />
    </packageSources>
</configuration>

The invalid char is the ; after value="https://api.nuget.org/v3/index.json"

@yishaigalatzer
Copy link

@victorhurdugaci we already track invalid config files. But I assume that you have a config file somewhere else that provides feeds? If so please close, we are already handling this. If not please provide more details

@yishaigalatzer yishaigalatzer added the Resolution:Duplicate This issue appears to be a Duplicate of another issue label Feb 25, 2016
@yishaigalatzer
Copy link

#1567

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution:Duplicate This issue appears to be a Duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants