Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Chad Su fe7b4e37d4 Implement IBuildProvider so that the BuildXL Integration VS extension can intercept SDK-style csproj builds
The BuildXL Integration VS extension intercepts non-SDK-style csproj builds. However, that mechanism does not work for SDK-style csproj builds. Per SharePoint Online's request, the Visual Studio team has designed a new interface IBuildProvider. See the email for more details - [SharePoint, BuildXL and SDK Style projects.pdf](https://dev.azure.com/mseng/9ed2c125-1cd5-4a17-886b-9d267f3a5fab/_apis/git/repositories/50d331c7-ea65-45eb-833f-0303c6c2387e/pullRequests/658304/attachments/SharePoint%2C%20BuildXL%20and%20SDK%20Style%20projects.pdf).
2022-04-29 18:43:39 +00:00
Chad Su 7975d78fe0 Delete obsolete pre-Dev17 BuildXLVsPackage
Delete BuildXLVsPackage and rename BuildXLVsPackageDev17 to BuildXLVsPackage.
2022-04-28 00:34:05 +00:00
Chad Su fc58516301 Fix BuildXL Integration extension issue with Visual Studio 2022 17.2.0 Preview 2.1 or above
```
SetSite failed for package [BuildXLVsPackage]Source: 'BuildXLVsPackageDev17' Description: Unable to cast object of type 'Microsoft.VisualStudio.CommonIDE.Solutions.CSlnUpdate' to type 'Microsoft.Internal.VisualStudio.Shell.Interop.IVsSolutionBuildManagerPrivate'. System.InvalidCastException: Unable to cast object of type 'Microsoft.VisualStudio.CommonIDE.Solutions.CSlnUpdate' to type 'Microsoft.Internal.VisualStudio.Shell.Interop.IVsSolutionBuildManagerPrivate'. at BuildXL.VsPackage.VsProject.ProjectFlavorFactory..ctor(BuildXLVsPackage package) in \.\Public\Src\IDE\VsIntegration\BuildXLVsPackageShared\VsProject\ProjectFlavorFactory.cs:line 59 at BuildXL.VsPackage.BuildXLVsPackage.<InitializeAsync>d__15.MoveNext() in \.\Public\Src\IDE\VsIntegration\BuildXLVsPackageShared\BuildXLVsPackage.cs:line 137
```
The problem is that the extension has its own definition of Microsoft.Internal.VisualStudio.Shell.Interop.IVsSolutionBuildManagerPrivate copied from Microsoft.Internal.VisualStudio.Shell.Interop.10.0.DesignTime.dll. The solution is to use the interface defined in Microsoft.Internal.VisualStudio.Interop.dll.
2022-04-08 16:26:43 +00:00
Serge Mera 7d0643d739 Merged PR 636601: Update DScript VSCode plugin to the latest and greatest
No intended changes in functionality. This PR snaps to the latest vscode-related libraries across the board.

Related work items: #1887148
2021-11-03 16:39:52 +00:00
Iman Narasamdya e50e54d305 Merged PR 628769: Add an option to force update NuGet specs
Incorrect NuGet specs that are generated in CB are sticky. This PR adds an option to force re-generating NuGet specs.
2021-09-07 21:42:03 +00:00
Pasindu Gunasekara c9d9d9c587 Merged PR 627925: Add VS2022 support to BuildXL VS extension
- Dev17 extensions must be build separately from older versions, as the 32 bit versions are not compatible with the amd64 process used for vs2022,
- Pull managed code into a separate shared directory.
- Update VS SDK package versions to preview versions for dev17.
- Create a second dev17 extension (which is a copy of the older extension with references to newer versions of the VS SDK). This extension will only install on dev17, and has a target architecture of amd64.
- Compile the shared code using the newer and older versions of the SDK for each extension.
- Update extension version to 3.1
- Tested on BuildXL and OSGTools generated solutions with vs2019 and vs2022.

Related work items: #1869107, #1870020
2021-08-31 17:31:41 +00:00
Sergey Tepliakov 133d7d65b5 Merged PR 610715: Add analyzers support for bxl sdk
Expose the analyzers support from the Bxl sdk.

Bxl supported Roslyn analyzers for a long time, but the list of supported analyzers was built in into Bxl Sdk.

This PR exposes `analyzers` properties and every project may add extra analyzers if needed:

```
@@public
export const dll = BuildXLSdk.library({
        assemblyName: "BuildXL.Cache.ContentStore.Distributed",
        sources: globR(d`.`,"*.cs"),
        analyzers: [importFrom("protobuf-net.BuildTools").pkg]});
```
2021-04-28 20:15:03 +00:00
Aleksandar Milicevic 2e3fa937b2 Merged PR 572965: Remove unused nugets 2020-09-05 15:30:31 +00:00
Danny van Velzen 357edc8ce3 Merged PR 524279: Remove all nuget workarounds that are no longer needed
Remove all nuget workarounds that are no longer needed.
2019-12-13 01:03:27 +00:00
Microsoft Open Source b5c9f43106 Initial sync
Sync from internal 'Domino' repo at 7ef83bdcd855bd3a837464e44d6de25f19775b5c
2019-03-28 15:35:49 -07:00