<?xml version="1.0" encoding="utf-8"?>
<configuration>
	<packageSources>
		<!--To inherit the global NuGet package sources remove the <clear/> line below -->
		<clear />
		<add key="nuget" value="https://api.nuget.org/v3/index.json" />
		<add key="labsFeed" value="https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-Labs/nuget/v3/index.json" protocolVersion="3" />
	</packageSources>

	<!-- Define mappings by adding package patterns beneath the target source. -->
	<!-- CommunityToolkit.Labs.* packages  will be restored from labsFeed,
       everything else from nuget.org. -->
	<packageSourceMapping>
		<!-- key value for <packageSource> should match key values from <packageSources> element -->
		<packageSource key="nuget">
			<package pattern="*" />
			<package pattern="CommunityToolkit.Common" />
			<package pattern="Microsoft.*" />
			<package pattern="Newtonsoft.Json" />
			<package pattern="CommunityToolkit.WinUI.Extensions" />
		</packageSource>
		<packageSource key="labsFeed">
			<package pattern="CommunityToolkit.Labs.*" />
			<package pattern="CommunityToolkit.WinUI.Extensions" />
		</packageSource>
	</packageSourceMapping>
</configuration>
