Merged PR 765884: DScript spec cleanup

Re-applies original clean up waves: https://dev.azure.com/mseng/Domino/_git/BuildXL.Internal/pullrequest/765540 and https://dev.azure.com/mseng/Domino/_git/BuildXL.Internal/pullrequest/763864, plus a fix for the VBCS compiler logger that ocurred in some QB queues using an old VS installation
This commit is contained in:
Serge Mera 2024-02-07 22:11:01 +00:00
Родитель 3771641eea
Коммит 3f7067534f
53 изменённых файлов: 357 добавлений и 417 удалений

Просмотреть файл

@ -85,7 +85,7 @@ export function test(args: TestArguments): Managed.TestResult {
skipTestRun: !BuildXLSdk.targetFrameworkMatchesCurrentHost,
references: [
SdkTesting.Helper.dll,
importFrom("System.Runtime.CompilerServices.Unsafe").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Runtime.CompilerServices.Unsafe").pkg,
...importFrom("Sdk.Managed.Testing.XUnit").xunitReferences
],
tools: {

Просмотреть файл

@ -4,10 +4,9 @@ import {DotNetCoreVersion, Assembly, Factory} from "Sdk.Managed.Shared";
namespace Helpers {
export declare const qualifier : {};
// For now there are no assemblies to skip, leave this infra in place just in case we need
// this again.
const assemblyNamesToExclude = Set.create(
a`System.IO.FileSystem.AccessControl`,
a`System.Security.AccessControl`,
a`System.Security.Principal.Windows`
);
// We skip deploying those files from the .NET Core package as we need those very assemblies from their dedicated package

Просмотреть файл

@ -102,5 +102,5 @@ export const framework : Shared.Framework = {
function createDefaultAssemblies() : Shared.Assembly[] {
const pkgContents = importFrom("Microsoft.NETCore.App.Ref60").Contents.all;
return Helpers.createDefaultAssemblies(pkgContents, "net6.0", /*includeAllAssemblies*/ false);
return Helpers.createDefaultAssemblies(pkgContents, "net6.0", /*includeAllAssemblies*/ true);
}

Просмотреть файл

@ -104,15 +104,17 @@ namespace Factory {
}
@@public
export function filterRuntimeSpecificBinaries(nuget: ManagedNugetPackage, exclusions: ManagedNugetPackage[]): ManagedNugetPackage {
const oldRuntimeBinaries: Binary[] = nuget.runtime;
const runtimeSpecificBinaries: Binary[] = exclusions.mapMany(exclusion => exclusion.runtime);
const runtimeSpecificFileNames: PathAtom[] = runtimeSpecificBinaries.mapMany(binaryFileNames);
export function filterSpecificBinaries(nuget: ManagedNugetPackage, exclusions: ManagedNugetPackage[]): ManagedNugetPackage {
const excludedBinaries: File[] = exclusions.mapMany(exclusion => exclusion.contents.contents);
const excludedBinaryNames: PathAtom[] = excludedBinaries.map(file => file.name);
// filter out specified binaries
return nuget.override<ManagedNugetPackage>({
runtime: [
// filter out old binaries that clash with the runtime specific ones
...oldRuntimeBinaries.filter(b => intersect(binaryFileNames(b), runtimeSpecificFileNames).length === 0),
// add runtime specific ones
...nuget.runtime.filter(b => intersect(binaryFileNames(b), excludedBinaryNames).length === 0),
],
compile: [
...nuget.compile.filter(b => intersect(binaryFileNames(b), excludedBinaryNames).length === 0),
]
});
}

Просмотреть файл

@ -69,7 +69,7 @@ const additionalNetCoreRuntimeContent = isDotNetCore(qualifier.targetFramework)
// into a self-contained deployment or treat it as a framework-dependent deployment as intended, let's do the latter
...(getXunitConsoleRuntimeConfigNetCoreAppFiles()),
xunitConsolePackage.getFile(r`/tools/netcoreapp2.0/xunit.runner.utility.netcoreapp10.dll`),
// Note that below we are using different console runner due to this bug https://github.com/xunit/xunit/pull/1846
// that the xunit maintainer does not want to fix. Let's consider removing this patch when we upgrade to xunit 3.0.
xunitNetCoreConsolePackage.getFile(r`/lib/netcoreapp2.0/xunit.console.dll`)

Просмотреть файл

@ -5,11 +5,9 @@ import * as Managed from "Sdk.Managed";
@@public
export const systemThreadingChannelsPackages : Managed.ManagedNugetPackage[] =
// System.Threading.Channels comes bundled with .NET Core, so we don't need to provide it. If we do,
// the version we provide will likely conflict with the official one
// System.Threading.Channels comes bundled with .NET Core, so we don't need to provide it for that case.
isFullFramework || !isDotNetCore
// Needed because net472 -> netstandard2.0 translation is not yet supported by the NuGet resolver.
? [importFrom("System.Threading.Channels").withQualifier({ targetFramework: "netstandard2.0" }).pkg]
? [importFrom("System.Threading.Channels").pkg]
: [];
@@public
@ -44,10 +42,10 @@ export function getSystemMemoryPackages(includeNetStandard: boolean) : (Managed.
export function getSystemMemoryPackagesWithoutNetStandard() : Managed.ManagedNugetPackage[] {
return [
...(isDotNetCore ? [] : [
importFrom("System.Memory").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Buffers").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Runtime.CompilerServices.Unsafe").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Numerics.Vectors").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Memory").pkg,
importFrom("System.Buffers").pkg,
importFrom("System.Runtime.CompilerServices.Unsafe").pkg,
importFrom("System.Numerics.Vectors").pkg,
]
),
];

Просмотреть файл

@ -539,8 +539,8 @@ export function bxlBindingRedirects() {
name: "System.Runtime.CompilerServices.Unsafe",
publicKeyToken: "b03f5f7f11d50a3a",
culture: "neutral",
oldVersion: "0.0.0.0-5.0.0.0",
newVersion: "5.0.0.0", // Corresponds to: { id: "System.Runtime.CompilerServices.Unsafe", version: "5.0.0" },
oldVersion: "0.0.0.0-6.0.0.0",
newVersion: "6.0.0.0", // Corresponds to: { id: "System.Runtime.CompilerServices.Unsafe", version: "6.0.0" },
},
];
}
@ -590,7 +590,7 @@ export function cacheBindingRedirects() {
publicKeyToken: "cc7b13ffcd2ddd51",
culture: "neutral",
oldVersion: "0.0.0.0-4.0.1.2",
newVersion: "4.0.1.2", // Corresponds to: { id: "System.Memory", version: "4.5.5", dependentPackageIdsToSkip: ["System.Runtime.CompilerServices.Unsafe", "System.Numerics.Vectors"] },
newVersion: "4.0.1.2", // Corresponds to: { id: "System.Memory", version: "4.5.5" },
},
{
name: "System.Interactive.Async",

Просмотреть файл

@ -100,6 +100,18 @@ export interface Net7Qualifier extends Qualifier {
targetRuntime: "win-x64" | "osx-x64" | "linux-x64";
}
/**
* Having a net7 specific qualifier (without net 6) for some specific tests that only
* work in net 7.
* TODO: This should be consolidated with DefaultQualifier when we stop compiling for net6
*/
@@public
export interface Net7QualifierWithNet472 extends Qualifier {
configuration: "debug" | "release";
targetFramework: "net7.0" | "net472";
targetRuntime: "win-x64" | "osx-x64" | "linux-x64";
}
/**
* LatestFullFrameworkQualifier, used to pin tool execution to a specific .NET Framework version
*/

Просмотреть файл

@ -4,7 +4,7 @@
import * as Managed from "Sdk.Managed";
import * as BuildXLSdk from "Sdk.BuildXL";
export declare const qualifier: BuildXLSdk.DefaultQualifierWithNet472;
export declare const qualifier: BuildXLSdk.Net7QualifierWithNet472;
@@public
export const msbuildReferences: Managed.ManagedNugetPackage[] = [
@ -13,24 +13,28 @@ export const msbuildReferences: Managed.ManagedNugetPackage[] = [
importFrom("Microsoft.Build").pkg,
importFrom("Microsoft.Build.Tasks.Core").pkg,
importFrom("Microsoft.NET.StringTools").pkg,
...addIf(BuildXLSdk.isFullFramework, importFrom("System.Runtime.CompilerServices.Unsafe").withQualifier({targetFramework: "netstandard2.0"}).pkg),
...addIf(BuildXLSdk.isFullFramework, importFrom("System.Runtime.CompilerServices.Unsafe").pkg),
];
/** Runtime content for tests */
/**
* Runtime content for tests
* Observe that we use a net7-specific version of msbuild.
**/
@@public
export const msbuildRuntimeContent = [
importFrom("Microsoft.Build.Runtime").pkg,
importFrom("System.MemoryForVBCS").pkg,
importFrom("System.Numerics.Vectors").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Collections.Immutable.ForVBCS").pkg,
importFrom("System.Memory").pkg,
importFrom("System.Numerics.Vectors").pkg,
importFrom("System.Collections.Immutable").pkg,
importFrom("System.Runtime.CompilerServices.Unsafe").pkg,
importFrom("System.Threading.Tasks.Dataflow").pkg,
importFrom("System.Threading.Tasks.Extensions").pkg,
importFrom("Microsoft.Bcl.AsyncInterfaces").pkg,
...BuildXLSdk.isDotNetCoreOrStandard ? [
importFrom("System.Text.Encoding.CodePages").pkg,
importFrom("Microsoft.Build.Tasks.Core").pkg,
importFrom("Microsoft.Build.Runtime").Contents.all.getFile(r`contentFiles/any/net6.0/MSBuild.dll`),
importFrom("Microsoft.Build.Runtime").Contents.all.getFile(r`contentFiles/any/net6.0/MSBuild.runtimeconfig.json`),
importFrom("Microsoft.Build.Runtime").Contents.all.getFile(r`contentFiles/any/net7.0/MSBuild.dll`),
importFrom("Microsoft.Build.Runtime").Contents.all.getFile(r`contentFiles/any/net7.0/MSBuild.runtimeconfig.json`),
importFrom("Microsoft.NET.StringTools").pkg
]
: [

Просмотреть файл

@ -17,7 +17,7 @@ export const NetFx = BuildXLSdk.NetFx;
@@public
export function getSerializationPackages(includeNetStandard: boolean) : (Managed.ManagedNugetPackage | Managed.Assembly)[] {
return [
importFrom("System.Memory.Data").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Memory.Data").pkg,
...getSystemTextJson(includeNetStandard),
...getSerializationPackagesWithoutNetStandard()
];
@ -27,13 +27,13 @@ export function getSerializationPackages(includeNetStandard: boolean) : (Managed
export function getSerializationPackagesWithoutNetStandard() : (Managed.ManagedNugetPackage)[] {
return [
...(BuildXLSdk.isFullFramework ? [
importFrom("System.Runtime.CompilerServices.Unsafe").withQualifier({ targetFramework: "netstandard2.0" }).pkg,
importFrom("System.Runtime.CompilerServices.Unsafe").pkg,
] : []),
...(BuildXLSdk.isFullFramework || qualifier.targetFramework === "netstandard2.0" ? [
importFrom("System.Memory").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Memory").pkg,
] : []),
importFrom("System.Text.Encodings.Web").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Numerics.Vectors").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Text.Encodings.Web").pkg,
importFrom("System.Numerics.Vectors").pkg,
];
}
@ -53,20 +53,15 @@ export function getSystemTextJsonWithoutNetStandard() : Managed.ManagedNugetPack
return [
...addIf(
!BuildXLSdk.isDotNetCore,
importFrom("System.Text.Json").withQualifier({targetFramework: "netstandard2.0"}).pkg),
importFrom("System.Text.Json").pkg),
];
}
@@public
export function getProtobufPackages() : Managed.ManagedNugetPackage[] {
return [
BuildXLSdk.isFullFramework || qualifier.targetFramework === "netstandard2.0" ?
importFrom("System.Memory").withQualifier({ targetFramework: "netstandard2.0" }).pkg
: importFrom("System.Memory").pkg,
BuildXLSdk.isFullFramework || qualifier.targetFramework === "netstandard2.0" ?
importFrom("System.Buffers").withQualifier({ targetFramework: "netstandard2.0" }).pkg
: importFrom("System.Buffers").pkg,
importFrom("System.Buffers").pkg,
importFrom("System.Memory").pkg,
importFrom("Google.Protobuf").pkg,
];
}
@ -118,16 +113,42 @@ export function getGrpcAspNetCorePackages() : (Managed.ManagedNugetPackage | Man
importFrom("Grpc.AspNetCore.Server.ClientFactory").pkg,
importFrom("Grpc.AspNetCore.Server").pkg,
BuildXLSdk.withWinRuntime(importFrom("System.Security.Cryptography.ProtectedData").pkg, r`runtimes/win/lib/netstandard2.0`),
importFrom("System.Security.Cryptography.ProtectedData").pkg,
// AspNetCore assemblies
Managed.Factory.filterRuntimeSpecificBinaries(BuildXLSdk.WebFramework.getFrameworkPackage(), [
importFrom("System.IO.Pipelines").pkg
])
...getAsptNetCoreAssemblies(),
])
];
}
@@public
export function getAsptNetCoreAssemblies() : Managed.ManagedNugetPackage[] {
return [
// The ASPNet web framework package comes with some DLLs that we also import individually.
// We prefer the one individually imported, so remove the overlapping DLLs from the web framework
// package and add the individually imported ones.
// If you ever get a double deployment issue coming from this package, just add the conflicting DLL
// under getWebFrameworkExclusions()
Managed.Factory.filterSpecificBinaries(
BuildXLSdk.WebFramework.getFrameworkPackage(),
getWebFrameworkExclusions()),
...getWebFrameworkExclusions()
];
}
function getWebFrameworkExclusions(): Managed.ManagedNugetPackage[] {
return [
importFrom("System.IO.Pipelines").pkg,
importFrom("System.Diagnostics.EventLog").pkg,
importFrom("System.Security.Cryptography.Pkcs").pkg,
importFrom("System.Security.Cryptography.Xml").pkg,
importFrom("Microsoft.Extensions.DependencyInjection").pkg,
importFrom("Microsoft.Extensions.DependencyInjection.Abstractions").pkg,
importFrom("Microsoft.Extensions.Http").pkg,
importFrom("Microsoft.Extensions.Options").pkg,
importFrom("Microsoft.Extensions.Primitives").pkg
];
}
@@public
export function getProtobufNetPackages(includeNetStandard: boolean) : (Managed.ManagedNugetPackage | Managed.Assembly)[] {
return [

Просмотреть файл

@ -20,8 +20,8 @@ namespace Distributed {
: []),
importFrom("Azure.Core.Amqp").pkg,
importFrom("Microsoft.Azure.Amqp").pkg,
importFrom("System.Memory.Data").withQualifier({targetFramework: "netstandard2.0"}).pkg,
BuildXLSdk.withWinRuntime(importFrom("System.Security.Cryptography.ProtectedData").pkg, r`runtimes/win/lib/netstandard2.0`),
importFrom("System.Memory.Data").pkg,
importFrom("System.Security.Cryptography.ProtectedData").pkg,
];
@@public
@ -73,10 +73,9 @@ namespace Distributed {
...(BuildXLSdk.isFullFramework
? [
// Needed because net472 -> netstandard2.0 translation is not yet supported by the NuGet resolver.
importFrom("System.IO.Pipelines").withQualifier({ targetFramework: "netstandard2.0" }).pkg,
importFrom("System.Runtime.CompilerServices.Unsafe").withQualifier({ targetFramework: "netstandard2.0" }).pkg,
importFrom("Pipelines.Sockets.Unofficial").withQualifier({ targetFramework: "netstandard2.0" }).pkg,
importFrom("System.IO.Pipelines").pkg,
importFrom("System.Runtime.CompilerServices.Unsafe").pkg,
importFrom("Pipelines.Sockets.Unofficial").pkg,
]
: [
importFrom("System.IO.Pipelines").pkg,

Просмотреть файл

@ -106,10 +106,9 @@ namespace DistributedTest {
...(BuildXLSdk.isFullFramework
? [
// Needed because net472 -> netstandard2.0 translation is not yet supported by the NuGet resolver.
importFrom("System.IO.Pipelines").withQualifier({ targetFramework: "netstandard2.0" }).pkg,
importFrom("System.Runtime.CompilerServices.Unsafe").withQualifier({ targetFramework: "netstandard2.0" }).pkg,
importFrom("Pipelines.Sockets.Unofficial").withQualifier({ targetFramework: "netstandard2.0" }).pkg,
importFrom("System.IO.Pipelines").pkg,
importFrom("System.Runtime.CompilerServices.Unsafe").pkg,
importFrom("Pipelines.Sockets.Unofficial").pkg,
]
: [
importFrom("System.IO.Pipelines").pkg,

Просмотреть файл

@ -14,13 +14,11 @@ namespace Grpc {
references: [
...getGrpcPackages(true),
...BuildXLSdk.bclAsyncPackages,
...addIfLazy(BuildXLSdk.isDotNetCoreOrStandard, () => [
BuildXLSdk.withWinRuntime(importFrom("System.Security.Cryptography.ProtectedData").pkg, r`runtimes/win/lib/netstandard2.0`),
]),
importFrom("System.Security.Cryptography.ProtectedData").pkg,
...addIfLazy(qualifier.targetFramework === "netstandard2.0", () => [
// Don't need adding the following package for net6+
BuildXLSdk.withWinRuntime(importFrom("System.Security.Cryptography.Cng").pkg, r`runtimes/win/lib/netstandard2.0`),
importFrom("System.Security.Cryptography.Cng").pkg
]),
...addIf(!BuildXLSdk.isDotNetCoreOrStandard, NetFx.System.Security.dll),

Просмотреть файл

@ -5,10 +5,6 @@ namespace Library {
export declare const qualifier : BuildXLSdk.AllSupportedQualifiers;
@@public
export const systemMemoryPackage =
BuildXLSdk.isFullFramework ? importFrom("System.Memory").withQualifier({ targetFramework: "netstandard2.0" }).pkg : importFrom("System.Memory").pkg;
@@public
export const dll = BuildXLSdk.library({
assemblyName: "BuildXL.Cache.ContentStore",
@ -22,7 +18,7 @@ namespace Library {
),
...BuildXLSdk.systemThreadingTasksDataflowPackageReference,
systemMemoryPackage,
importFrom("System.Memory").pkg,
...importFrom("BuildXL.Utilities").Native.securityDlls,
UtilitiesCore.dll,

Просмотреть файл

@ -21,7 +21,7 @@ namespace Test {
),
...addIf(BuildXLSdk.isFullFramework,
importFrom("System.Memory").withQualifier({targetFramework: "netstandard2.0"}).pkg
importFrom("System.Memory").pkg
),
// TODO: This needs to be renamed to just utilities... but it is in a package in public/src
importFrom("BuildXL.Utilities").dll,

Просмотреть файл

@ -38,10 +38,7 @@ namespace LauncherServer {
...importFrom("BuildXL.Cache.ContentStore").getProtobufNetPackages(true),
importFrom("protobuf-net.Grpc.AspNetCore").pkg,
// AspNetCore assemblies
Managed.Factory.filterRuntimeSpecificBinaries(BuildXLSdk.WebFramework.getFrameworkPackage(), [
importFrom("System.IO.Pipelines").pkg
])
...importFrom("BuildXL.Cache.ContentStore").getAsptNetCoreAssemblies(),
],
assemblyBindingRedirects: [
{

Просмотреть файл

@ -16,7 +16,7 @@ namespace Library {
importFrom("Microsoft.Bcl.AsyncInterfaces").pkg,
...importFrom("BuildXL.Cache.ContentStore").getAzureBlobStorageSdkPackages(true),
importFrom("Microsoft.IdentityModel.Abstractions").pkg,
importFrom("System.Memory.Data").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Memory.Data").pkg,
importFrom("NLog").pkg,
importFrom("BuildXL.Cache.ContentStore").Hashing.dll,
importFrom("BuildXL.Cache.ContentStore").Interfaces.dll,

Просмотреть файл

@ -10,7 +10,7 @@ namespace ProcessPipExecutor {
allowUnsafeBlocks: true,
references: [
...addIfLazy(!BuildXLSdk.isDotNetCore, () => [
importFrom("System.Memory").withQualifier({ targetFramework: "netstandard2.0" }).pkg,
importFrom("System.Memory").pkg,
]),
Processes.dll,

Просмотреть файл

@ -16,8 +16,8 @@ namespace Processes.External {
],
references: [
...addIfLazy(!BuildXLSdk.isDotNetCore, () => [
importFrom("System.Text.Json").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Memory").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Text.Json").pkg,
importFrom("System.Memory").pkg,
BuildXLSdk.NetFx.System.Net.Http.dll,
NetFx.Netstandard.dll
]),

Просмотреть файл

@ -20,8 +20,8 @@ namespace Processes {
// should go to 'ProcessPipExecutor' instead.
...addIfLazy(!BuildXLSdk.isDotNetCore, () => [
importFrom("System.Text.Json").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Memory").withQualifier({ targetFramework: "netstandard2.0" }).pkg,
importFrom("System.Text.Json").pkg,
importFrom("System.Memory").pkg,
]),
...addIf(BuildXLSdk.isFullFramework,

Просмотреть файл

@ -15,7 +15,7 @@ namespace Scheduler {
NetFx.System.Runtime.Serialization.dll,
NetFx.System.Text.Encoding.dll,
NetFx.Netstandard.dll,
importFrom("System.Text.Json").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Text.Json").pkg,
importFrom("System.Collections.Immutable").pkg
]),
...addIfLazy(BuildXLSdk.isDotNetCore, () => [

Просмотреть файл

@ -60,12 +60,7 @@ namespace BuildXL.Scheduler.Tracing
var serializerOptions = new JsonSerializerOptions
{
WriteIndented = true,
#if NET5_0_OR_GREATER
// .NET 5 and 6 have a different way of dealing with null values
DefaultIgnoreCondition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull,
#else
IgnoreNullValues = true,
#endif
};
try

Просмотреть файл

@ -21,9 +21,7 @@ namespace Distribution {
importFrom("BuildXL.Utilities").dll,
importFrom("BuildXL.Utilities").Configuration.dll,
importFrom("BuildXL.Utilities").Utilities.Core.dll,
Managed.Factory.filterRuntimeSpecificBinaries(BuildXLSdk.WebFramework.getFrameworkPackage(), [
importFrom("System.IO.Pipelines").pkg
]),
...importFrom("BuildXL.Cache.ContentStore").getAsptNetCoreAssemblies(),
],
});
}

Просмотреть файл

@ -36,7 +36,7 @@ namespace Scheduler {
BuildXLSdk.NetFx.Netstandard.dll
),
...addIfLazy(!BuildXLSdk.isDotNetCore, () => [
importFrom("System.Text.Json").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Text.Json").pkg,
]),
EngineTestUtilities.dll,
importFrom("BuildXL.Cache.ContentStore").Hashing.dll,

Просмотреть файл

@ -52,7 +52,11 @@ namespace MsBuild {
},
{
subfolder: r`tools`,
contents: [importFrom("BuildXL.Tools").MsBuildGraphBuilder.deployment],
// For the dotnet case, we are only deploying the tool for net7
// TODO: Remove condition when we stop building for net6.0
contents: [qualifier.targetFramework === "net6.0"
? importFrom("BuildXL.Tools").MsBuildGraphBuilder.withQualifier({targetFramework: Managed.TargetFrameworks.DefaultTargetFramework}).deployment
: importFrom("BuildXL.Tools").MsBuildGraphBuilder.deployment],
}
]
});

Просмотреть файл

@ -22,7 +22,7 @@ namespace Nuget {
NetFx.System.Net.Http.dll
),
...addIf(BuildXLSdk.isFullFramework,
importFrom("System.Memory").withQualifier({targetFramework: "netstandard2.0"}).pkg
importFrom("System.Memory").pkg
),
Sdk.dll,
@ -45,12 +45,12 @@ namespace Nuget {
importFrom("BuildXL.Utilities").Utilities.Core.dll,
importFrom("Newtonsoft.Json").pkg,
importFrom("NuGet.Versioning").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Protocol").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Configuration").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Common").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Frameworks").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Packaging").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Versioning").pkg,
importFrom("NuGet.Protocol").pkg,
importFrom("NuGet.Configuration").pkg,
importFrom("NuGet.Common").pkg,
importFrom("NuGet.Frameworks").pkg,
importFrom("NuGet.Packaging").pkg,
...BuildXLSdk.tplPackages,
],

Просмотреть файл

@ -56,11 +56,14 @@ namespace TestGenerator {
importFrom("BuildXL.FrontEnd").Sdk.dll,
importFrom("BuildXL.FrontEnd").TypeScript.Net.dll,
],
runtimeContent:
[
Helper.dll,
]
});
@@public
export const deploymentContents: Deployment.DeployableItem[] = [
exe,
Helper.dll,
];
}

Просмотреть файл

@ -49,14 +49,18 @@ namespace Test.MsBuild {
runtimeContent: [
// We need both the full framework and dotnet core versions of MSBuild, plus dotnet.exe for the dotnet core case
...importFrom("Sdk.Selfhost.MSBuild").withQualifier({targetFramework: "net472"}).deployment,
...importFrom("Sdk.Selfhost.MSBuild").withQualifier({targetFramework: "net6.0"}).deployment,
...importFrom("Sdk.Selfhost.MSBuild").withQualifier({targetFramework: Managed.TargetFrameworks.DefaultTargetFramework}).deployment,
{
subfolder: "dotnet",
contents: Frameworks.Helpers.getDotNetToolTemplate('net6.0').dependencies
contents: Frameworks.Helpers.getDotNetToolTemplate('net7.0').dependencies
},
{
subfolder: a`tools`,
contents: [importFrom("BuildXL.Tools").MsBuildGraphBuilder.deployment]
// For the dotnet case, we are only deploying the tool for net7
// TODO: Remove condition when we stop building for net6.0
contents: [qualifier.targetFramework === "net6.0"
? importFrom("BuildXL.Tools").MsBuildGraphBuilder.withQualifier({targetFramework: Managed.TargetFrameworks.DefaultTargetFramework}).deployment
: importFrom("BuildXL.Tools").MsBuildGraphBuilder.deployment]
},
{
subfolder: r`Sdk/Sdk.Managed.Tools.BinarySigner`,

Просмотреть файл

@ -60,7 +60,7 @@ namespace LanguageService.Server {
runtimeReferences: [
importFrom("Nerdbank.Streams").pkg,
importFrom("System.IO.Pipelines").pkg,
importFrom("System.Collections.Immutable.ForVBCS").pkg,
importFrom("System.Collections.Immutable").pkg,
],
});

Просмотреть файл

@ -5,8 +5,7 @@ import * as Branding from "BuildXL.Branding";
import * as Contracts from "Tse.RuntimeContracts";
namespace BuildXLVsPackage {
@@public
export const dll = !BuildXLSdk.Flags.isMicrosoftInternal ? undefined : BuildXLSdk.library({
const dll = BuildXLSdk.library({
assemblyName: "BuildXLVsPackage",
rootNamespace: "BuildXL.VsPackage",
skipDocumentationGeneration: false,
@ -48,7 +47,7 @@ namespace BuildXLVsPackage {
importFrom("Microsoft.VisualStudio.Threading").pkg,
importFrom("Microsoft.VisualStudio.ProjectSystem").pkg,
importFrom("Microsoft.VisualStudio.Composition").pkg,
importFrom("System.Collections.Immutable.ForVBCS").pkg,
importFrom("System.Collections.Immutable").pkg,
],
});
@ -66,7 +65,7 @@ namespace BuildXLVsPackage {
};
@@public
export const vsix = CreateZipPackage.zip({
export const vsix = !BuildXLSdk.Flags.isMicrosoftInternal ? undefined : CreateZipPackage.zip({
outputFileName: "BuildXL.vs.vsix",
useUriEncoding: true,
inputDirectory: Deployment.deployToDisk({

Просмотреть файл

@ -54,8 +54,8 @@ export namespace DropDaemon {
internalsVisibleTo: [
"Test.Tool.DropDaemon",
],
// TODO: The SBOM package expects a netcore 7 JSON package, even for netcore 6. Remove when we stop supporting net6
deploymentOptions: { ignoredSelfContainedRuntimeFilenames: [a`System.Text.Encodings.Web.dll`, a`System.Text.Json.dll`] },
runtimeContentToSkip: dropDaemonRuntimeContentToSkip()
});
const temporarySdkDropNextToEngineFolder = d`${Context.getBuildEngineDirectory()}/Sdk/Sdk.Drop/bin`;
@ -129,7 +129,7 @@ export namespace DropDaemon {
publicKeyToken: "30ad4fe6b2a6aeed",
culture: "neutral",
oldVersion: "0.0.0.0-13.0.0.0",
newVersion: "13.0.0.0", // Corresponds to { id: "Newtonsoft.Json", version: "13.0.1", alias: "Newtonsoft.Json.v13.0.1" }
newVersion: "13.0.0.0", // Corresponds to { id: "Newtonsoft.Json", version: "13.0.1" }
},
{
name: "System.Text.Json",
@ -148,14 +148,6 @@ export namespace DropDaemon {
];
}
@@public
export function dropDaemonRuntimeContentToSkip() {
return [
importFrom("System.Text.Json").withQualifier({ targetFramework: "netstandard2.0" }).pkg,
importFrom("System.Text.Encodings.Web").withQualifier({ targetFramework: "netstandard2.0" }).pkg,
];
}
@@public
export function dropDaemonSbomPackages() {
// Any package needed for SBOM generation should
@ -170,9 +162,9 @@ export namespace DropDaemon {
importFrom("Microsoft.ComponentDetection.Contracts").pkg,
importFrom("Microsoft.Sbom.Adapters").pkg,
importFrom("packageurl-dotnet").pkg,
importFrom("System.Text.Json.v7.0.0").pkg,
importFrom("System.Text.Json").pkg,
importFrom("Newtonsoft.Json").pkg,
importFrom("System.Text.Encodings.Web.v7.0.0").pkg,
importFrom("System.Text.Encodings.Web").pkg,
];
}

Просмотреть файл

@ -25,11 +25,6 @@ export function dropDaemonBindingRedirects() {
return BuildXLSdk.isDropToolingEnabled ? DropDaemon.dropDaemonBindingRedirects() : undefined;
}
@@public
export function dropDaemonRuntimeContentToSkip() {
return BuildXLSdk.isDropToolingEnabled ? DropDaemon.dropDaemonRuntimeContentToSkip() : undefined;
}
@@public
export function dropDaemonSbomPackages() {
return BuildXLSdk.isDropToolingEnabled ? DropDaemon.dropDaemonSbomPackages() : undefined;

Просмотреть файл

@ -28,7 +28,7 @@ namespace Execution.Analyzer {
NetFx.System.IO.Compression.dll,
NetFx.System.Net.Http.dll,
NetFx.System.Runtime.Serialization.dll,
importFrom("System.Memory").withQualifier({targetFramework: "netstandard2.0"}).pkg
importFrom("System.Memory").pkg
]),
VSCode.DebugAdapter.dll,
VSCode.DebugProtocol.dll,

Просмотреть файл

@ -43,21 +43,18 @@ namespace NugetDownloader {
importFrom("BuildXL.Utilities").dll,
importFrom("BuildXL.Utilities").Utilities.Core.dll,
importFrom("NuGet.Versioning").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Protocol").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Configuration").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Common").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Frameworks").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Packaging").withQualifier({targetFramework: "netstandard2.0"}).pkg,
],
runtimeContentToSkip:[
importFrom("Newtonsoft.Json").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Versioning").pkg,
importFrom("NuGet.Protocol").pkg,
importFrom("NuGet.Configuration").pkg,
importFrom("NuGet.Common").pkg,
importFrom("NuGet.Frameworks").pkg,
importFrom("NuGet.Packaging").pkg,
importFrom("System.Security.Cryptography.Pkcs").pkg
],
runtimeContent: [
f`App.config`,
specDeployment
],
deploymentOptions: { ignoredSelfContainedRuntimeFilenames: [a`System.Collections.Immutable.dll`] },
});
}

Просмотреть файл

@ -11,6 +11,8 @@ import * as Shared from "Sdk.Managed.Shared";
namespace MsBuildGraphBuilder {
export declare const qualifier: BuildXLSdk.Net7QualifierWithNet472;
@@public
export const exe = BuildXLSdk.executable({
assemblyName: "ProjectGraphBuilder",
@ -23,7 +25,7 @@ namespace MsBuildGraphBuilder {
importFrom("BuildXL.Utilities").dll,
importFrom("BuildXL.Utilities").Utilities.Core.dll,
importFrom("BuildXL.Utilities").Native.dll,
...addIf(BuildXLSdk.isFullFramework, importFrom("System.Collections.Immutable.ForVBCS").pkg),
...addIf(BuildXLSdk.isFullFramework, importFrom("System.Collections.Immutable").pkg),
...addIf(BuildXLSdk.isFullFramework, importFrom("System.Threading.Tasks.Dataflow").pkg),
importFrom("Microsoft.Build.Prediction").pkg,
importFrom("Microsoft.Build.Locator").pkg,
@ -37,8 +39,8 @@ namespace MsBuildGraphBuilder {
// don't add msbuild dlls because assembly resolvers will resolve msbuild from other MSBuild installations
...MSBuild.msbuildReferences,
importFrom("System.Collections.Immutable").pkg,
importFrom("System.Collections.Immutable.ForVBCS").pkg,
importFrom("System.Memory").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Collections.Immutable").pkg,
importFrom("System.Memory").pkg,
importFrom("System.Memory").pkg,
],
internalsVisibleTo: [
@ -63,7 +65,7 @@ namespace MsBuildGraphBuilder {
{
subfolder: r`dotnetcore`,
contents: [
$.withQualifier({ targetFramework: "net6.0" })
$.withQualifier({ targetFramework: Managed.TargetFrameworks.DefaultTargetFramework })
.MsBuildGraphBuilder.exe
]
}

Просмотреть файл

@ -38,7 +38,7 @@ namespace Test.Tool.DropDaemon {
...importFrom("BuildXL.Tools.DropDaemon").dropDaemonSbomPackages(),
],
// TODO: The SBOM package expects a netcore 7 JSON package, even for netcore 6. Remove when we stop supporting net6
deploymentOptions: { ignoredSelfContainedRuntimeFilenames: [a`System.Text.Encodings.Web.dll`, a`System.Text.Json.dll`] },
runtimeContentToSkip: importFrom("BuildXL.Tools.DropDaemon").dropDaemonRuntimeContentToSkip(),
});
}

Просмотреть файл

@ -6,7 +6,7 @@ import * as MSBuild from "Sdk.Selfhost.MSBuild";
namespace Test.Tool.MsBuildGraphBuilder {
export declare const qualifier: BuildXLSdk.DefaultQualifierWithNet472;
export declare const qualifier: BuildXLSdk.Net7QualifierWithNet472;
@@public
export const dll = BuildXLSdk.test({
@ -28,10 +28,5 @@ namespace Test.Tool.MsBuildGraphBuilder {
dep.name !== "System.Collections.Immutable.dll")),
...MSBuild.msbuildReferences,
],
runtimeContentToSkip: [
...addIf(BuildXLSdk.isFullFramework, importFrom("System.Buffers").pkg),
...addIf(BuildXLSdk.isFullFramework, importFrom("System.Memory").pkg),
...addIf(BuildXLSdk.isFullFramework, importFrom("System.MemoryForVBCS").pkg)
]
});
}

Просмотреть файл

@ -6,7 +6,7 @@ import * as MSBuild from "Sdk.Selfhost.MSBuild";
namespace Test.Tool.VBCSCompilerLogger {
export declare const qualifier: BuildXLSdk.DefaultQualifier;
export declare const qualifier: BuildXLSdk.Net7Qualifier;
@@public
export const dll = BuildXLSdk.test({

Просмотреть файл

@ -6,6 +6,8 @@ import * as MSBuild from "Sdk.Selfhost.MSBuild";
namespace VBCSCompilerLogger {
export declare const qualifier: BuildXLSdk.Net7QualifierWithNet472;
@@public
export const dll = BuildXLSdk.library({
assemblyName: "VBCSCompilerLogger",
@ -17,7 +19,7 @@ namespace VBCSCompilerLogger {
importFrom("Microsoft.CodeAnalysis.CSharp.ForVBCS").pkg,
importFrom("Microsoft.CodeAnalysis.VisualBasic.ForVBCS").pkg,
importFrom("Microsoft.CodeAnalysis.Common.ForVBCS").pkg,
...addIf(BuildXLSdk.isFullFramework, importFrom("System.Collections.Immutable.ForVBCS").pkg),
...addIf(BuildXLSdk.isFullFramework, importFrom("System.Collections.Immutable").pkg),
importFrom("BuildXL.Utilities").Utilities.Core.dll,
importFrom("BuildXL.Utilities").Native.dll,
importFrom("BuildXL.Engine").Processes.dll,
@ -25,13 +27,15 @@ namespace VBCSCompilerLogger {
],
runtimeContent:[
importFrom("System.Reflection.Metadata.ForVBCS").pkg,
importFrom("System.Memory").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Runtime.CompilerServices.Unsafe").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Numerics.Vectors").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Memory").pkg,
importFrom("System.Runtime.CompilerServices.Unsafe").pkg,
importFrom("System.Numerics.Vectors").pkg,
],
runtimeContentToSkip: [
importFrom("System.Collections.Immutable").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Collections.Immutable").pkg,
importFrom("System.Memory").pkg,
// Avoid deploying the standard reference in favor of the old one
importFrom("System.Reflection.Metadata").pkg,
],
internalsVisibleTo: ["Test.Tool.VBCSCompilerLogger"]
});
@ -55,7 +59,11 @@ namespace VBCSCompilerLogger {
importFrom("BuildXL.Engine").Processes.dll,
],
runtimeContent:[
importFrom("System.Reflection.Metadata").pkg
importFrom("System.Reflection.Metadata.ForVBCS").pkg,
],
runtimeContentToSkip: [
// Avoid deploying the standard reference in favor of the old one
importFrom("System.Reflection.Metadata").pkg,
],
defineConstants: ["TEST"]
});

Просмотреть файл

@ -14,7 +14,7 @@ namespace Core {
importFrom("BuildXL.Utilities").Utilities.Core.dll,
importFrom("Microsoft.CodeAnalysis.CSharp").pkg,
importFrom("Microsoft.CodeAnalysis.Common").pkg,
importFrom("System.Collections.Immutable.ForVBCS").pkg,
importFrom("System.Collections.Immutable").pkg,
],
});
}

Просмотреть файл

@ -19,7 +19,7 @@ namespace LogGenerator {
importFrom("Microsoft.CodeAnalysis.Common.ForVBCS").pkg,
importFrom("Microsoft.CodeAnalysis.CSharp.ForVBCS").pkg,
importFrom("System.Collections.Immutable.ForVBCS").pkg,
importFrom("System.Collections.Immutable").pkg,
importFrom("BuildXL.Utilities").CodeGenerationHelper.dll,
],
analyzers: [importFrom("Microsoft.CodeAnalysis.Analyzers").pkg]

Просмотреть файл

@ -13,25 +13,17 @@ namespace Native {
export const securityDlls = BuildXLSdk.isDotNetCoreOrStandard ? [
// In netCoreApp2.2 accesscontrol is missing enum: System.Security.AccessControl.AccessControlType
importFrom("System.IO.Pipes.AccessControl").pkg,
BuildXLSdk.withWinRuntime(importFrom("System.Threading.AccessControl").pkg, r`runtimes/win/lib/netstandard2.0`),
importFrom("System.Threading.AccessControl").pkg,
...addIf(!BuildXLSdk.isDotNetCore,
BuildXLSdk.withWinRuntime(importFrom("System.Security.AccessControl").pkg, r`runtimes/win/lib/netcoreapp2.0`),
BuildXLSdk.withWinRuntime(importFrom("System.IO.FileSystem.AccessControl").pkg, r`runtimes/win/lib/netstandard2.0`)
importFrom("System.Security.AccessControl").pkg,
importFrom("System.IO.FileSystem.AccessControl").pkg
),
// Don't need to exclude assemblies for net7 because they're higher versions.
...addIf(qualifier.targetFramework === 'net6.0',
BuildXLSdk.withWinRuntime(importFrom("System.IO.FileSystem.AccessControl.v6.0.0").pkg, r`runtimes/win/lib/netstandard2.0`),
BuildXLSdk.withWinRuntime(importFrom("System.Security.AccessControl.v6.0.0").pkg, r`runtimes/win/lib/netstandard2.0`),
BuildXLSdk.withWinRuntime(importFrom("System.Security.Principal.Windows.v6.0.0").pkg, r`runtimes/win/lib/netstandard2.0`)
),
...addIf(!BuildXLSdk.isDotNetCore,
BuildXLSdk.isTargetRuntimeOsx
? Managed.Factory.createBinary(importFrom("System.Security.Principal.Windows").Contents.all, r`runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.dll`)
: Managed.Factory.createBinary(importFrom("System.Security.Principal.Windows").Contents.all, r`runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.dll`))
importFrom("System.Security.Principal.Windows").pkg)
] : [];
@@public

Просмотреть файл

@ -18,7 +18,7 @@ namespace Plugin {
importFrom("BuildXL.Utilities").PluginGrpc.dll,
importFrom("BuildXL.Utilities").Plugin.dll,
importFrom("BuildXL.Utilities").Utilities.Core.dll,
importFrom("System.Runtime.CompilerServices.Unsafe").withQualifier({ targetFramework: "netstandard2.0" }).pkg,
importFrom("System.Runtime.CompilerServices.Unsafe").pkg,
...importFrom("BuildXL.Cache.ContentStore").getGrpcPackages(false),
],

Просмотреть файл

@ -18,8 +18,8 @@ namespace Utilities.Core {
...addIfLazy(!BuildXLSdk.isDotNetCore, () => [
NetFx.System.Xml.dll,
NetFx.Netstandard.dll,
importFrom("System.Threading.Channels").withQualifier({ targetFramework: "netstandard2.0" }).pkg,
importFrom("System.Memory").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("System.Threading.Channels").pkg,
importFrom("System.Memory").pkg,
importFrom("System.Threading.Tasks.Extensions").pkg,
]),
],

Просмотреть файл

@ -10,13 +10,13 @@ namespace VstsAuthentication {
$.dll,
Native.dll,
Utilities.Core.dll,
importFrom("Newtonsoft.Json").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Versioning").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Protocol").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Configuration").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Common").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Frameworks").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("NuGet.Packaging").withQualifier({targetFramework: "netstandard2.0"}).pkg,
importFrom("Newtonsoft.Json").pkg,
importFrom("NuGet.Versioning").pkg,
importFrom("NuGet.Protocol").pkg,
importFrom("NuGet.Configuration").pkg,
importFrom("NuGet.Common").pkg,
importFrom("NuGet.Frameworks").pkg,
importFrom("NuGet.Packaging").pkg,
...addIfLazy(BuildXLSdk.isFullFramework, () => [
NetFx.System.Net.Http.dll,
NetFx.Netstandard.dll,

Просмотреть файл

@ -18,7 +18,7 @@ if NOT DEFINED DBD_TESTGEN_COUNT (
)
if NOT DEFINED TEST_COMMITID (
set TEST_COMMITID=dcdc8f8bbb0cd83c38dc827c19c3c44b7f195b9c
set TEST_COMMITID=98214d145b8dfcd1fbb2c2d46ff5a473cafbd023
)
set TEST_SOLUTION_ROOT=%ENLISTMENTROOT%\Out\Tests\SMDB

Просмотреть файл

@ -735,7 +735,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Bcl.AsyncInterfaces",
"Version": "6.0.0"
"Version": "7.0.0"
}
}
},
@ -762,7 +762,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Build",
"Version": "17.0.0"
"Version": "17.7.2"
}
}
},
@ -771,7 +771,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Build.Framework",
"Version": "17.0.0"
"Version": "17.7.2"
}
}
},
@ -798,7 +798,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Build.Runtime",
"Version": "17.0.0"
"Version": "17.7.2"
}
}
},
@ -807,7 +807,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Build.Tasks.Core",
"Version": "17.0.0"
"Version": "17.7.2"
}
}
},
@ -1077,7 +1077,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Extensions.Configuration",
"Version": "2.2.0"
"Version": "7.0.0"
}
}
},
@ -1086,7 +1086,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Extensions.Configuration.Abstractions",
"Version": "2.2.0"
"Version": "7.0.0"
}
}
},
@ -1095,7 +1095,16 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Extensions.Configuration.Binder",
"Version": "2.2.0"
"Version": "7.0.0"
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Extensions.DependencyInjection",
"Version": "7.0.0"
}
}
},
@ -1104,7 +1113,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Extensions.DependencyInjection.Abstractions",
"Version": "2.2.0"
"Version": "7.0.0"
}
}
},
@ -1149,7 +1158,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Extensions.Logging",
"Version": "2.2.0"
"Version": "7.0.0"
}
}
},
@ -1185,7 +1194,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Extensions.Options",
"Version": "2.2.0"
"Version": "7.0.0"
}
}
},
@ -1203,7 +1212,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Extensions.Primitives",
"Version": "2.2.0"
"Version": "7.0.0"
}
}
},
@ -1554,16 +1563,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.NETCore.Platforms",
"Version": "3.1.0"
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.NETCore.Platforms",
"Version": "6.0.11"
"Version": "5.0.0"
}
}
},
@ -2013,7 +2013,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.VisualStudio.Setup.Configuration.Interop",
"Version": "1.16.30"
"Version": "3.2.2146"
}
}
},
@ -2296,6 +2296,15 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "Microsoft.Win32.SystemEvents",
"Version": "7.0.0"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -2652,16 +2661,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "System.Collections.Immutable",
"Version": "1.5.0"
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.Collections.Immutable",
"Version": "5.0.0"
"Version": "7.0.0"
}
}
},
@ -2787,7 +2787,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "System.Configuration.ConfigurationManager",
"Version": "4.4.0"
"Version": "7.0.0"
}
}
},
@ -2845,6 +2845,15 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.Diagnostics.EventLog",
"Version": "7.0.0"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -2917,6 +2926,15 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.Drawing.Common",
"Version": "7.0.0"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -2935,6 +2953,15 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.Formats.Asn1",
"Version": "7.0.0"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -3007,15 +3034,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.IO.FileSystem.AccessControl",
"Version": "6.0.0-preview.5.21301.5"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -3169,15 +3187,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.Memory",
"Version": "4.5.4"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -3295,15 +3304,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.Numerics.Vectors",
"Version": "4.4.0"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -3417,7 +3417,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "System.Reflection.Metadata",
"Version": "1.6.0"
"Version": "5.0.0"
}
}
},
@ -3426,7 +3426,16 @@
"Type": "NuGet",
"NuGet": {
"Name": "System.Reflection.Metadata",
"Version": "5.0.0"
"Version": "7.0.0"
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.Reflection.MetadataLoadContext",
"Version": "7.0.0"
}
}
},
@ -3507,7 +3516,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "System.Runtime.CompilerServices.Unsafe",
"Version": "5.0.0"
"Version": "6.0.0"
}
}
},
@ -3637,15 +3646,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.Security.AccessControl",
"Version": "4.7.0"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -3678,7 +3678,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "System.Security.Cryptography.Cng",
"Version": "4.3.0"
"Version": "5.0.0"
}
}
},
@ -3723,7 +3723,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "System.Security.Cryptography.Pkcs",
"Version": "4.5.0"
"Version": "7.0.2"
}
}
},
@ -3741,7 +3741,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "System.Security.Cryptography.ProtectedData",
"Version": "5.0.0"
"Version": "7.0.0"
}
}
},
@ -3768,7 +3768,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "System.Security.Permissions",
"Version": "4.5.0"
"Version": "7.0.0"
}
}
},
@ -3781,24 +3781,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.Security.Principal.Windows",
"Version": "4.7.0"
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.Security.Principal.Windows",
"Version": "5.0.0"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -3862,15 +3844,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.Text.Encodings.Web",
"Version": "4.7.2"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -3880,15 +3853,6 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.Text.Json",
"Version": "4.7.2"
}
}
},
{
"Component": {
"Type": "NuGet",
@ -3957,7 +3921,7 @@
"Type": "NuGet",
"NuGet": {
"Name": "System.Threading.Tasks.Dataflow",
"Version": "4.9.0"
"Version": "7.0.0"
}
}
},
@ -4015,6 +3979,15 @@
}
}
},
{
"Component": {
"Type": "NuGet",
"NuGet": {
"Name": "System.Windows.Extensions",
"Version": "7.0.0"
}
}
},
{
"Component": {
"Type": "NuGet",

Просмотреть файл

@ -72,8 +72,7 @@ config({
{ id: "Microsoft.NETFramework.ReferenceAssemblies.net472", version: "1.0.0" },
{ id: "System.Diagnostics.DiagnosticSource", version: "7.0.2",
dependentPackageIdsToSkip: ["System.Memory"] },
{ id: "System.Diagnostics.DiagnosticSource", version: "7.0.2" },
// Roslyn
// The old compiler used by integration tests only.
@ -143,20 +142,23 @@ config({
{ id: "Microsoft.Extensions.Globalization.CultureInfoCache", version: "1.0.0-rc1-final" },
{ id: "Microsoft.Extensions.MemoryPool", version: "1.0.0-rc1-final" },
{ id: "Microsoft.Extensions.PlatformAbstractions", version: "1.1.0" },
{ id: "Microsoft.Extensions.Http", version: "7.0.0", dependentPackageIdsToSkip: ["Microsoft.Extensions.DependencyInjection.Abstractions"]},
{ id: "Microsoft.Extensions.Http", version: "7.0.0" },
{ id: "Microsoft.Tpl.Dataflow", version: "4.5.24" },
{ id: "Microsoft.TypeScript.Compiler", version: "1.8" },
{ id: "Microsoft.WindowsAzure.ConfigurationManager", version: "1.8.0.0" },
{ id: "Newtonsoft.Json", version: "13.0.1" },
{ id: "Newtonsoft.Json.Bson", version: "1.0.1" },
{ id: "System.Reflection.Metadata", version: "1.6.0" },
{ id: "System.Reflection.Metadata", version: "5.0.0", alias: "System.Reflection.Metadata.ForVBCS", dependentPackageIdsToSkip: ["System.Collections.Immutable"] },
{ id: "System.Threading.Tasks.Dataflow", version: "4.9.0" },
{ id: "System.Reflection.Metadata", version: "7.0.0" },
// The VBCS logger is used by QuickBuild and runs in the context of old VS installations, so it cannot use a higher version
// Please do not upgrade this dll (or if you do, make sure this happens in coordination with the QuickBuild team)
{ id: "System.Reflection.Metadata", version: "5.0.0", alias: "System.Reflection.Metadata.ForVBCS" },
{ id: "System.Threading.Tasks.Dataflow", version: "7.0.0" },
// Nuget
{ id: "NuGet.Packaging", version: "5.11.5", dependentPackageIdsToSkip: ["System.Security.Cryptography.ProtectedData", "System.Security.Cryptography.Pkcs"] },
{ id: "NuGet.Configuration", version: "5.11.5", dependentPackageIdsToSkip: ["System.Security.Cryptography.ProtectedData"] },
{ id: "NuGet.Packaging", version: "5.11.5" },
{ id: "NuGet.Configuration", version: "5.11.5" },
{ id: "NuGet.Common", version: "5.11.5" },
{ id: "NuGet.Protocol", version: "5.11.5" },
{ id: "NuGet.Versioning", version: "5.11.5" },
@ -167,10 +169,7 @@ config({
{ id: "Microsoft.Windows.ProjFS", version: "1.2.19351.1" },
// RocksDb
{ id: "RocksDbSharp", version: "8.1.1-20230829.3", alias: "RocksDbSharpSigned",
dependentPackageIdsToSkip: [ "System.Memory" ],
dependentPackageIdsToIgnore: [ "System.Memory" ]
},
{ id: "RocksDbSharp", version: "8.1.1-20230829.3", alias: "RocksDbSharpSigned" },
{ id: "RocksDbNative", version: "8.1.1-20230829.3" },
{ id: "JsonDiffPatch.Net", version: "2.1.0" },
@ -178,17 +177,12 @@ config({
// Event hubs
{ id: "Microsoft.Azure.Amqp", version: "2.6.1" },
{ id: "Azure.Core.Amqp", version: "1.3.0"},
{ id: "Azure.Messaging.EventHubs", version: "5.9.0",
dependentPackageIdsToSkip: ["System.Net.Http", "System.Reflection.TypeExtensions", "System.Runtime.Serialization.Primitives", "Newtonsoft.Json", "System.Diagnostics.DiagnosticSource"],
},
{ id: "Azure.Messaging.EventHubs", version: "5.9.0" },
{ id: "Microsoft.Azure.KeyVault.Core", version: "1.0.0" },
{ id: "Microsoft.IdentityModel.Logging", version: "7.2.0" },
{ id: "Microsoft.IdentityModel.Tokens", version: "7.2.0",
dependentPackageIdsToSkip: ["System.Memory", "System.Text.Encodings.Web", "System.Text.Json"] },
{ id: "Microsoft.IdentityModel.Tokens", version: "7.2.0" },
{ id: "System.IdentityModel.Tokens.Jwt", version: "7.2.0"},
//dependentPackageIdsToSkip: ["Newtonsoft.Json"] },
{ id: "Microsoft.IdentityModel.JsonWebTokens", version: "7.2.0",
dependentPackageIdsToSkip: ["System.Text.Encodings.Web", "System.Text.Json"] },
{ id: "Microsoft.IdentityModel.JsonWebTokens", version: "7.2.0" },
// Key Vault
{ id: "Azure.Security.KeyVault.Secrets", version: "4.5.0" },
@ -197,10 +191,8 @@ config({
{ id: "Microsoft.Identity.Client", version: "4.56.0" },
{ id: "Microsoft.IdentityModel.Abstractions", version: "7.2.0" },
{ id: "Microsoft.Identity.Client.Extensions.Msal", version: "4.56.0" },
{ id: "Azure.Core", version: "1.36.0",
dependentPackageIdsToSkip: ["System.Buffers", "System.Text.Encodings.Web", "System.Text.Json", "System.Memory", "System.Memory.Data", "System.Numerics.Vectors", "Microsoft.Bcl.AsyncInterfaces" ] },
{ id: "System.Memory.Data", version: "1.0.2",
dependentPackageIdsToSkip: [ "System.Memory", "System.Text.Json" ] },
{ id: "Azure.Core", version: "1.36.0" },
{ id: "System.Memory.Data", version: "1.0.2" },
// Authentication
{ id: "Microsoft.Identity.Client.Broker", version: "4.55.0" },
@ -214,14 +206,11 @@ config({
...importFile(f`config.microsoftInternal.dsc`).pkgs,
// Azure Blob Storage SDK V12
{ id: "Azure.Storage.Blobs", version: "12.16.0",
dependentPackageIdsToSkip: [ "System.Text.Json" ] },
{ id: "Azure.Storage.Blobs", version: "12.16.0" },
{ id: "Azure.Storage.Common", version: "12.15.0" },
{ id: "System.IO.Hashing", version: "6.0.0",
dependentPackageIdsToSkip: [ "System.Buffers", "System.Memory" ] },
{ id: "System.IO.Hashing", version: "6.0.0" },
{ id: "Azure.Storage.Blobs.Batch", version: "12.10.0" },
{ id: "Azure.Storage.Blobs.ChangeFeed", version: "12.0.0-preview.34",
dependentPackageIdsToSkip: [ "System.Text.Json" ] },
{ id: "Azure.Storage.Blobs.ChangeFeed", version: "12.0.0-preview.34" },
// xUnit
{ id: "xunit.abstractions", version: "2.0.3" },
@ -246,13 +235,12 @@ config({
{ id: "DeduplicationSigned", version: "1.0.14" },
{ id: "Microsoft.Bcl", version: "1.1.10" },
{ id: "Microsoft.Bcl.Async", version: "1.0.168" },
{ id: "Microsoft.Bcl.AsyncInterfaces", version: "6.0.0", dependentPackageIdsToSkip: ["System.Threading.Tasks.Extensions"] },
{ id: "Microsoft.Bcl.AsyncInterfaces", version: "7.0.0" },
{ id: "Microsoft.Bcl.Build", version: "1.0.14" },
{ id: "Pipelines.Sockets.Unofficial", version: "2.2.0",
dependentPackageIdsToSkip: ["System.IO.Pipelines", "System.Runtime.CompilerServices.Unsafe", "Microsoft.Bcl.AsyncInterfaces"] },
{ id: "Pipelines.Sockets.Unofficial", version: "2.2.0" },
{ id: "System.Diagnostics.PerformanceCounter", version: "5.0.0" },
{ id: "System.Threading.Channels", version: "7.0.0", dependentPackageIdsToSkip: ["System.Threading.Tasks.Extensions"] },
{ id: "System.Threading.Channels", version: "7.0.0" },
{ id: "System.Linq.Async", version: "4.0.0"},
{ id: "Polly", version: "7.2.1" },
@ -264,10 +252,10 @@ config({
{ id: "BuildXL.Azurite.Executables", version: "1.0.0-CI-20230614-171424" },
// Testing
{ id: "System.Security.Cryptography.ProtectedData", version: "5.0.0"},
{ id: "System.Configuration.ConfigurationManager", version: "4.4.0"},
{ id: "FluentAssertions", version: "5.3.0",
dependentPackageIdsToSkip: ["System.Reflection.Emit", "System.Reflection.Emit.Lightweight"] },
{ id: "System.Security.Cryptography.ProtectedData", version: "7.0.0"},
{ id: "System.Configuration.ConfigurationManager", version: "7.0.0"},
{ id: "System.Diagnostics.EventLog", version: "7.0.0" },
{ id: "FluentAssertions", version: "5.3.0" },
{ id: "DotNet.Glob", version: "2.0.3" },
{ id: "Minimatch", version: "1.1.0.0" },
@ -278,9 +266,12 @@ config({
{ id: "Microsoft.ApplicationInsights.WindowsServer", version: "2.3.0" },
{ id: "Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel", version: "2.3.0" },
{ id: "System.Security.Cryptography.Xml", version: "4.7.1" },
{ id: "System.Text.Encodings.Web", version: "4.7.2" },
{ id: "System.Security.Permissions", version: "4.5.0" },
{ id: "System.Security.Cryptography.Pkcs", version: "4.5.0" },
{ id: "System.Text.Encodings.Web", version: "7.0.0" },
{ id: "System.Security.Permissions", version: "7.0.0" },
{ id: "System.Windows.Extensions", version: "7.0.0" },
{ id: "System.Drawing.Common", version: "7.0.0" },
{ id: "Microsoft.Win32.SystemEvents", version: "7.0.0" },
{ id: "System.Security.Cryptography.Pkcs", version: "7.0.2" },
{ id: "ILRepack", version: "2.0.16" },
@ -297,37 +288,29 @@ config({
{ id: "Microsoft.TeamFoundation.DistributedTask.Common.Contracts", version: "16.170.0"},
// MSBuild. These should be used for compile references only, as at runtime one can only practically use MSBuilds from Visual Studio / dotnet CLI
{ id: "Microsoft.Build", version: "17.0.0",
dependentPackageIdsToSkip: ["System.Reflection.Metadata", "System.Memory", "System.Text.Json", "System.Collections.Immutable"], // These are overwritten in the deployment by DataflowForMSBuild and SystemMemoryForMSBuild since it doesn't work with the versions we use in larger buildxl.
},
{ id: "Microsoft.Build.Runtime", version: "17.0.0",
dependentPackageIdsToSkip: ["System.Memory"],
},
{ id: "Microsoft.Build.Tasks.Core", version: "17.0.0",
dependentPackageIdsToSkip: ["System.Memory", "System.Collections.Immutable"],
},
{ id: "Microsoft.Build.Utilities.Core", version: "17.0.0", dependentPackageIdsToSkip: ["System.Memory", "System.Text.Json", "System.Collections.Immutable"]},
{ id: "Microsoft.Build.Framework", version: "17.0.0", dependentPackageIdsToSkip: ["System.Memory", "System.Text.Json"]},
{ id: "Microsoft.NET.StringTools", version: "1.0.0", dependentPackageIdsToSkip: ["System.Memory", "System.Text.Json"]},
{ id: "Microsoft.Build", version: "17.7.2" },
{ id: "Microsoft.Build.Runtime", version: "17.7.2" },
{ id: "Microsoft.Build.Tasks.Core", version: "17.7.2" },
{ id: "Microsoft.Build.Utilities.Core", version: "17.0.0" },
{ id: "Microsoft.Build.Framework", version: "17.7.2" },
{ id: "Microsoft.NET.StringTools", version: "1.0.0" },
{ id: "Microsoft.Build.Locator", version: "1.5.5" },
{ id: "System.Reflection.MetadataLoadContext", version: "7.0.0"},
{ id: "System.Resources.Extensions", version: "4.6.0-preview9.19411.4",
dependentPackageIdsToSkip: ["System.Memory"]},
// Buffers and Memory
{ 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.5", dependentPackageIdsToSkip: ["System.Runtime.CompilerServices.Unsafe", "System.Numerics.Vectors"] }, /* Change Sync: BuildXLSdk.cacheBindingRedirects() */
{ id: "System.Memory", version: "4.5.4", alias: "System.MemoryForVBCS", dependentPackageIdsToSkip: ["System.Runtime.CompilerServices.Unsafe", "System.Numerics.Vectors"] },
{ id: "System.Runtime.CompilerServices.Unsafe", version: "5.0.0" }, /* Change Sync: BuildXLSdk.cacheBindingRedirects() */
{ id: "System.IO.Pipelines", version: "7.0.0-rc.1.22426.10", dependentPackageIdsToSkip: ["System.Threading.Tasks.Extensions"] },
{ id: "System.Memory", version: "4.5.5" }, /* Change Sync: BuildXLSdk.cacheBindingRedirects() */
{ id: "System.Runtime.CompilerServices.Unsafe", version: "6.0.0" }, /* Change Sync: BuildXLSdk.cacheBindingRedirects() */
{ id: "System.IO.Pipelines", version: "7.0.0-rc.1.22426.10" },
{ id: "System.Numerics.Vectors", version: "4.5.0" }, /* Change Sync: BuildXLSdk.cacheBindingRedirects() */
// Extra dependencies to make MSBuild work
{ id: "Microsoft.VisualStudio.Setup.Configuration.Interop", version: "1.16.30"},
{ id: "Microsoft.VisualStudio.Setup.Configuration.Interop", version: "3.2.2146"},
{ id: "System.CodeDom", version: "4.4.0"},
{ id: "System.Text.Encoding.CodePages", version: "4.5.1",
dependentPackageIdsToSkip: ["System.Runtime.CompilerServices.Unsafe"]},
{ id: "System.Numerics.Vectors", version: "4.4.0", alias: "SystemNumericsVectorsForMSBuild"},
{ id: "System.Text.Encoding.CodePages", version: "4.5.1" },
// Used for MSBuild input/output prediction
{ id: "Microsoft.Build.Prediction", version: "0.3.0" },
@ -357,8 +340,7 @@ config({
{ id: "boost", version: "1.71.0.0" },
// Needed for SBOM Generation
{ id: "Microsoft.Extensions.Logging.Abstractions", version: "7.0.0", dependentPackageIdsToSkip: ["System.Buffers", "System.Memory"] },
{ id: "System.Text.Encodings.Web", version: "7.0.0", dependentPackageIdsToSkip: ["System.Buffers", "System.Memory"], alias: "System.Text.Encodings.Web.v7.0.0" },
{ id: "Microsoft.Extensions.Logging.Abstractions", version: "7.0.0" },
{ id: "packageurl-dotnet", version: "1.1.0" },
{ id: "System.Reactive", version: "4.4.1" },

Просмотреть файл

@ -77,7 +77,7 @@ export const pkgs = isMicrosoftInternal ? [
{ id: "Microsoft.Sbom.Adapters", version: "2.2.3" },
{ id: "Microsoft.ComponentDetection.Contracts", version: "4.2.0" },
{ id: "Microsoft.Sbom.Contracts", version: "2.2.3" },
{ id: "Microsoft.Sbom.Extensions", version: "2.2.3", dependentPackageIdsToSkip: ["System.Text.Json"] },
{ id: "Microsoft.Sbom.Extensions", version: "2.2.3" },
{ id: "Microsoft.Bcl.HashCode", version: "1.1.1" },
// Process remoting
@ -93,11 +93,11 @@ export const pkgs = isMicrosoftInternal ? [
// CredScan
{ id: "Strings.Interop", version: "1.10.0" },
{ id: "RE2.Managed", version: "1.10.0" },
{ id: "Microsoft.Automata.SRM", version: "2.0.0-alpha3", dependentPackageIdsToSkip: ["System.Collections.Immutable"] },
{ id: "Microsoft.Automata.SRM", version: "2.0.0-alpha3" },
{ id: "Crc32.NET", version: "1.2.0" },
{ id: "Microsoft.Security.RegularExpressions", version: "1.7.1.6", dependentPackageIdsToSkip: ["System.Numerics.Vectors"] } ,
{ id: "Microsoft.Security.RegularExpressions", version: "1.7.1.6" } ,
{ id: "Microsoft.Security.CredScan.KnowledgeBase.SharedDomains", version: "1.7.1.6" },
{ id: "Microsoft.Security.CredScan.KnowledgeBase", version: "1.7.1.6", dependentPackageIdsToSkip: ["System.Text.Json"] },
{ id: "Microsoft.Security.CredScan.KnowledgeBase", version: "1.7.1.6" },
{ id: "Microsoft.Security.CredScan.KnowledgeBase.Client", version: "1.7.1.6" },
{ id: "Microsoft.Security.CredScan.KnowledgeBase.Ruleset", version: "1.7.1.6" },

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
const aspVersion = "2.2.0";
const aspVersion = "7.0.0";
// Versions used by framework reference packages for reference assemblies
// and runtime assemblies respectively
@ -23,6 +23,7 @@ export const pkgs = [
{ id: "Microsoft.Extensions.Configuration", version: aspVersion },
{ id: "Microsoft.Extensions.DependencyInjection.Abstractions", version: aspVersion },
{ id: "Microsoft.Extensions.Logging", version: aspVersion },
{ id: "Microsoft.Extensions.DependencyInjection", version: aspVersion },
{ id: "Microsoft.Extensions.Options", version: aspVersion },
{ id: "Microsoft.Extensions.Primitives", version: aspVersion },
@ -30,21 +31,20 @@ export const pkgs = [
{ id: "Microsoft.AspNetCore.App.Ref", version: asp6RefVersion, alias: "Microsoft.AspNetCore.App.Ref.6.0.0" },
// Microsoft.AsptNetCore.App.Runtime.* packages embed Microsoft.Extensions.Logging.Abstractions.dll. This causes
// deployment problems since we also consume Microsoft.Extensions.Logging.Abstractions nuget package directly.
// Exclude the logging dll from all these packages, and use the proper nuget package directly as needed
// Microsoft.AsptNetCore.App.Runtime.* packages embed some packages we also consume
// directly. Exclude all these packages, and use the proper nuget package directly as needed
{ id: "Microsoft.AspNetCore.App.Runtime.win-x64", version: asp6RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.win-x64.6.0.0",
filesToExclude: [r`runtimes/win-x64/lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll`]},
filesToExclude: [r`runtimes/win-x64/lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/win-x64/lib/net6.0/Microsoft.Extensions.Logging.dll`]},
{ id: "Microsoft.AspNetCore.App.Runtime.linux-x64", version: asp6RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.linux-x64.6.0.0",
filesToExclude: [r`runtimes/linux-x64/lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll`] },
filesToExclude: [r`runtimes/linux-x64/lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/linux-x64/lib/net6.0/Microsoft.Extensions.Logging.dll`] },
{ id: "Microsoft.AspNetCore.App.Runtime.osx-x64", version: asp6RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.osx-x64.6.0.0",
filesToExclude: [r`runtimes/osx-x64/lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll`] },
filesToExclude: [r`runtimes/osx-x64/lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/osx-x64/lib/net6.0/Microsoft.Extensions.Logging.dll`] },
{ id: "Microsoft.AspNetCore.App.Ref", version: asp7RefVersion, alias: "Microsoft.AspNetCore.App.Ref.7.0.0" },
{ id: "Microsoft.AspNetCore.App.Runtime.win-x64", version: asp7RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.win-x64.7.0.0",
filesToExclude: [r`runtimes/win-x64/lib/net7.0/Microsoft.Extensions.Logging.Abstractions.dll`] },
filesToExclude: [r`runtimes/win-x64/lib/net7.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/win-x64/lib/net7.0/Microsoft.Extensions.Logging.dll`] },
{ id: "Microsoft.AspNetCore.App.Runtime.linux-x64", version: asp7RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.linux-x64.7.0.0",
filesToExclude: [r`runtimes/linux-x64/lib/net7.0/Microsoft.Extensions.Logging.Abstractions.dll`] },
filesToExclude: [r`runtimes/linux-x64/lib/net7.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/linux-x64/lib/net7.0/Microsoft.Extensions.Logging.dll`] },
{ id: "Microsoft.AspNetCore.App.Runtime.osx-x64", version: asp7RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.osx-x64.7.0.0",
filesToExclude: [r`runtimes/osx-x64/lib/net7.0/Microsoft.Extensions.Logging.Abstractions.dll`] },
filesToExclude: [r`runtimes/osx-x64/lib/net7.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/osx-x64/lib/net7.0/Microsoft.Extensions.Logging.dll`] },
];

Просмотреть файл

@ -24,7 +24,7 @@ export const pkgs = [
{ id: "Microsoft.NETCore.App.Ref", version: coreVersion },
{ id: "NETStandard.Library", version: "2.0.3", tfm: ".NETStandard2.0" },
{ id: "Microsoft.NETCore.Platforms", version: coreVersion },
{ id: "Microsoft.NETCore.Platforms", version: core50Version },
// .NET Core Self-Contained Deployment
{ id: "Microsoft.NETCore.DotNetHostResolver", version: coreVersion },
@ -38,8 +38,7 @@ export const pkgs = [
// .NET Core 6.0 Dependencies
{ id: "Microsoft.NETCore.App.Ref", version: core60Version, alias: "Microsoft.NETCore.App.Ref60" },
{ id: "Microsoft.NETCore.Platforms", version: core60VersionPlatforms, alias: "Microsoft.NETCore.Platforms.6.0" },
// .NET Core Self-Contained Deployment
{ id: "Microsoft.NETCore.DotNetHostResolver", version: core60Version, alias: "Microsoft.NETCore.DotNetHostResolver.6.0" },
@ -205,7 +204,7 @@ export const pkgs = [
{ id: "System.Runtime.Serialization.Xml", version: pkgVersion },
{ id: "System.Runtime.WindowsRuntime", version: pkgVersion },
{ id: "System.Security.Cryptography.Algorithms", version: pkgVersion },
{ id: "System.Security.Cryptography.Cng", version: pkgVersion },
{ id: "System.Security.Cryptography.Cng", version: pkgVersion5 },
{ id: "System.Security.Cryptography.Csp", version: pkgVersion },
{ id: "System.Security.Cryptography.Encoding", version: pkgVersion },
{ id: "System.Security.Cryptography.Primitives", version: pkgVersion },
@ -219,7 +218,8 @@ export const pkgs = [
{ id: "System.Threading", version: pkgVersion },
{ id: "System.Threading.Overlapped", version: pkgVersion },
{ id: "System.Threading.Tasks", version: pkgVersion },
{ id: "System.Formats.Asn1", version: "7.0.0"},
{ id: "System.Threading.Tasks.Parallel", version: pkgVersion },
{ id: "System.Threading.Thread", version: pkgVersion },
{ id: "System.Threading.ThreadPool", version: pkgVersion },
@ -236,38 +236,19 @@ export const pkgs = [
// Bumped version numbers
{ id: "System.IO.FileSystem.AccessControl", version: pkgVersionNext },
{ id: "System.Management", version: pkgVersionNext },
{ id: "System.Security.AccessControl", version: pkgVersionNext,
dependentPackageIdsToSkip: ["System.Security.Principal.Windows"] },
{ id: "System.Security.Principal.Windows", version: pkgVersionNext },
{ id: "System.Security.AccessControl", version: pkgVersion6 },
{ id: "System.Security.Principal.Windows", version: pkgVersion6Preview },
{ id: "System.Security.Principal.Windows", version: pkgVersion5, alias: "System.Security.Principal.Windows.v5.0.0" },
{ id: "System.Text.Json", version: "4.7.2",
dependentPackageIdsToSkip: ["System.Memory", "System.ValueTuple", "System.Runtime.CompilerServices.Unsafe", "System.Numerics.Vectors", "System.Threading.Tasks.Extensions", "Microsoft.Bcl.AsyncInterfaces"],
},
{ id: "System.Text.Json", version: pkgVersion7,
dependentPackageIdsToSkip: ["System.Memory", "System.Buffers", "System.ValueTuple", "System.Runtime.CompilerServices.Unsafe", "System.Numerics.Vectors", "System.Threading.Tasks.Extensions", "Microsoft.Bcl.AsyncInterfaces", "System.Text.Encodings.Web"],
alias: "System.Text.Json.v7.0.0"
},
{ id: "System.Text.Json", version: "7.0.0" },
{ id: "System.Threading.AccessControl", version: pkgVersionNext },
{ id: "System.IO.FileSystem.AccessControl", version: pkgVersion6Preview, alias: "System.IO.FileSystem.AccessControl.v6.0.0" },
{ id: "System.Security.AccessControl", version: pkgVersion6, alias: "System.Security.AccessControl.v6.0.0" },
{ id: "System.Security.Principal.Windows", version: pkgVersion6Preview, alias: "System.Security.Principal.Windows.v6.0.0" },
// Non-standard version ones
{ id: "Microsoft.NETCore.Targets", version: "2.0.0" },
// NOTE(jubayard): If you depend on this package and need to build for Net472, you will need to add the
// dependency manually, using netstandard2.0 targetFramework qualifier. Dependency clipped because it
// causes a deployment conflict for the cache.
{ id: "System.Threading.Tasks.Extensions", version: "4.5.4", // If you change this version, please change cacheBindingRedirects in BuildXLSdk.dsc
dependentPackageIdsToSkip: ["System.Runtime.CompilerServices.Unsafe"] },
{ id: "System.Threading.Tasks.Extensions", version: "4.5.4" }, // If you change this version, please change cacheBindingRedirects in BuildXLSdk.dsc
{ id: "System.Security.Cryptography.OpenSsl", version: "4.4.0" },
{ id: "System.Collections.Immutable", version: "1.5.0" },
// The next one is used only to run some tests in the IDE.
// { id: "System.Collections.Immutable", version: "1.7.1", dependentPackageIdsToSkip: ["System.Memory"] },
{ id: "System.Collections.Immutable", version: "5.0.0", alias: "System.Collections.Immutable.ForVBCS", dependentPackageIdsToSkip: ["System.Memory"] },
{ id: "System.Collections.Immutable", version: "7.0.0" },
];

Просмотреть файл

@ -12,31 +12,26 @@ export const pkgs = [
// grpc
{ id: "Grpc.Net.Client", version: grpcNetVersion },
{ id: "Grpc.Net.Client.Web", version: grpcNetVersion},
{ id: "Grpc.Net.ClientFactory", version: grpcNetVersion, dependentPackageIdsToSkip: [ "Microsoft.Extensions.Http" ]},
{ id: "Grpc.Net.ClientFactory", version: grpcNetVersion },
{ id: "Grpc.Net.Common", version: grpcNetVersion},
{ id: "Grpc.AspNetCore.Server.ClientFactory", version: grpcNetVersion},
{ id: "Grpc.AspNetCore.Server", version: grpcNetVersion},
{ id: "Grpc.AspNetCore", version: grpcNetVersion},
{ id: "Grpc.Core", version: "2.46.3", dependentPackageIdsToSkip: [ "System.Memory" ] },
{ id: "Grpc.Core.Api", version: grpcCoreVersion, dependentPackageIdsToSkip: [ "System.Memory" ] },
{ id: "Grpc.Core", version: "2.46.3" },
{ id: "Grpc.Core.Api", version: grpcCoreVersion },
{ id: "Grpc.Tools", version: grpcCoreVersion },
// protobuf
{ id: "Google.Protobuf", version: protoVersion, dependentPackageIdsToSkip: [ "System.Memory" ] },
{ id: "Google.Protobuf", version: protoVersion },
{ id: "Google.Protobuf.Tools", version: protoToolsVersion },
// protobuf-net
{ id: "protobuf-net.Core", version: "3.0.101",
dependentPackageIdsToSkip: [ "System.Memory" ] },
{ id: "protobuf-net", version: "3.0.101",
dependentPackageIdsToSkip: [ "System.Memory" ] },
{ id: "protobuf-net.Grpc", version: "1.0.152",
dependentPackageIdsToSkip: [ "System.Memory", "System.Threading.Channels", "Grpc.Core.Api" ] },
{ id: "protobuf-net.Grpc.Native", version: "1.0.152",
dependentPackageIdsToSkip: [ "System.Memory", "System.Threading.Channels", "Grpc.Core" ] },
{ id: "protobuf-net.Grpc.AspNetCore", version: "1.0.152",
dependentPackageIdsToSkip: [ "System.Memory", "System.Threading.Channels", "Grpc.Core" ] },
{ id: "protobuf-net.Core", version: "3.0.101" },
{ id: "protobuf-net", version: "3.0.101" },
{ id: "protobuf-net.Grpc", version: "1.0.152" },
{ id: "protobuf-net.Grpc.Native", version: "1.0.152" },
{ id: "protobuf-net.Grpc.AspNetCore", version: "1.0.152" },
{ id: "System.ServiceModel.Http", version: "4.10.0" },
{ id: "System.ServiceModel.Primitives", version: "4.10.0" },

Просмотреть файл

@ -36,14 +36,14 @@ export const pkgs = [
{ id: "Microsoft.VisualStudio.TextManager.Interop.8.0", version: "8.0.50728" },
{ id: "Microsoft.VisualStudio.TextManager.Interop.9.0", version: "9.0.30730" },
{ id: "Microsoft.VisualStudio.TextManager.Interop", version: "7.10.6071" },
{ id: "Microsoft.VisualStudio.Threading", version: "17.0.32-alpha", dependentPackageIdsToSkip: ["Microsoft.Bcl.AsyncInterfaces"] },
{ id: "Microsoft.VisualStudio.Threading", version: "17.0.32-alpha" },
{ id: "Microsoft.VisualStudio.Utilities", version: "15.8.28010" },
{ id: "Microsoft.VisualStudio.Validation", version: "16.10.35" },
{ id: "stdole", version: "7.0.3303" },
{ id: "StreamJsonRpc", version: "2.8.28" },
{ id: "MessagePack", version: "2.2.85" },
{ id: "MessagePack.Annotations", version: "2.2.85" },
{ id: "Nerdbank.Streams", version: "2.6.81", dependentPackageIdsToSkip: ["Microsoft.Bcl.AsyncInterfaces"] },
{ id: "Nerdbank.Streams", version: "2.6.81" },
{ id: "Microsoft.IO.Redist", version: "4.7.1" },
{ id: "Microsoft.VisualStudio.SDK.Analyzers", version: "16.10.10" },
{ id: "Microsoft.VisualStudio.GraphModel", version: "17.0.0-previews-3-31605-261" },