-
Notifications
You must be signed in to change notification settings - Fork 147
/
config.nuget.aspNetCore.dsc
50 lines (41 loc) · 3.62 KB
/
config.nuget.aspNetCore.dsc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
const aspVersion = "8.0.0";
// Versions used by framework reference packages for reference assemblies
// and runtime assemblies respectively
const asp6RefVersion = "6.0.35";
const asp6RuntimeVersion = "6.0.35";
const asp8RefVersion = "8.0.10";
const asp8RuntimeVersion = "8.0.10";
export const pkgs = [
// aspnet web api
{ id: "Microsoft.AspNet.WebApi.Client", version: "5.2.7" },
{ id: "Microsoft.AspNet.WebApi.Core", version: "5.2.7" },
{ id: "Microsoft.AspNet.WebApi.WebHost", version: "5.2.7" },
// aspnet core
{ id: "Microsoft.Extensions.Configuration.Abstractions", version: aspVersion },
{ id: "Microsoft.Extensions.Configuration.Binder", version: aspVersion },
{ 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 },
{ id: "Microsoft.Net.Http", version: "2.2.29" },
{ id: "Microsoft.AspNetCore.App.Ref", version: asp6RefVersion, alias: "Microsoft.AspNetCore.App.Ref.6.0.0" },
// 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`, 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`, 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`, r`runtimes/osx-x64/lib/net6.0/Microsoft.Extensions.Logging.dll`] },
{ id: "Microsoft.AspNetCore.App.Ref", version: asp8RefVersion, alias: "Microsoft.AspNetCore.App.Ref.8.0.0" },
{ id: "Microsoft.AspNetCore.App.Runtime.win-x64", version: asp8RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.win-x64.8.0.0",
filesToExclude: [r`runtimes/win-x64/lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/win-x64/lib/net8.0/Microsoft.Extensions.Logging.dll`] },
{ id: "Microsoft.AspNetCore.App.Runtime.linux-x64", version: asp8RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.linux-x64.8.0.0",
filesToExclude: [r`runtimes/linux-x64/lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/linux-x64/lib/net8.0/Microsoft.Extensions.Logging.dll`] },
{ id: "Microsoft.AspNetCore.App.Runtime.osx-x64", version: asp8RuntimeVersion, alias: "Microsoft.AspNetCore.App.Runtime.osx-x64.8.0.0",
filesToExclude: [r`runtimes/osx-x64/lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll`, r`runtimes/osx-x64/lib/net8.0/Microsoft.Extensions.Logging.dll`] },
];