2019-03-29 01:14:25 +03:00
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
const isMicrosoftInternal = Environment.getFlag("[Sdk.BuildXL]microsoftInternal");
2024-04-10 04:29:58 +03:00
const artifactNugetVersion = "19.238.34809-buildid27706596";
const azureDevopsNugetVersion = "19.238.0-internal202404091";
2020-05-08 19:46:14 +03:00
2019-03-29 01:14:25 +03:00
// These packages are Microsoft internal packages.
2019-04-02 04:15:44 +03:00
// These consist of internally repackaged products that we can't push to a public feed and have to rely on users installing locally.
// Or they contain code which is internal and can't be open sourced due to tying into Microsoft internal systems.
2019-03-29 01:14:25 +03:00
// The dependent code is still open sourced, but not compiled in the public repo.
export const pkgs = isMicrosoftInternal ? [
{ id: "BuildXL.DeviceMap", version: "0.0.1" },
2021-11-02 01:14:46 +03:00
// Metrics library used by .net core CaSaaS
2023-04-08 00:01:05 +03:00
// Todo: Migrade to OpenTelemetry. See https://eng.ms/docs/products/geneva/collect/instrument/ifx/ifx-retirement
{id: "Microsoft.Cloud.InstrumentationFramework", version: "3.4.1.1"},
2023-04-11 23:27:20 +03:00
// Temporary workaround for Bond issue. Microsoft.Cloud.InstrumentationFramework is using 11.0.0.
// Remove Bond once migration to OpenTelemetry is done.
{ id: "Bond.Core.CSharp", version: "11.0.0" },
{ id: "Bond.CSharp", version: "11.0.0" },
{ id: "Bond.Runtime.CSharp", version: "11.0.0" },
2021-11-02 01:14:46 +03:00
2019-03-29 01:14:25 +03:00
// Runtime dependencies used for macOS deployments
2021-09-14 18:53:50 +03:00
{ id: "runtime.osx-x64.BuildXL", version: "3.8.99" },
2020-04-21 21:21:00 +03:00
{ id: "Aria.Cpp.SDK.win-x64", version: "8.5.6", osSkip: [ "macOS", "unix" ] },
2022-04-06 22:51:25 +03:00
// cross-plat Aria SDK and its dependencies
{ id: "Microsoft.Applications.Events.Server", version: "1.1.3.308", dependentPackageIdsToIgnore: [ "Microsoft.Data.SQLite" ] },
{ id: "Microsoft.Data.Sqlite", version: "1.1.1" },
{ id: "SQLite", version: "3.13.0" },
2019-03-29 01:14:25 +03:00
2024-04-09 04:46:00 +03:00
{ id: "CB.QTest", version: "24.4.3.164440", osSkip: [ "macOS", "unix" ] },
2019-03-29 01:14:25 +03:00
{ id: "BuildXL.Tracing.AriaTenantToken", version: "1.0.0" },
// Artifact packages and dependencies
2023-06-21 21:43:25 +03:00
{ id: "Microsoft.VisualStudio.Services.ArtifactServices.Shared", version: artifactNugetVersion, dependentPackageIdsToSkip: ["*"], dependentPackageIdsToIgnore: [
"Microsoft.BuildXL.Cache.Hashing",
"Microsoft.BuildXL.Cache.Interfaces",
"Microsoft.Azure.Cosmos.Table",
"Microsoft.Azure.Storage.Blob",
"DotNetFxRefAssemblies.Corext",
"Mono.Unix",
"Microsoft.Identity.Client.Desktop" ] },
{ id: "Microsoft.VisualStudio.Services.BlobStore.Client", version: artifactNugetVersion, dependentPackageIdsToSkip: ["*"], dependentPackageIdsToIgnore: ["Microsoft.BuildXL.Cache.Hashing", "Microsoft.BuildXL.Cache.Interfaces", "DotNetFxRefAssemblies.Corext"] },
2020-05-08 19:46:14 +03:00
{ id: "Microsoft.VisualStudio.Services.Client", version: azureDevopsNugetVersion, dependentPackageIdsToSkip: [ "Microsoft.Net.Http", "Microsoft.AspNet.WebApi.Client", "System.Security.Cryptography.OpenSsl", "System.Security.Principal.Windows" ] },
{ id: "Microsoft.VisualStudio.Services.InteractiveClient", version: azureDevopsNugetVersion, dependentPackageIdsToSkip: [ "Ben.Demystifier" ], dependentPackageIdsToIgnore: [ "Ben.Demystifier" ] },
2024-04-10 04:29:58 +03:00
{ id: "Microsoft.Azure.Storage.Common", version: "11.2.2" },
{ id: "System.ServiceProcess.ServiceController", version: "6.0.1" },
2019-03-29 01:14:25 +03:00
// DropDaemon Artifact dependencies.
// Here, even though the packages depend on Cache bits other than Hashing, we make sure that the codepaths that actually depend on them are never activated. This is to ensure that there is no cyclic dependency between BXL and AzureDevOps.
// This is further enforced by not including Cache bits in DropDaemon, other than BuildXL.Cache.Hashing.
2023-06-21 21:43:25 +03:00
{ id: "ArtifactServices.App.Shared", version: artifactNugetVersion, dependentPackageIdsToSkip: ["*"], dependentPackageIdsToIgnore: ["Microsoft.BuildXL.Cache.Hashing", "DotNetFxRefAssemblies.Corext"] },
2024-04-10 04:29:58 +03:00
{ id: "ArtifactServices.App.Shared.Cache", version: artifactNugetVersion, dependentPackageIdsToSkip: ["*"], dependentPackageIdsToIgnore: ["Microsoft.BuildXL.Cache.Hashing", "Microsoft.BuildXL.Cache.Interfaces", "Microsoft.BuildXL.Cache.Libraries", "Microsoft.BuildXL.Utilities", "Microsoft.BuildXL.Utilities.Core", "Microsoft.BuildXL.Native", "DotNetFxRefAssemblies.Corext", "System.Data.SQLite.Core"] },
{ id: "Drop.App.Core", version: artifactNugetVersion, dependentPackageIdsToSkip: ["*"], dependentPackageIdsToIgnore: ["Microsoft.BuildXL.Cache.Hashing", "Microsoft.BuildXL.Cache.Interfaces", "Microsoft.BuildXL.Cache.Libraries", "Microsoft.BuildXL.Utilities", "Microsoft.BuildXL.Utilities.Core", "Microsoft.BuildXL.Native", "DotNetFxRefAssemblies.Corext", "System.Data.SQLite.Core"] },
2023-06-21 21:43:25 +03:00
{ id: "Drop.Client", version: artifactNugetVersion, dependentPackageIdsToSkip: ["*"], dependentPackageIdsToIgnore: ["Microsoft.BuildXL.Cache.Hashing", "DotNetFxRefAssemblies.Corext"] },
{ id: "ItemStore.Shared", version: artifactNugetVersion, dependentPackageIdsToSkip: ["*"], dependentPackageIdsToIgnore: ["Microsoft.BuildXL.Cache.Hashing", "Microsoft.BuildXL.Cache.Interfaces", "DotNetFxRefAssemblies.Corext"] },
2024-04-10 04:29:58 +03:00
{ id: "Microsoft.VisualStudio.Services.BlobStore.Client.Cache", version: artifactNugetVersion, dependentPackageIdsToSkip: ["*"], dependentPackageIdsToIgnore: ["Microsoft.BuildXL.Cache.Hashing", "Microsoft.BuildXL.Cache.Interfaces", "Microsoft.BuildXL.Cache.Libraries", "DotNetFxRefAssemblies.Corext"] },
2021-12-21 21:04:54 +03:00
{ id: "Microsoft.Windows.Debuggers.SymstoreInterop", version: "1.0.1-netstandard2.0" },
2024-04-10 04:29:58 +03:00
{ id: "Symbol.App.Core", version: artifactNugetVersion, dependentPackageIdsToSkip: ["*"], dependentPackageIdsToIgnore: ["Microsoft.BuildXL.Cache.Hashing", "Microsoft.BuildXL.Cache.Interfaces", "Microsoft.BuildXL.Cache.Libraries", "DotNetFxRefAssemblies.Corext"] },
2023-06-21 21:43:25 +03:00
{ id: "Symbol.Client", version: artifactNugetVersion, dependentPackageIdsToSkip: ["*"], dependentPackageIdsToIgnore: ["Microsoft.BuildXL.Cache.Hashing", "DotNetFxRefAssemblies.Corext"] },
2021-01-13 01:13:03 +03:00
{ id: "TransientFaultHandling.Core", version: "5.1.1209.1" },
2019-03-29 01:14:25 +03:00
2020-11-24 03:22:26 +03:00
// IcM and dependencies
{ id: "Microsoft.AzureAd.Icm.Types.amd64", version: "2.2.1363.11" },
{ id: "Microsoft.AzureAd.Icm.WebService.Client.amd64", version: "2.2.1363.11" },
2021-04-13 20:40:21 +03:00
2021-07-15 00:21:37 +03:00
// Cpp Sdk
2023-10-06 21:19:09 +03:00
{ id: "VisualCppTools.Internal.VS2017Layout", version: "14.37.32822", osSkip: [ "macOS", "unix" ] },
2021-11-08 21:59:59 +03:00
// SBOM Generation
2024-04-01 21:16:52 +03:00
{ id: "Microsoft.SBOMCore", version: "4.0.15" },
2023-10-25 01:50:05 +03:00
{ id: "Microsoft.Parsers.ManifestGenerator", version: "3.8.11", dependentPackageIdsToIgnore: ["BuildXL.Cache.Hashing"] },
2024-03-25 22:14:53 +03:00
{ id: "Microsoft.Sbom.Parsers.Spdx22SbomParser", version: "2.2.4" },
{ id: "Microsoft.Sbom.Adapters", version: "2.2.4" },
2024-04-08 21:57:44 +03:00
{ id: "Microsoft.ComponentDetection.Contracts", version: "4.3.3" },
2024-03-25 22:14:53 +03:00
{ id: "Microsoft.Sbom.Contracts", version: "2.2.4" },
{ id: "Microsoft.Sbom.Extensions", version: "2.2.4" },
2021-11-11 22:33:21 +03:00
{ id: "Microsoft.Bcl.HashCode", version: "1.1.1" },
2022-01-14 02:51:44 +03:00
// Process remoting
2023-01-30 21:14:42 +03:00
{ id: "AnyBuild.SDK", version: "0.2.0" },
2022-04-08 19:26:43 +03:00
// Part of VSSDK used by IDE/VsIntegration
{ id: "Microsoft.Internal.VisualStudio.Interop", version: "17.2.32405.191" },
2022-04-29 21:43:39 +03:00
{ id: "Microsoft.VisualStudio.ProjectSystem", version: "17.3.74-pre" },
2022-06-25 01:08:36 +03:00
// RoslynAnalyzers internal analyzers
{ id: "Microsoft.Internal.Analyzers", version: "2.6.11"},
2022-12-09 00:24:45 +03:00
// CredScan
2022-12-15 23:28:40 +03:00
{ id: "Strings.Interop", version: "1.10.0" },
2022-12-14 00:15:17 +03:00
{ id: "RE2.Managed", version: "1.10.0" },
2024-02-08 01:11:01 +03:00
{ id: "Microsoft.Automata.SRM", version: "2.0.0-alpha3" },
{ id: "Microsoft.Security.RegularExpressions", version: "1.7.1.6" } ,
2022-12-09 00:24:45 +03:00
{ id: "Microsoft.Security.CredScan.KnowledgeBase.SharedDomains", version: "1.7.1.6" },
2024-02-08 01:11:01 +03:00
{ id: "Microsoft.Security.CredScan.KnowledgeBase", version: "1.7.1.6" },
2022-12-09 00:24:45 +03:00
{ id: "Microsoft.Security.CredScan.KnowledgeBase.Client", version: "1.7.1.6" },
{ id: "Microsoft.Security.CredScan.KnowledgeBase.Ruleset", version: "1.7.1.6" },
2023-09-07 00:29:48 +03:00
// Authentication
{ id: "Microsoft.Artifacts.Authentication", version: "0.1.2" },
2019-03-29 01:14:25 +03:00
] : [
// Artifact packages and dependencies in OSS
{ id: "Microsoft.VisualStudio.Services.Client", version: "16.148.0-preview", dependentPackageIdsToSkip: [ "Microsoft.Net.Http", "Microsoft.AspNet.WebApi.Client", "System.Security.Cryptography.OpenSsl", "System.Security.Principal.Windows" ] },
];
2020-02-15 01:35:26 +03:00
// This contains facade modules for the packages that are only available internally
2019-03-29 01:14:25 +03:00
export const resolver = {
kind: "SourceResolver",
modules: [
2020-04-21 21:21:00 +03:00
f`Private/InternalSdk/BuildXL.DeviceMap/module.config.dsc`,
f`Private/InternalSdk/CB.QTest/module.config.dsc`,
2019-03-29 01:14:25 +03:00
...addIf(isMicrosoftInternal,
2021-11-02 01:14:46 +03:00
f`Private/InternalSdk/InstrumentationFramework/module.config.dsc`
2019-03-29 01:14:25 +03:00
),
2020-04-21 21:21:00 +03:00
f`Private/InternalSdk/Drop/module.config.dsc`,
f`Private/InternalSdk/BuildXL.Tracing.AriaTenantToken/module.config.dsc`,
2022-01-14 02:51:44 +03:00
f`Private/InternalSdk/AnyBuild.SDK/module.config.dsc`,
2022-04-08 19:26:43 +03:00
f`Private/InternalSdk/Microsoft.Internal.VisualStudio.Interop/module.config.dsc`,
2022-04-29 21:43:39 +03:00
f`Private/InternalSdk/Microsoft.VisualStudio.ProjectSystem/module.config.dsc`,
2019-03-29 01:14:25 +03:00
]
};