Merge pull request #1334 from PowerShell/RaghuS-PackageManagementBranch
Exclude PackageSourceList from building on *nix platforms
This commit is contained in:
commit
ca1780255f
|
@ -1,4 +1,6 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
#if !LINUX
|
||||
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
|
@ -90,3 +92,5 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
//
|
||||
#if !LINUX
|
||||
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -591,4 +593,6 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
// TODO do we need to support save-package for executable packages?
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
|
@ -1,4 +1,6 @@
|
|||
//
|
||||
#if !LINUX
|
||||
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -232,4 +234,6 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
|
@ -1,4 +1,6 @@
|
|||
using System;
|
||||
#if !LINUX
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.IO;
|
||||
|
@ -440,3 +442,5 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
|
@ -1,4 +1,6 @@
|
|||
//
|
||||
#if !LINUX
|
||||
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -868,4 +870,6 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
|
@ -1,3 +1,5 @@
|
|||
#if !LINUX
|
||||
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
@ -1070,4 +1072,6 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
|
@ -1,4 +1,6 @@
|
|||
//
|
||||
#if !LINUX
|
||||
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -152,3 +154,5 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
|
@ -1,4 +1,6 @@
|
|||
//
|
||||
#if !LINUX
|
||||
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -41,3 +43,5 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
|
@ -1,4 +1,6 @@
|
|||
//
|
||||
#if !LINUX
|
||||
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -197,4 +199,6 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
|
@ -1,4 +1,6 @@
|
|||
//
|
||||
#if !LINUX
|
||||
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -51,3 +53,5 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
|
@ -1,4 +1,6 @@
|
|||
//
|
||||
#if !LINUX
|
||||
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -238,3 +240,5 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
//
|
||||
#if !LINUX
|
||||
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -212,4 +214,6 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
|
@ -1,3 +1,4 @@
|
|||
#if !LINUX
|
||||
|
||||
namespace Microsoft.PackageManagement.PackageSourceListProvider
|
||||
{
|
||||
|
@ -153,3 +154,5 @@ namespace Microsoft.PackageManagement.PackageSourceListProvider
|
|||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
|
@ -10,7 +10,7 @@
|
|||
"configurations": {
|
||||
"Linux": {
|
||||
"buildOptions": {
|
||||
"define": ["LINUX"]
|
||||
"define": [ "LINUX" ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -60,7 +60,7 @@
|
|||
"../Microsoft.PackageManagement/Providers/Inbox/Common/Extensions/*.cs",
|
||||
"../Microsoft.PackageManagement/Providers/Inbox/Common/Utility/*.cs",
|
||||
"../Microsoft.PackageManagement/Providers/Inbox/Common/Version/*.cs"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in a new issue