Skip to content

Package testing shouldn't hard code restore sources #53810

@ViktorHofer

Description

@ViktorHofer

<RestoreSources>
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json;
https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json;
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json;
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6-transport/nuget/v3/index.json;
$(LocalPackagesPath)
</RestoreSources>

The RestoreSources property is hardly used anymore as it doesn't support authentication and instead we specify the restore sources in the repo's NuGet.config file. We probably want to copy that file next to the test app so that the restore sources aren't duplicated.

cc @Anipik @ericstj @safern @joperezr

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions