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.
config({
// No orphan projects are owned by this configuration.
projects: [],
// Packages that define the build extent.
modules: [
...globR(d`Public/Src`, "module.config.dsc"),
...globR(d`Public/Sdk/UnitTests`, "module.config.dsc"),
...globR(d`Private/Wdg`, "module.config.dsc"),
...globR(d`Private/QTest`, "module.config.dsc"),
...globR(d`Private/InternalSdk`, "module.config.dsc"),
...globR(d`Private/Tools`, "module.config.dsc"),
...globR(d`Public/Sdk/SelfHost`, "module.config.dsc"),
2020-04-28 19:51:39 +03:00
// Internal only modules
...addIf(importFile(f`config.microsoftInternal.dsc`).isMicrosoftInternal,
...globR(d`Private/CloudTest`, "module.config.dsc")
),
2019-03-29 01:14:25 +03:00
],
frontEnd: {
enabledPolicyRules: [
"NoTransformers",
]
},
resolvers: [
// These are the new cleaned up Sdk's
{
kind: "DScript",
modules: [
f`Public/Sdk/Public/Prelude/package.config.dsc`, // Prelude cannot be named module because it is a v1 module
f`Public/Sdk/Public/Transformers/package.config.dsc`, // Transformers cannot be renamed yet because office relies on the filename
...globR(d`Public/Sdk`, "module.config.dsc"),
]
},
{
kind: "Nuget",
// This configuration pins people to a specific version of nuget
// The credential provider should be set by defining the env variable NUGET_CREDENTIALPROVIDERS_PATH. TODO: It can be alternatively pinned here,
// but when it fails to download (e.g. from a share) the build is aborted. Consider making the failure non-blocking.
configuration: {
toolUrl: "https://dist.nuget.org/win-x86-commandline/v4.9.4/NuGet.exe",
2020-08-19 00:51:58 +03:00
hash: "VSO0:17E8C8C0CDCCA3A6D1EE49836847148C4623ACEA5E6E36E10B691DA7FDC4C39200"
2019-03-29 01:14:25 +03:00
},
2019-05-08 00:20:29 +03:00
repositories: importFile(f`config.microsoftInternal.dsc`).isMicrosoftInternal
2019-03-29 01:14:25 +03:00
? {
2021-07-15 00:21:37 +03:00
// If nuget resolver failed to download VisualCpp tool, then download it
// manually from "BuildXL.Selfhost" feed into some folder, and specify
// that folder as the value of "MyInternal" feed below.
// "MyInternal": "E:/BuildXLInternalRepos/NuGetInternal",
2019-04-19 04:23:11 +03:00
"BuildXL.Selfhost": "https://pkgs.dev.azure.com/cloudbuild/_packaging/BuildXL.Selfhost/nuget/v3/index.json",
2019-05-08 00:20:29 +03:00
// Note: From a compliance point of view it is important that MicrosoftInternal has a single feed.
// If you need to consume packages make sure they are upstreamed in that feed.
2019-03-29 01:14:25 +03:00
}
: {
2019-08-02 03:56:42 +03:00
"buildxl-selfhost" : "https://pkgs.dev.azure.com/ms/BuildXL/_packaging/BuildXL.Selfhost/nuget/v3/index.json",
2019-03-29 01:14:25 +03:00
"nuget.org" : "http://api.nuget.org/v3/index.json",
"roslyn-tools" : "https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json",
2019-05-08 00:20:29 +03:00
"msbuild" : "https://dotnet.myget.org/F/msbuild/api/v3/index.json",
2019-05-23 12:37:30 +03:00
"dotnet-core" : "https://dotnet.myget.org/F/dotnet-core/api/v3/index.json",
2021-11-02 01:14:46 +03:00
"dotnet-arcade" : "https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json",
2019-05-08 00:20:29 +03:00
},
2019-03-29 01:14:25 +03:00
packages: [
2021-02-24 01:57:22 +03:00
{ id: "NLog", version: "4.7.7" },
2019-03-29 01:14:25 +03:00
{ id: "Bond.Core.CSharp", version: "8.0.0" },
{ id: "Bond.CSharp", version: "8.0.0" },
{ id: "Bond.CSharp.osx-x64", version: "8.0.0" },
{ id: "Bond.Runtime.CSharp", version: "8.0.0" },
{ id: "CLAP", version: "4.6" },
2019-12-13 04:03:27 +03:00
{ id: "CLAP-DotNetCore", version: "4.6" },
2019-03-29 01:14:25 +03:00
2021-02-26 02:14:57 +03:00
{ id: "RuntimeContracts", version: "0.3.0" }, // Be very careful with updating this version, because CloudBuild and other repository needs to be updated as wwell
2021-02-24 03:13:26 +03:00
{ id: "RuntimeContracts.Analyzer", version: "0.3.2" }, // The versions are different because the analyzer has higher version for now.
2019-03-29 01:14:25 +03:00
2021-01-12 01:56:55 +03:00
{ id: "Microsoft.NETFramework.ReferenceAssemblies.net451", version: "1.0.0", osSkip: [ "macOS", "unix" ] },
{ id: "Microsoft.NETFramework.ReferenceAssemblies.net461", version: "1.0.0", osSkip: [ "macOS", "unix" ] },
{ id: "Microsoft.NETFramework.ReferenceAssemblies.net462", version: "1.0.0" },
{ id: "Microsoft.NETFramework.ReferenceAssemblies.net472", version: "1.0.0" },
2019-03-29 01:14:25 +03:00
2021-06-26 01:36:57 +03:00
{ id: "System.Diagnostics.DiagnosticSource", version: "4.5.1" },
2019-03-29 01:14:25 +03:00
{ id: "System.Diagnostics.DiagnosticSource", version: "4.0.0-beta-23516", alias: "System.Diagnostics.DiagnosticsSource.ForEventHub"},
// Roslyn
2021-11-23 02:50:50 +03:00
{ id: "Microsoft.Net.Compilers", version: "4.0.1" }, // Update Public/Src/Engine/UnitTests/Engine/Test.BuildXL.Engine.dsc if you change the version of Microsoft.Net.Compilers.
{ id: "Microsoft.NETCore.Compilers", version: "4.0.1" },
2020-06-02 00:40:43 +03:00
{ id: "Microsoft.CodeAnalysis.Common", version: "3.5.0" },
{ id: "Microsoft.CodeAnalysis.CSharp", version: "3.5.0" },
2020-09-16 07:20:22 +03:00
{ id: "Microsoft.CodeAnalysis.VisualBasic", version: "3.5.0" },
2020-06-02 00:40:43 +03:00
{ id: "Microsoft.CodeAnalysis.Workspaces.Common", version: "3.5.0",
2019-03-29 01:14:25 +03:00
dependentPackageIdsToSkip: ["SQLitePCLRaw.bundle_green", "System.Composition"],
dependentPackageIdsToIgnore: ["SQLitePCLRaw.bundle_green", "System.Composition"],
},
2020-06-02 00:40:43 +03:00
{ id: "Microsoft.CodeAnalysis.CSharp.Workspaces", version: "3.5.0" },
2019-03-29 01:14:25 +03:00
2020-12-10 03:44:46 +03:00
// VBCSCompilerLogger needs the latest version (.net 5), but we haven't completed the migration to net 5 for
// the rest of the codebase yet
// Note: if any of the CodeAnalysis packages get upgraded, any new
// switch introduced in the compiler command line argument supported by
// the new version needs to be evaluated and incorporated into VBCSCompilerLogger.cs
{ id: "Microsoft.CodeAnalysis.Common", version: "3.8.0", alias: "Microsoft.CodeAnalysis.Common.ForVBCS"},
{ id: "Microsoft.CodeAnalysis.CSharp", version: "3.8.0", alias: "Microsoft.CodeAnalysis.CSharp.ForVBCS",
dependentPackageIdsToSkip: ["Microsoft.CodeAnalysis.Common"] },
{ id: "Microsoft.CodeAnalysis.VisualBasic", version: "3.8.0", alias: "Microsoft.CodeAnalysis.VisualBasic.ForVBCS",
dependentPackageIdsToSkip: ["Microsoft.CodeAnalysis.Common"]},
{ id: "Microsoft.CodeAnalysis.Workspaces.Common", version: "3.8.0", alias: "Microsoft.CodeAnalysis.Workspaces.Common.ForVBCS",
dependentPackageIdsToSkip: ["SQLitePCLRaw.bundle_green", "System.Composition"],
dependentPackageIdsToIgnore: ["SQLitePCLRaw.bundle_green", "System.Composition"],
},
{ id: "Microsoft.CodeAnalysis.CSharp.Workspaces", version: "3.8.0", alias: "Microsoft.CodeAnalysis.CSharp.Workspaces.ForVBCS" },
{ id: "Humanizer.Core", version: "2.2.0" },
2020-01-14 22:56:56 +03:00
// Old code analysis libraries, for tests only
{ id: "Microsoft.CodeAnalysis.Common", version: "2.10.0", alias: "Microsoft.CodeAnalysis.Common.Old" },
{ id: "Microsoft.CodeAnalysis.CSharp", version: "2.10.0", alias: "Microsoft.CodeAnalysis.CSharp.Old" },
2020-09-16 07:20:22 +03:00
{ id: "Microsoft.CodeAnalysis.VisualBasic", version: "2.10.0", alias: "Microsoft.CodeAnalysis.VisualBasic.Old" },
2020-01-14 22:56:56 +03:00
2019-03-29 01:14:25 +03:00
// Roslyn Analyzers
2021-11-12 00:46:35 +03:00
{ id: "Microsoft.CodeAnalysis.Analyzers", version: "3.3.1" },
2019-03-29 01:14:25 +03:00
{ id: "Microsoft.CodeAnalysis.FxCopAnalyzers", version: "2.6.3" },
{ id: "Microsoft.CodeQuality.Analyzers", version: "2.3.0-beta1" },
{ id: "Microsoft.NetFramework.Analyzers", version: "2.3.0-beta1" },
{ id: "Microsoft.NetCore.Analyzers", version: "2.3.0-beta1" },
2019-11-14 00:50:21 +03:00
2021-01-28 04:27:14 +03:00
{ id: "AsyncFixer", version: "1.5.1" },
2021-02-25 02:02:04 +03:00
{ id: "ErrorProne.NET.CoreAnalyzers", version: "0.3.1-beta.2" },
2021-06-22 01:19:32 +03:00
{ id: "protobuf-net.BuildTools", version: "3.0.101" },
2021-04-28 23:15:03 +03:00
{ id: "Microsoft.VisualStudio.Threading.Analyzers", version: "16.9.60"},
2021-01-15 21:05:27 +03:00
{ id: "StructRecordGenerator", version: "0.4.0"},
2019-03-29 01:14:25 +03:00
{ id: "StyleCop.Analyzers", version: "1.1.0-beta004" },
{ id: "Text.Analyzers", version: "2.3.0-beta1" },
// MEF
{ id: "Microsoft.Composition", version: "1.0.30" },
{ id: "System.Composition.AttributedModel", version: "1.0.31" },
{ id: "System.Composition.Convention", version: "1.0.31" },
{ id: "System.Composition.Hosting", version: "1.0.31" },
{ id: "System.Composition.Runtime", version: "1.0.31" },
{ id: "System.Composition.TypedParts", version: "1.0.31" },
{ id: "Microsoft.Diagnostics.Tracing.EventSource.Redist", version: "1.1.28" },
{ id: "Microsoft.Diagnostics.Tracing.TraceEvent", version: "2.0.30" },
{ id: "Microsoft.Extensions.Globalization.CultureInfoCache", version: "1.0.0-rc1-final" },
{ id: "Microsoft.Extensions.MemoryPool", version: "1.0.0-rc1-final" },
2019-06-28 05:24:58 +03:00
{ id: "Microsoft.Extensions.PlatformAbstractions", version: "1.1.0" },
2020-01-30 19:18:57 +03:00
{ id: "Microsoft.Extensions.Http", version: "3.1.0" },
2019-03-29 01:14:25 +03:00
{ id: "Microsoft.Tpl.Dataflow", version: "4.5.24" },
{ id: "Microsoft.TypeScript.Compiler", version: "1.8" },
{ id: "Microsoft.WindowsAzure.ConfigurationManager", version: "1.8.0.0" },
2020-05-08 19:46:14 +03:00
{ id: "Newtonsoft.Json", version: "12.0.3" },
2019-03-29 01:14:25 +03:00
{ id: "Newtonsoft.Json.Bson", version: "1.0.1" },
{ id: "System.Reflection.Metadata", version: "1.6.0" },
2020-12-10 03:44:46 +03:00
{ id: "System.Reflection.Metadata", version: "5.0.0", alias: "System.Reflection.Metadata.ForVBCS" },
2019-03-29 01:14:25 +03:00
{ id: "System.Threading.Tasks.Dataflow", version: "4.9.0" },
// Nuget
{ id: "NuGet.Commandline", version: "4.7.1" },
{ id: "NuGet.Versioning", version: "4.6.0" }, // Can't use the latest becuase nuget extracts to folder with metadata which we don't support yet.
2020-01-16 02:42:07 +03:00
{ id: "NuGet.Frameworks", version: "5.0.0"}, // needed for qtest on .net core
2019-03-29 01:14:25 +03:00
2019-05-08 00:46:04 +03:00
// ProjFS (virtual file system)
2020-05-07 19:30:39 +03:00
{ id: "Microsoft.Windows.ProjFS", version: "1.2.19351.1" },
2019-05-08 00:46:04 +03:00
2019-03-29 01:14:25 +03:00
// RocksDb
2021-07-16 23:01:31 +03:00
{ id: "RocksDbSharp", version: "6.10.2-b20210714.1", alias: "RocksDbSharpSigned",
2021-04-23 01:43:52 +03:00
dependentPackageIdsToSkip: [ "System.Memory" ],
dependentPackageIdsToIgnore: [ "System.Memory" ]
},
2021-07-16 23:01:31 +03:00
{ id: "RocksDbNative", version: "6.10.2-b20210714.1" },
2020-09-22 19:02:00 +03:00
2019-04-27 02:35:29 +03:00
{ id: "JsonDiffPatch.Net", version: "2.1.0" },
2019-03-29 01:14:25 +03:00
// Event hubs
2021-06-26 01:36:57 +03:00
{ id: "Microsoft.Azure.Amqp", version: "2.4.11" },
{ id: "Microsoft.Azure.EventHubs", version: "4.3.2",
2019-12-19 00:41:13 +03:00
dependentPackageIdsToSkip: ["System.Net.Http", "System.Reflection.TypeExtensions", "System.Runtime.Serialization.Primitives", "Newtonsoft.Json", "System.Diagnostics.DiagnosticSource"],
2019-03-29 01:14:25 +03:00
},
{ id: "Microsoft.Azure.KeyVault.Core", version: "1.0.0" },
{ id: "Microsoft.Azure.Services.AppAuthentication", version: "1.0.3" },
2021-06-26 01:36:57 +03:00
{ id: "Microsoft.IdentityModel.Logging", version: "5.4.0" },
{ id: "Microsoft.IdentityModel.Tokens", version: "5.4.0",
2019-12-13 04:03:27 +03:00
dependentPackageIdsToSkip: ["Newtonsoft.Json"] },
2021-06-26 01:36:57 +03:00
{ id: "System.IdentityModel.Tokens.Jwt", version: "5.4.0",
2019-12-13 04:03:27 +03:00
dependentPackageIdsToSkip: ["Newtonsoft.Json"] },
2021-06-26 01:36:57 +03:00
{ id: "Microsoft.IdentityModel.JsonWebTokens", version: "5.4.0" },
2019-03-29 01:14:25 +03:00
2020-08-03 21:29:15 +03:00
// Key Vault
{ id: "Azure.Security.KeyVault.Secrets", version: "4.0.3" },
2020-11-24 03:22:26 +03:00
{ id: "Azure.Security.KeyVault.Certificates", version: "4.0.3" },
2021-06-26 01:36:57 +03:00
{ id: "Azure.Identity", version: "1.4.0" },
2021-08-11 02:26:50 +03:00
{ id: "Microsoft.Identity.Client", version: "4.30.1" },
2021-06-26 01:36:57 +03:00
{ id: "Microsoft.Identity.Client.Extensions.Msal", version: "2.18.4" },
{ id: "Azure.Core", version: "1.14.0",
dependentPackageIdsToSkip: ["System.Buffers", "System.Text.Encodings.Web", "System.Text.Json", "System.Memory", "System.Memory.Data", "System.Numerics.Vectors" ] },
{ id: "System.Memory.Data", version: "1.0.2" },
2020-08-03 21:29:15 +03:00
2019-03-29 01:14:25 +03:00
// Package sets
...importFile(f`config.nuget.vssdk.dsc`).pkgs,
...importFile(f`config.nuget.aspNetCore.dsc`).pkgs,
2020-01-30 19:18:57 +03:00
...importFile(f`config.nuget.dotnetcore.dsc`).pkgs,
...importFile(f`config.nuget.grpc.dsc`).pkgs,
2019-03-29 01:14:25 +03:00
...importFile(f`config.microsoftInternal.dsc`).pkgs,
2019-06-28 05:24:58 +03:00
{ id: "WindowsAzure.Storage", version: "9.3.3", alias: "WindowsAzure.Storage" },
2019-03-29 01:14:25 +03:00
{ id: "Microsoft.Data.Services.Client", version: "5.8.2" },
{ id: "System.Spatial", version: "5.8.2" },
// xUnit
2019-05-23 12:37:30 +03:00
{ id: "xunit.abstractions", version: "2.0.3" },
2019-03-29 01:14:25 +03:00
{ id: "xunit.analyzers", version: "0.10.0" },
2019-05-17 00:42:36 +03:00
{ id: "xunit.assert", version: "2.4.1-ms" },
{ id: "xunit.core", version: "2.4.1-ms" },
2019-05-23 12:37:30 +03:00
{ id: "xunit.extensibility.core", version: "2.4.1" },
{ id: "xunit.extensibility.execution", version: "2.4.1" },
{ id: "xunit.runner.console", version: "2.4.1" },
{ id: "microsoft.dotnet.xunitconsolerunner", version: "2.5.1-beta.19270.4" },
{ id: "xunit.runner.reporters", version: "2.4.1-pre.build.4059" },
{ id: "xunit.runner.utility", version: "2.4.1" },
2020-01-16 02:42:07 +03:00
{ id: "xunit.runner.visualstudio", version: "2.4.1", dependentPackageIdsToSkip: ["Microsoft.NET.Test.Sdk"] },
// microsoft test platform
{ id: "Microsoft.TestPlatform.TestHost", version: "16.4.0"},
{ id: "Microsoft.TestPlatform.ObjectModel", version: "16.4.0"},
{ id: "Microsoft.NET.Test.Sdk", version: "15.9.0" },
{ id: "Microsoft.CodeCoverage", version: "15.9.0" },
2019-03-29 01:14:25 +03:00
2020-10-28 23:49:58 +03:00
{ id: "Microsoft.IdentityModel.Clients.ActiveDirectory", version: "5.2.6", /* Change Sync: BuildXLSdk.cacheBindingRedirects() */
2019-12-13 04:03:27 +03:00
dependentPackageIdsToSkip: ["Xamarin.Android.Support.CustomTabs", "Xamarin.Android.Support.v7.AppCompat"] },
2020-05-08 19:46:14 +03:00
{ id: "System.Private.Uri", version: "4.3.2" },
2019-03-29 01:14:25 +03:00
// CloudStore dependencies
2020-03-24 21:40:18 +03:00
{ id: "DeduplicationSigned", version: "1.0.14" },
2019-03-29 01:14:25 +03:00
{ id: "Microsoft.Bcl", version: "1.1.10" },
{ id: "Microsoft.Bcl.Async", version: "1.0.168" },
2021-02-25 21:37:23 +03:00
{ id: "Microsoft.Bcl.AsyncInterfaces", version: "5.0.0", dependentPackageIdsToSkip: ["System.Threading.Tasks.Extensions"] },
2019-03-29 01:14:25 +03:00
{ id: "Microsoft.Bcl.Build", version: "1.0.14" },
2021-02-25 21:37:23 +03:00
{ id: "StackExchange.Redis", version: "2.2.4",
dependentPackageIdsToSkip: ["System.IO.Pipelines", "System.Threading.Channels", "Pipelines.Sockets.Unofficial"] },
{ id: "Pipelines.Sockets.Unofficial", version: "2.2.0",
2020-04-29 22:25:20 +03:00
dependentPackageIdsToSkip: ["System.IO.Pipelines", "System.Runtime.CompilerServices.Unsafe", "Microsoft.Bcl.AsyncInterfaces"] },
2021-02-25 21:37:23 +03:00
{ id: "System.Diagnostics.PerformanceCounter", version: "5.0.0" },
{ id: "System.Threading.Channels", version: "5.0.0", dependentPackageIdsToSkip: ["System.Threading.Tasks.Extensions"] },
2020-05-14 22:24:51 +03:00
{ id: "System.Linq.Async", version: "4.0.0"},
2020-11-11 23:07:23 +03:00
{ id: "Polly", version: "7.2.1" },
{ id: "Polly.Contrib.WaitAndRetry", version: "1.1.1" },
2020-04-21 21:21:00 +03:00
{ id: "Redis-64", version: "3.0.503", osSkip: [ "macOS", "unix" ] },
2020-02-07 02:41:56 +03:00
{ id: "Redis-osx-x64", version: "1.0.0", osSkip: importFile(f`config.microsoftInternal.dsc`).isMicrosoftInternal
? [ "win" ]
2020-04-21 21:21:00 +03:00
: [ "win", "macOS", "unix" ] },
2019-03-29 01:14:25 +03:00
// Testing
2021-07-24 05:56:39 +03:00
{ id: "System.Security.Cryptography.ProtectedData", version: "5.0.0"},
2019-03-29 01:14:25 +03:00
{ id: "System.Configuration.ConfigurationManager", version: "4.4.0"},
2019-12-24 05:12:31 +03:00
{ id: "FluentAssertions", version: "5.3.0",
2019-12-13 04:03:27 +03:00
dependentPackageIdsToSkip: ["System.Reflection.Emit", "System.Reflection.Emit.Lightweight"] },
2019-03-29 01:14:25 +03:00
{ id: "DotNet.Glob", version: "2.0.3" },
{ id: "Minimatch", version: "1.1.0.0" },
2020-05-08 19:46:14 +03:00
{ id: "Microsoft.ApplicationInsights", version: "2.11.0", dependentPackageIdsToIgnore: ["System.RunTime.InteropServices"] },
2019-03-29 01:14:25 +03:00
{ id: "Microsoft.ApplicationInsights.Agent.Intercept", version: "2.0.7" },
{ id: "Microsoft.ApplicationInsights.DependencyCollector", version: "2.3.0" },
{ id: "Microsoft.ApplicationInsights.PerfCounterCollector", version: "2.3.0" },
{ id: "Microsoft.ApplicationInsights.WindowsServer", version: "2.3.0" },
{ id: "Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel", version: "2.3.0" },
{ id: "System.Security.Cryptography.Xml", version: "4.5.0" },
2021-03-26 05:07:40 +03:00
{ id: "System.Text.Encodings.Web", version: "4.7.2" },
2019-03-29 01:14:25 +03:00
{ id: "System.Security.Permissions", version: "4.5.0" },
{ id: "System.Security.Cryptography.Pkcs", version: "4.5.0" },
{ id: "ILRepack", version: "2.0.16" },
// VS language service
{ id: "System.Runtime.Analyzers", version: "1.0.1" },
{ id: "System.Runtime.InteropServices.Analyzers", version: "1.0.1" },
{ id: "System.Security.Cryptography.Hashing.Algorithms.Analyzers", version: "1.1.0" },
2021-11-03 19:39:52 +03:00
{ id: "Nerdbank.FullDuplexStream", version: "1.1.12"},
{ id: "Validation", version: "2.5.42"},
2019-03-29 01:14:25 +03:00
// VSTS managed API
{ id: "Microsoft.TeamFoundationServer.Client", version: "15.122.1-preview"},
2019-12-24 05:12:31 +03:00
{ id: "Microsoft.TeamFoundation.DistributedTask.WebApi", version: "15.122.1-preview",
2019-12-13 04:03:27 +03:00
dependentPackageIdsToSkip: ["*"] },
2019-03-29 01:14:25 +03:00
{ id: "Microsoft.TeamFoundation.DistributedTask.Common", version: "15.112.1"},
{ id: "Microsoft.TeamFoundation.DistributedTask.Common.Contracts", version: "16.137.0-preview"},
// MSBuild. These should be used for compile references only, as at runtime one can only practically use MSBuilds from Visual Studio / dotnet CLI
2021-01-12 01:56:55 +03:00
{ id: "Microsoft.Build", version: "16.5.0",
2019-08-16 22:54:39 +03:00
dependentPackageIdsToSkip: ["System.Threading.Tasks.Dataflow", "System.Memory"], // These are overwritten in the deployment by DataflowForMSBuild and SystemMemoryForMSBuild since it doesn't work with the versions we use in larger buildxl.
2019-03-29 01:14:25 +03:00
},
2021-01-12 01:56:55 +03:00
{ id: "Microsoft.Build.Runtime", version: "16.5.0",
2019-03-29 01:14:25 +03:00
dependentPackageIdsToSkip: ["System.Threading.Tasks.Dataflow"],
},
2021-01-12 01:56:55 +03:00
{ id: "Microsoft.Build.Tasks.Core", version: "16.5.0",
2019-03-29 01:14:25 +03:00
dependentPackageIdsToSkip: ["System.Threading.Tasks.Dataflow"],
},
2021-01-12 01:56:55 +03:00
{ id: "Microsoft.Build.Utilities.Core", version: "16.5.0"},
{ id: "Microsoft.Build.Framework", version: "16.5.0"},
2019-12-24 05:12:31 +03:00
{ id: "System.Resources.Extensions", version: "4.6.0-preview9.19411.4",
2019-12-13 04:03:27 +03:00
dependentPackageIdsToSkip: ["System.Memory"]},
2019-03-29 01:14:25 +03:00
2020-05-28 21:31:46 +03:00
// Buffers and Memory
2020-10-28 23:49:58 +03:00
{ id: "System.Buffers", version: "4.5.1" }, /* Change Sync: BuildXLSdk.cacheBindingRedirects() */ // A different version, because StackExchange.Redis uses it.
{ id: "System.Memory", version: "4.5.4", dependentPackageIdsToSkip: ["System.Runtime.CompilerServices.Unsafe", "System.Numerics.Vectors"] }, /* Change Sync: BuildXLSdk.cacheBindingRedirects() */
2021-04-14 20:26:29 +03:00
{ id: "System.Runtime.CompilerServices.Unsafe", version: "5.0.0" }, /* Change Sync: BuildXLSdk.cacheBindingRedirects() */
2021-02-25 21:37:23 +03:00
//{ id: "System.IO.Pipelines", version: "4.7.2", dependentPackageIdsToSkip: ["System.Threading.Tasks.Extensions"] }, /* Change Sync: BuildXLSdk.cacheBindingRedirects() */
2021-11-03 19:39:52 +03:00
{ id: "System.IO.Pipelines", version: "5.0.1", dependentPackageIdsToSkip: ["System.Threading.Tasks.Extensions"] },// alias: "System.IO.Pipelines.v5.0.0" }, /* Change Sync: BuildXLSdk.cacheBindingRedirects() */
2020-10-28 23:49:58 +03:00
{ id: "System.Numerics.Vectors", version: "4.5.0" }, /* Change Sync: BuildXLSdk.cacheBindingRedirects() */
2020-05-28 21:31:46 +03:00
2019-03-29 01:14:25 +03:00
// Extra dependencies to make MSBuild work
{ id: "Microsoft.VisualStudio.Setup.Configuration.Interop", version: "1.16.30"},
{ id: "System.CodeDom", version: "4.4.0"},
2019-12-24 05:12:31 +03:00
{ id: "System.Text.Encoding.CodePages", version: "4.5.1",
2019-12-13 04:03:27 +03:00
dependentPackageIdsToSkip: ["System.Runtime.CompilerServices.Unsafe"]},
2020-04-29 22:25:20 +03:00
{ id: "System.Runtime.CompilerServices.Unsafe", version: "4.5.3", alias: "SystemRuntimeCompilerServicesUnsafeForMSBuild", dependentPackageIdsToSkip: ["*"]},
2020-06-11 00:00:39 +03:00
{id: "System.Numerics.Vectors", version: "4.4.0", alias: "SystemNumericsVectorsForMSBuild"},
2019-06-06 00:16:36 +03:00
// Used for MSBuild input/output prediction
2019-07-12 22:11:35 +03:00
{ id: "Microsoft.Build.Prediction", version: "0.3.0" },
2019-03-29 01:14:25 +03:00
{ id: "SharpZipLib", version: "1.1.0" },
// Ninja JSON graph generation helper
{ id: "BuildXL.Tools.Ninjson", version: "0.0.6" },
{ id: "BuildXL.Tools.AppHostPatcher", version: "1.0.0" },
2019-05-07 18:22:42 +03:00
2019-06-28 05:24:58 +03:00
// Kusto SDK (for netstandard)
2019-12-24 05:12:31 +03:00
{ id: "Microsoft.Azure.Kusto.Cloud.Platform.Azure.NETStandard", version: "6.1.8",
2019-12-13 04:03:27 +03:00
dependentPackageIdsToSkip: ["Microsoft.Extensions.PlatformAbstractions"] },
2019-12-24 05:12:31 +03:00
{ id: "Microsoft.Azure.Kusto.Cloud.Platform.NETStandard", version: "6.1.8",
2019-12-13 04:03:27 +03:00
dependentPackageIdsToSkip: ["Microsoft.Extensions.PlatformAbstractions"] },
2019-12-24 05:12:31 +03:00
{ id: "Microsoft.Azure.Kusto.Data.NETStandard", version: "6.1.8",
2019-12-13 04:03:27 +03:00
dependentPackageIdsToSkip: ["Microsoft.Extensions.PlatformAbstractions"] },
2019-12-24 05:12:31 +03:00
{ id: "Microsoft.Azure.Kusto.Ingest.NETStandard", version: "6.1.8",
2019-12-13 04:03:27 +03:00
dependentPackageIdsToSkip: ["Microsoft.Extensions.PlatformAbstractions"] },
2019-06-28 05:24:58 +03:00
{ id: "Microsoft.IO.RecyclableMemoryStream", version: "1.2.2" },
{ id: "Microsoft.Azure.KeyVault", version: "3.0.1"},
{ id: "Microsoft.Azure.KeyVault.WebKey", version: "3.0.1"},
2020-07-08 04:30:28 +03:00
2019-06-28 05:24:58 +03:00
// Kusto SDK (for full framework)
{ id: "Microsoft.Azure.Kusto.Data", version: "6.1.8" },
{ id: "Microsoft.Azure.Kusto.Ingest", version: "6.1.8" },
{ id: "Microsoft.Azure.Kusto.Tools", version: "2.2.2" },
{ id: "Microsoft.Azure.Management.Kusto", version: "1.0.0" },
2019-08-17 01:33:37 +03:00
2020-07-08 04:30:28 +03:00
// Azure Communication
{ id: "Microsoft.Rest.ClientRuntime", version: "2.3.21",
dependentPackageIdsToSkip: ["Microsoft.NETCore.Runtime"],
dependentPackageIdsToIgnore: ["Microsoft.NETCore.Runtime"],
},
{ id: "Microsoft.Rest.ClientRuntime.Azure", version: "3.3.18" },
{ id: "Microsoft.Rest.ClientRuntime.Azure.Authentication", version: "2.4.0" },
// Azure Management SDK
{ id: "Microsoft.Azure.Management.AppService.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.BatchAI.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.Cdn.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.Compute.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.ContainerInstance.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.ContainerRegistry.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.ContainerService.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.CosmosDB.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.Dns.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.EventHub.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.Graph.RBAC.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.KeyVault.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.Locks.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.Msi.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.Network.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.PrivateDns.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.Search.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.ServiceBus.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.Sql.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.Storage.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.TrafficManager.Fluent", version: "1.33.0" },
// These are the ones we actually care about
{ id: "Microsoft.Azure.Management.Redis", version: "5.0.0" },
{ id: "Microsoft.Azure.Management.Redis.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.ResourceManager.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.Monitor.Fluent", version: "1.33.0" },
{ id: "Microsoft.Azure.Management.Monitor", version: "0.25.0-preview" },
2021-11-08 21:59:59 +03:00
2020-08-08 03:31:43 +03:00
// FsCheck
{ id: "FsCheck", version: "2.14.3" },
{ id: "FSharp.Core", version: "4.2.3" },
2019-08-17 01:33:37 +03:00
// ANTLR
2020-04-02 05:48:45 +03:00
{ id: "Antlr4.Runtime.Standard", version: "4.7.2" },
// Runtime dependencies for Linux
2020-09-22 19:02:00 +03:00
{
id: "runtime.linux-x64.BuildXL",
2021-08-13 01:40:34 +03:00
version: "0.0.52",
2020-09-22 19:02:00 +03:00
osSkip: importFile(f`config.microsoftInternal.dsc`).isMicrosoftInternal
? []
2020-04-21 21:21:00 +03:00
: [ "win", "macOS", "unix" ]
2021-03-16 10:29:35 +03:00
},
// For C++ testing
2021-11-12 04:52:08 +03:00
{ id: "boost", version: "1.71.0.0" },
// Needed for SBOM Generation
{ id: "Microsoft.Extensions.Logging.Abstractions", version: "6.0.0", alias: "Microsoft.Extensions.Logging.Abstractions.v6.0.0", dependentPackageIdsToSkip: ["System.Buffers", "System.Memory"] },
{ id: "System.Text.Encodings.Web", version: "5.0.1", dependentPackageIdsToSkip: ["System.Buffers", "System.Memory"], alias: "System.Text.Encodings.Web.v5.0.1" },
2021-12-02 01:11:29 +03:00
{ id: "PackageUrl", version: "1.0.0" },
{ id: "System.Reactive", version: "4.4.1" }
2019-03-29 01:14:25 +03:00
],
doNotEnforceDependencyVersions: true,
},
importFile(f`config.microsoftInternal.dsc`).resolver,
2021-11-19 00:47:42 +03:00
// .NET Runtimes.
{ kind: "SourceResolver", modules: [f`Public\Sdk\SelfHost\Libraries\Dotnet-Runtime-External\module.config.dsc`] },
{ kind: "SourceResolver", modules: [f`Public\Sdk\SelfHost\Libraries\Dotnet-Runtime-5-External\module.config.dsc`] },
{ kind: "SourceResolver", modules: [f`Public\Sdk\SelfHost\Libraries\Dotnet-Runtime-6-External\module.config.dsc`] },
2019-03-29 01:14:25 +03:00
{
kind: "Download",
downloads: [
// PowerShell.Core
{
moduleName: "PowerShell.Core.win-x64",
url: "https://github.com/PowerShell/PowerShell/releases/download/v6.1.3/PowerShell-6.1.3-win-x64.zip",
hash: "VSO0:E8E98155383EDFE3CA6D06854638560EAB57C8225880B5308547A916DBE9A9A900",
archiveType: "zip",
},
{
moduleName: "PowerShell.Core.osx-x64",
url: "https://github.com/PowerShell/PowerShell/releases/download/v6.1.3/PowerShell-6.1.3-osx-x64.tar.gz",
hash: "VSO0:6D3B557962CC26CC9BB6F8A35B288CE8C68460E68B74B73C85BECAE87BB311D600",
archiveType: "tgz",
},
{
moduleName: "PowerShell.Core.linux-x64",
url: "https://github.com/PowerShell/PowerShell/releases/download/v6.1.3/PowerShell-6.1.3-linux-x64.tar.gz",
hash: "VSO0:159D6D8F82D59AD34D2F8A7084D05C25D6B532DE22CD9502882385F62CDD070300",
archiveType: "tgz",
},
2020-01-20 17:24:46 +03:00
// XNU kernel sources
{
moduleName: "Apple.Darwin.Xnu",
url: "https://github.com/apple/darwin-xnu/archive/xnu-4903.221.2.tar.gz",
hash: "VSO0:D6D26AEECA99240D2D833B6B8B811609B9A6E3516C0EE97A951B64F9AA4F90F400",
archiveType: "tgz",
},
2021-11-19 00:47:42 +03:00
// DotNet Core Runtime 6.0
{
moduleName: "DotNet-Runtime.win-x64.6.0.100",
url: "https://download.visualstudio.microsoft.com/download/pr/6b96c97d-9b8c-4141-a32a-5848d3369dbf/9972321cb7af5938fecdee2d8ebd72bb/dotnet-runtime-6.0.0-win-x64.zip",
hash: "VSO0:348EDC89870A606AA3D6F54A739F0AF2FA419F2C53CAAC68A67C164F71B6783100",
archiveType: "zip",
},
{
moduleName: "DotNet-Runtime.osx-x64.6.0.100",
url: "https://download.visualstudio.microsoft.com/download/pr/d88f74a5-05d2-46cb-886a-a62fd698009d/67f5f05e9c029d284c309f0f712fc99f/dotnet-runtime-6.0.0-osx-x64.tar.gz",
hash: "VSO0:EA9C0CA099E14C45F979B6A3336A609EB50EE1AB20D2A7AD27C22CDADF94775400",
archiveType: "tgz",
},
{
moduleName: "DotNet-Runtime.linux-x64.6.0.100",
url: "https://download.visualstudio.microsoft.com/download/pr/0ce1c34f-0d9e-4d9b-964e-da676c8e605a/7a6c353b36477fa84f85b2821f2350c2/dotnet-runtime-6.0.0-linux-x64.tar.gz",
hash: "VSO0:CD73230C70E54FA5F9AF8B65174CF6AD07995ACADCF7D5DCD0A02F6601FF4EE200",
archiveType: "tgz",
},
2020-11-19 03:25:17 +03:00
// DotNet Core Runtime 5.0
{
moduleName: "DotNet-Runtime.win-x64.5.0.100",
2021-10-05 02:20:39 +03:00
url: "https://download.visualstudio.microsoft.com/download/pr/e285f4d2-03b3-44b3-960c-4897d24b36a6/3e2458ba37e913aad84394253c0a50da/dotnet-runtime-5.0.10-win-x64.zip",
hash: "VSO0:23E48E45703DAC800E97ADE38E43CACB8518D895F72AAB9EB426D9ADE837F6C200",
2020-11-19 03:25:17 +03:00
archiveType: "zip",
},
{
moduleName: "DotNet-Runtime.osx-x64.5.0.100",
url: "https://download.visualstudio.microsoft.com/download/pr/112291a5-e3e0-4741-9c66-c9cea6231f3f/3ebd75dfda0492fcbf50c6f939762c46/dotnet-runtime-5.0.0-osx-x64.tar.gz",
hash: "VSO0:FA5B6AD52AB940BD56BFAE1A1D841885071EE82A356C8D7EA82FCCAE562920FB00",
archiveType: "tgz",
},
{
moduleName: "DotNet-Runtime.linux-x64.5.0.100",
2021-10-05 02:20:39 +03:00
url: "https://download.visualstudio.microsoft.com/download/pr/4bb93b65-658d-4c6c-b4e2-32ec2a3d8aa6/ca3a11e65bcbc6dbb30330a54fcc1059/dotnet-runtime-5.0.10-linux-x64.tar.gz",
hash: "VSO0:A7B32570216C6EBF2EA18584402EE03FB58246483A49977877D20B9654A321F300",
2020-11-19 03:25:17 +03:00
archiveType: "tgz",
},
// DotNet Core Runtime 3.1
2019-03-29 01:14:25 +03:00
{
2021-10-19 20:27:01 +03:00
moduleName: "DotNet-Runtime.win-x64.3.1.19",
url: "https://download.visualstudio.microsoft.com/download/pr/931d585f-d14b-4714-93e7-b6c648b2aabd/8040f6c391002ae09b3e79662033eeb1/aspnetcore-runtime-3.1.19-win-x64.zip",
hash: "VSO0:AA74CA39625548953060640B7F2D2B535A12E49B2E8995E66E86C774F2D6C4FC00",
2019-03-29 01:14:25 +03:00
archiveType: "zip",
},
{
2021-10-19 20:27:01 +03:00
moduleName: "DotNet-Runtime.osx-x64.3.1.19",
url: "https://download.visualstudio.microsoft.com/download/pr/d8fc8a1f-8d5f-4ab9-b847-5a265231987f/f634e0332753e0a436d16c7a9e0614dc/aspnetcore-runtime-3.1.19-osx-x64.tar.gz",
hash: "VSO0:51F3BFF42A88CA9DE4034CC6EE895AB9151498DE380EA9A3B3D41E0CB7BE607600",
2019-03-29 01:14:25 +03:00
archiveType: "tgz",
},
2020-04-21 21:21:00 +03:00
{
2021-10-19 20:27:01 +03:00
moduleName: "DotNet-Runtime.linux-x64.3.1.19",
url: "https://download.visualstudio.microsoft.com/download/pr/7a050aa5-7842-4bfa-a1c9-67c6c5995ea9/5592f443610943d5ca738ae92309dfab/aspnetcore-runtime-3.1.19-linux-x64.tar.gz",
hash: "VSO0:C6CA26DD12EBC3A35AEEFAF400DA970F2AAAA6864EEF660247754594F4B330DF00",
2020-04-21 21:21:00 +03:00
archiveType: "tgz",
},
2020-11-19 03:25:17 +03:00
2019-07-17 20:23:37 +03:00
// The following are needed for dotnet core MSBuild test deployments
{
moduleName: "DotNet-Runtime.win-x64.2.2.2",
url: "https://download.visualstudio.microsoft.com/download/pr/b10d0a68-b720-48ae-bab8-4ac39bd1b5d3/f32b8b41dff5c1488c2b915a007fc4a6/dotnet-runtime-2.2.2-win-x64.zip",
hash: "VSO0:6BBAE77F9BA0231C90ABD9EA720FF886E8613CE8EF29D8B657AF201E2982829600",
archiveType: "zip",
},
2019-03-29 01:14:25 +03:00
// NodeJs
{
moduleName: "NodeJs.win-x64",
2021-12-04 03:17:21 +03:00
url: "https://nodejs.org/dist/v17.2.0/node-v17.2.0-win-x64.zip",
hash: "VSO0:D053682662089EE4AA2B04397753B91937A12BA3D15F5D1C9F2C95EC0EF26F6D00",
2019-03-29 01:14:25 +03:00
archiveType: "zip",
},
{
moduleName: "NodeJs.osx-x64",
2021-12-04 03:17:21 +03:00
url: "https://nodejs.org/dist/v17.2.0/node-v17.2.0-darwin-x64.tar.gz",
hash: "VSO0:31505048284CB505647C761B9C9D5115F1461BA35034FC8182308EDE09B9662600",
2019-03-29 01:14:25 +03:00
archiveType: "tgz",
},
2020-04-21 21:21:00 +03:00
{
moduleName: "NodeJs.linux-x64",
2021-12-04 03:17:21 +03:00
url: "https://nodejs.org/dist/v17.2.0/node-v17.2.0-linux-x64.tar.gz",
hash: "VSO0:292B1F4DE654BB6FF3D519CA41762215B863156E79713611258975A12BB11AE100",
2020-04-21 21:21:00 +03:00
archiveType: "tgz",
2019-06-28 00:47:00 +03:00
}
2019-03-29 01:14:25 +03:00
],
},
],
qualifiers: {
defaultQualifier: {
configuration: "debug",
2021-11-19 00:47:42 +03:00
// Once the migration to net6 is done the next line needs to be changed to net5.0
2020-01-08 03:32:29 +03:00
targetFramework: "netcoreapp3.1",
2020-09-22 19:02:00 +03:00
targetRuntime:
2020-04-21 21:21:00 +03:00
Context.getCurrentHost().os === "win" ? "win-x64" :
Context.getCurrentHost().os === "macOS" ? "osx-x64" : "linux-x64",
2019-03-29 01:14:25 +03:00
},
namedQualifiers: {
Debug: {
configuration: "debug",
2020-01-08 03:32:29 +03:00
targetFramework: "netcoreapp3.1",
2019-03-29 01:14:25 +03:00
targetRuntime: "win-x64",
},
DebugNet472: {
configuration: "debug",
targetFramework: "net472",
targetRuntime: "win-x64",
},
DebugDotNetCore: {
configuration: "debug",
2020-01-08 03:32:29 +03:00
targetFramework: "netcoreapp3.1",
2019-03-29 01:14:25 +03:00
targetRuntime: "win-x64",
},
2020-11-19 03:25:17 +03:00
DebugDotNet5: {
configuration: "debug",
targetFramework: "net5.0",
targetRuntime: "win-x64",
},
2021-11-19 00:47:42 +03:00
DebugDotNet6: {
configuration: "debug",
targetFramework: "net6.0",
targetRuntime: "win-x64",
},
2019-03-29 01:14:25 +03:00
DebugDotNetCoreMac: {
configuration: "debug",
2020-01-08 03:32:29 +03:00
targetFramework: "netcoreapp3.1",
2019-03-29 01:14:25 +03:00
targetRuntime: "osx-x64",
},
2020-03-06 23:04:14 +03:00
DebugLinux: {
configuration: "debug",
targetFramework: "netcoreapp3.1",
targetRuntime: "linux-x64",
},
2019-03-29 01:14:25 +03:00
// Release
Release: {
configuration: "release",
2020-01-08 03:32:29 +03:00
targetFramework: "netcoreapp3.1",
2019-03-29 01:14:25 +03:00
targetRuntime: "win-x64",
},
ReleaseNet472: {
configuration: "release",
targetFramework: "net472",
targetRuntime: "win-x64",
},
ReleaseDotNetCore: {
configuration: "release",
2020-01-08 03:32:29 +03:00
targetFramework: "netcoreapp3.1",
2019-03-29 01:14:25 +03:00
targetRuntime: "win-x64",
},
2020-11-19 03:25:17 +03:00
ReleaseDotNet5: {
configuration: "release",
targetFramework: "net5.0",
targetRuntime: "win-x64",
2021-11-19 00:47:42 +03:00
},
ReleaseDotNet6: {
configuration: "release",
targetFramework: "net6.0",
targetRuntime: "win-x64",
},
2019-03-29 01:14:25 +03:00
ReleaseDotNetCoreMac: {
configuration: "release",
2020-01-08 03:32:29 +03:00
targetFramework: "netcoreapp3.1",
2019-03-29 01:14:25 +03:00
targetRuntime: "osx-x64",
},
2020-03-06 23:04:14 +03:00
ReleaseLinux: {
configuration: "release",
targetFramework: "netcoreapp3.1",
targetRuntime: "linux-x64",
},
2019-03-29 01:14:25 +03:00
}
},
mounts: [
...importFile(f`macos.mounts.dsc`).mounts,
{
name: a`DeploymentRoot`,
path: p`Out/Bin`,
trackSourceFileChanges: true,
isWritable: true,
isReadable: true,
},
2019-10-03 21:24:02 +03:00
{
name: a`CgNpmRoot`,
path: p`cg/npm`,
trackSourceFileChanges: true,
2019-10-22 01:29:05 +03:00
isWritable: false,
2019-10-03 21:24:02 +03:00
isReadable: true
},
2019-03-29 01:14:25 +03:00
{
// Special scrubbable mount with the content that can be cleaned up by running bxl.exe /scrub
name: a`ScrubbableDeployment`,
path: Context.getCurrentHost().os === "win" ? p`Out/Objects/TempDeployment` : p`Out/Objects.noindex/TempDeployment`,
trackSourceFileChanges: true,
isWritable: true,
isReadable: true,
isScrubbable: true,
},
{
name: a`SdkRoot`,
path: p`Public/Sdk/Public`,
trackSourceFileChanges: true,
isWritable: false,
isReadable: true,
},
{
name: a`Example`,
path: p`Example`,
trackSourceFileChanges: true,
isWritable: false,
isReadable: true
},
{
name: a`Sandbox`,
path: p`Public/Src/Sandbox`,
trackSourceFileChanges: true,
isWritable: false,
isReadable: true
},
2021-10-06 06:03:52 +03:00
...(Environment.getStringValue("BUILDXL_DROP_CONFIG") !== undefined ?
[
{
// Path used in CloudBuild for things like drop configuration files. These files should not be tracked.
name: a`CloudBuild`,
path: Environment.getPathValue("BUILDXL_DROP_CONFIG").parent,
trackSourceFileChanges: false,
isWritable: false,
isReadable: true
}
] : []),
2019-03-29 01:14:25 +03:00
{
name: a`ThirdParty_mono`,
path: p`third_party/mono@abad3612068e7333956106e7be02d9ce9e346f92`,
trackSourceFileChanges: true,
isWritable: false,
isReadable: true
2021-10-06 19:20:13 +03:00
},
...(Context.getCurrentHost().os === "win" &&
Environment.getFlag("ENABLE_ESRP") &&
Environment.getStringValue("SIGN_TOOL_PATH") !== undefined ? [
{
// This config file may not be in the same directory as the enlistment root
name: a`ESRPClientRoot`,
isReadable: true,
isWritable: false,
isScrubbable: false,
path: f`${Environment.expandEnvironmentVariablesInString(Environment.getStringValue("SIGN_TOOL_PATH"))}`.parent.path,
trackSourceFileChanges: true
}
] : [])
2019-03-29 01:14:25 +03:00
],
searchPathEnumerationTools: [
r`cl.exe`,
r`lib.exe`,
r`link.exe`,
r`sn.exe`,
r`csc.exe`,
r`StyleCopCmd.exe`,
r`BuildXL.LogGen.exe`,
r`csc.exe`,
r`ccrefgen.exe`,
r`ccrewrite.exe`,
r`FxCopCmd.exe`,
r`NuGet.exe`
],
ide: {
// Let the /VS flag generate the projects in the source tree so that add/remove C# file works properly.
canWriteToSrc: true,
dotSettingsFile: f`Public/Sdk/SelfHost/BuildXL/BuildXL.sln.DotSettings`,
},
2020-07-03 00:35:00 +03:00
cacheableFileAccessAllowlist: Context.getCurrentHost().os !== "win" ? [] : [
2019-03-29 01:14:25 +03:00
// Allow the debugger to be able to be launched from BuildXL Builds
{
name: "JitDebugger",
toolPath: f`${Environment.getDirectoryValue("SystemRoot")}/system32/vsjitdebugger.exe`,
pathRegex: `.*${Environment.getStringValue("CommonProgramFiles").replace("\\", "\\\\")}\\\\Microsoft Shared\\\\VS7Debug\\\\.*`
},
2021-07-15 00:21:37 +03:00
// cl.exe may write temporary files under its working directory
{
name: "cl.exe",
toolPath: a`cl.exe`,
pathRegex: ".*.tmp"
}
2019-03-29 01:14:25 +03:00
]
});