Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
5724fef
Update Dockerfile and global.json updates to v9.0.200
renovate[bot] Feb 12, 2025
c24a8f0
Update dependency dotnet-coverage to 17.14.1
renovate[bot] Feb 19, 2025
0527720
Update dependency docfx to 2.78.3 (#351)
renovate[bot] Feb 20, 2025
e98ff17
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Feb 21, 2025
077bfc3
Do not verify signed binaries in LocBin artifact
AArnott Feb 26, 2025
81ff341
Add placeholder option for vs-validation to skip optimization
AArnott Feb 26, 2025
0fb1dde
Update dependency dotnet-coverage to 17.14.2 (#352)
renovate[bot] Feb 27, 2025
161bac9
Fix GitHub release workflow in dispatched runs
AArnott Mar 3, 2025
17a708e
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Mar 3, 2025
1e00ddc
Drop semanticCommits setting from renovate.json
AArnott Mar 4, 2025
67128e5
Merge branch 'main' into microbuild
AArnott Mar 4, 2025
1cc3b97
Switch to renovate rules from Microsoft presets
AArnott Mar 4, 2025
164ff31
Do not fail on missing LCL files in official builds
AArnott Mar 8, 2025
46e768b
Revert "Avoid `dotnet format` hang"
AArnott Mar 10, 2025
6ed2f36
Consolidate SDL tasks for insertion job
AArnott Mar 10, 2025
65f8440
Disable redundant 1ES SBOM task
AArnott Mar 10, 2025
039ac0b
Put publishing code coverage under a switch
AArnott Mar 10, 2025
845a785
Merge pull request #354 from AArnott/optimizations
AArnott Mar 10, 2025
e1e35f1
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Mar 10, 2025
dcc2963
Drop github release workflow
AArnott Mar 12, 2025
e5d6527
Merge pull request #355 from AArnott/renovate/dockerfile-and-global.j…
renovate[bot] Mar 12, 2025
6307413
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Mar 14, 2025
24a6e2b
Build renovate settings on the best-practices preset (#357)
AArnott Mar 19, 2025
408618f
Update Dockerfile and global.json updates to v9.0.202 (#356)
renovate[bot] Mar 19, 2025
8d800dc
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Mar 19, 2025
b8573cf
Pin dependencies (#358)
renovate[bot] Mar 19, 2025
4569224
Pin mcr.microsoft.com/dotnet/sdk Docker tag to 332e036 (#359)
renovate[bot] Mar 19, 2025
c90816a
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Mar 19, 2025
bca1328
Merge the microbuild branch from https://github.com/aarnott/Library.T…
AArnott Mar 20, 2025
7723ea9
Keep targeting the oldest .NET LTS version
AArnott Mar 20, 2025
32fa187
Update mcr.microsoft.com/dotnet/sdk:9.0.202-noble Docker digest to dc…
renovate[bot] Mar 24, 2025
c6c1f8b
Opt in to the new MicroBuild SBOM behavior
matteo-prosperi Mar 27, 2025
e9c5e82
Merge pull request #362 from matteo-prosperi/dev/maprospe/sbom
AArnott Mar 27, 2025
bc06523
Fix unofficial build with SDL tools enabled
matteo-prosperi Mar 27, 2025
5938898
Merge pull request #363 from matteo-prosperi/patch-4
AArnott Mar 28, 2025
01186f5
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Mar 29, 2025
268a3af
Update dependency xunit.v3 to v2 (#353)
renovate[bot] Apr 6, 2025
d4ce11e
Update Dockerfile and global.json updates to v9.0.203 (#364)
renovate[bot] Apr 9, 2025
95d339a
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Apr 11, 2025
2fb29d7
Update docs to use MergeFrom-Template.ps1
AArnott Apr 16, 2025
2ce8c97
Merge branch 'main' into microbuild
AArnott Apr 16, 2025
23cd85a
Fix lang service reporting C# 7.3 errors in Error List
AArnott Apr 22, 2025
3c5a02c
Merge branch 'main' into microbuild
AArnott Apr 22, 2025
095ddc2
Remove remnants of a workaround
AArnott Apr 22, 2025
24fb90c
Share more variable definitions
AArnott Apr 22, 2025
a84dfb3
Avoid CodeQL steps during release
AArnott Apr 22, 2025
5e856e2
Drop stale comment
AArnott Apr 23, 2025
2714b09
Reapply "Avoid `dotnet format` hang"
AArnott Apr 24, 2025
1aa5446
Merge branch 'main' into microbuild
AArnott Apr 24, 2025
a4fb4a4
Another CodeQL skip
AArnott Apr 24, 2025
2345213
Revert "Opt in to the new MicroBuild SBOM behavior" (#365)
AArnott Apr 24, 2025
708a205
Merge remote-tracking branch 'origin/microbuild' into microbuild_trial
AArnott Apr 24, 2025
1a8cb76
Update actions/download-artifact digest to d3f86a1
renovate[bot] Apr 28, 2025
8dc9804
Update dependency powershell to 7.5.1
renovate[bot] Apr 28, 2025
1ddad47
Update mcr.microsoft.com/dotnet/sdk:9.0.203-noble Docker digest to c8…
renovate[bot] Apr 28, 2025
638e0fb
Reapply "Opt in to the new MicroBuild SBOM behavior"
AArnott Apr 29, 2025
2b0f8e2
Merge branch 'microbuild_trial' into microbuild
AArnott Apr 29, 2025
567a574
Deploy SBOMs next to the VSIX they describe
AArnott Apr 30, 2025
508b839
Update xunit (#370)
renovate[bot] May 4, 2025
9d32400
Merge remote-tracking branch 'origin/main' into microbuild
AArnott May 5, 2025
990d9b5
Update SUPPORT.md with links to product support
AArnott May 6, 2025
fd52657
Refine SUPPORT.md wording
AArnott May 6, 2025
8fe4f14
Add support for a repo to hard-code extra SDKs that must be installed
AArnott May 6, 2025
0e0b8be
Merge pull request #371 from AArnott/multipleSDKs
AArnott May 6, 2025
3b421ec
Add script for collecting 3rd party symbol files
AArnott May 7, 2025
37b7f32
Merge branch 'main' into microbuild
AArnott May 8, 2025
5cc3d59
Reapply "Avoid `dotnet format` hang"
AArnott Apr 24, 2025
9e190e7
Merge branch 'main' into microbuild
AArnott May 8, 2025
e84bdc6
Fix 3rd party symbol archival
AArnott May 9, 2025
5ae59c1
Merge branch 'main' into microbuild
AArnott May 9, 2025
56aaaf0
Update Dockerfile and global.json updates to v9.0.300 (#372)
renovate[bot] May 14, 2025
94431e7
Update dependency Microsoft.NET.Test.Sdk to 17.14.0
AArnott May 20, 2025
c028455
Merge branch 'main' into microbuild
AArnott May 20, 2025
08b8fab
Update mcr.microsoft.com/dotnet/sdk:9.0.300-noble Docker digest to 9f…
renovate[bot] May 29, 2025
25a0aa4
Update becheran/mlc action to v0.22.0 (#374)
renovate[bot] May 29, 2025
7974fd3
Update dependency Microsoft.NET.Test.Sdk to 17.14.1
AArnott Jun 3, 2025
ae78ccb
Merge branch 'main' into microbuild
AArnott Jun 3, 2025
5370ecd
Merge the microbuild branch from https://github.com/aarnott/Library.T…
AArnott Jun 5, 2025
b5f62f7
Fix test failures that occur due to Xunit.v3 v2's new `TraceListener`
AArnott Jun 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"isRoot": true,
"tools": {
"powershell": {
"version": "7.5.0",
"version": "7.5.1",
"commands": [
"pwsh"
],
"rollForward": false
},
"dotnet-coverage": {
"version": "17.13.1",
"version": "17.14.2",
"commands": [
"dotnet-coverage"
],
Expand All @@ -24,7 +24,7 @@
"rollForward": false
},
"docfx": {
"version": "2.78.2",
"version": "2.78.3",
"commands": [
"docfx"
],
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Refer to https://hub.docker.com/_/microsoft-dotnet-sdk for available versions
FROM mcr.microsoft.com/dotnet/sdk:9.0.102-noble
FROM mcr.microsoft.com/dotnet/sdk:9.0.300-noble@sha256:9f7bd4d010026e15a57d9cf876f2f7d08c3eeed6a0ea987b8c5ba8c75e68e948

# Installing mono makes `dotnet test` work without errors even for net472.
# But installing it takes a long time, so it's excluded by default.
Expand Down
14 changes: 7 additions & 7 deletions .github/actions/publish-artifacts/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,46 +14,46 @@ runs:

- name: 📢 Upload project.assets.json files
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: projectAssetsJson-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/projectAssetsJson
continue-on-error: true
- name: 📢 Upload variables
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: variables-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/Variables
continue-on-error: true
- name: 📢 Upload build_logs
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: build_logs-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/build_logs
continue-on-error: true
- name: 📢 Upload testResults
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: testResults-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/testResults
continue-on-error: true
- name: 📢 Upload coverageResults
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: coverageResults-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/coverageResults
continue-on-error: true
- name: 📢 Upload symbols
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: symbols-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/symbols
continue-on-error: true
- name: 📢 Upload deployables
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: deployables-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/deployables
Expand Down
55 changes: 6 additions & 49 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,52 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"semanticCommits": "disabled",
"labels": ["dependencies"],
"packageRules": [
{
"matchPackageNames": ["nbgv", "nerdbank.gitversioning"],
"groupName": "nbgv and nerdbank.gitversioning updates"
},
{
"matchPackageNames": ["xunit*"],
"groupName": "xunit"
},
{
"matchDatasources": ["dotnet-version", "docker"],
"matchDepNames": ["dotnet-sdk", "mcr.microsoft.com/dotnet/sdk"],
"groupName": "Dockerfile and global.json updates"
},
{
"matchPackageNames": ["*"],
"allowedVersions": "!/-g[a-f0-9]+$/"
},
{
"matchPackageNames": [
"System.Collections.Immutable",
"System.Composition*",
"System.Diagnostics.DiagnosticSource",
"System.IO.Pipelines",
"System.Reflection.Metadata",
"System.Text.Json",
"System.Threading.Tasks.Dataflow",
"Microsoft.Bcl.AsyncInterfaces"
],
"allowedVersions": "<9.0",
"groupName": "Included in .NET runtime"
},
{
"matchPackageNames": ["Microsoft.VisualStudio.Internal.MicroBuild*"],
"groupName": "microbuild"
},
{
"matchPackageNames": ["Microsoft.VisualStudio.*"],
"groupName": "Visual Studio SDK"
},
{
"matchPackageNames": ["Microsoft.VisualStudio.*"],
"matchUpdateTypes": ["patch"],
"enabled": false
}
]
"extends": [
"github>microsoft/vs-renovate-presets:microbuild",
"github>microsoft/vs-renovate-presets:vs_main_dependencies",
"github>microsoft/vs-renovate-presets:dotnet_packages_LTS"
],
"packageRules": []
}
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: ⚙ Install prerequisites
Expand All @@ -35,10 +35,10 @@ jobs:
name: 📚 Generate documentation

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
with:
path: docfx/_site

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
2 changes: 1 addition & 1 deletion .github/workflows/libtemplate-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.

Expand Down
88 changes: 0 additions & 88 deletions .github/workflows/release.yml

This file was deleted.

14 changes: 14 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,17 @@ Configuration is in the `.github/renovate.json` file.
When changing the renovate.json file, follow [these validation steps](https://docs.renovatebot.com/config-validation/).

If Renovate is not creating pull requests when you expect it to, check that the [Renovate GitHub App](https://github.com/apps/renovate) is configured for your account or repo.

## Merging latest from Library.Template

### Maintaining your repo based on this template

The best way to keep your repo in sync with Library.Template's evolving features and best practices is to periodically merge the template into your repo:
`
```ps1
git fetch
git checkout origin/main
.\tools\MergeFrom-Template.ps1
# resolve any conflicts, then commit the merge commit.
git push origin -u HEAD
```
8 changes: 8 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<BaseOutputPath Condition=" '$(BaseOutputPath)' == '' ">$(RepoRootPath)bin\$(MSBuildProjectName)\</BaseOutputPath>
<PackageOutputPath>$(RepoRootPath)bin\Packages\$(Configuration)\NuGet\</PackageOutputPath>
<VSIXOutputPath>$(RepoRootPath)bin\Packages\$(Configuration)\Vsix\$(Platform)\</VSIXOutputPath>
<SBOMFileDestPath>$(VSIXOutputPath)</SBOMFileDestPath>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AnalysisLevel>latest</AnalysisLevel>
Expand Down Expand Up @@ -38,6 +39,11 @@
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<PropertyGroup>
<LangVersion Condition="'$(MSBuildProjectExtension)'=='.csproj'">13</LangVersion>
<LangVersion Condition="'$(MSBuildProjectExtension)'=='.vbproj'">16.9</LangVersion>
</PropertyGroup>

<ItemGroup>
<None Include="$(RepoRootPath)obj/NOTICE" Pack="true" PackagePath="" Visible="false" Condition=" Exists('$(RepoRootPath)obj/NOTICE') " />
</ItemGroup>
Expand All @@ -56,4 +62,6 @@
<PackageReleaseNotes Condition="'$(RepositoryUrl)'!=''">$(RepositoryUrl)/releases/tag/v$(Version)</PackageReleaseNotes>
</PropertyGroup>
</Target>

<Import Project="azure-pipelines\NuGetSbom.props" />
</Project>
6 changes: 0 additions & 6 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<LangVersion Condition="'$(Language)'=='C#'">13</LangVersion>
<LangVersion Condition="'$(Language)'=='VB'">16.9</LangVersion>
</PropertyGroup>
<ItemGroup>
<!-- Avoid compile error about missing namespace when combining ImplicitUsings with .NET Framework target frameworks. -->
<Using Remove="System.Net.Http" Condition="'$(TargetFrameworkIdentifier)'=='.NETFramework'" />
Expand All @@ -12,6 +8,4 @@
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" PrivateAssets="all" />
</ItemGroup>

<Import Project="azure-pipelines\NuGetSbom.targets" Condition="'$(IsPackable)'!='false'" />
</Project>
6 changes: 3 additions & 3 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<PackageVersion Include="Moq" Version="4.20.72" />
</ItemGroup>
<ItemGroup Label="Library.Template">
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageVersion Include="Microsoft.VisualStudio.Internal.MicroBuild.NonShipping" Version="$(MicroBuildVersion)" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
<PackageVersion Include="xunit.v3" Version="1.1.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.0" />
<PackageVersion Include="xunit.v3" Version="2.0.2" />
</ItemGroup>
<ItemGroup>
<!-- Put repo-specific GlobalPackageReference items in this group. -->
Expand Down
16 changes: 16 additions & 0 deletions SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Support

## How to file issues and get help

This project uses GitHub Issues to track bugs and feature requests.
Please search the existing issues before filing new issues to avoid duplicates.
For new issues, file your bug or feature request as a new Issue.

Note that this repo is primarily used for Visual Studio and related products and support will be focused on those scenarios.

## Microsoft Support Policy

Microsoft support for this software is available only for its use in officially supported products such as Visual Studio.
Support and servicing is limited to the latest released version.
For more information, see [Visual Studio Product Lifecycle and Servicing](https://learn.microsoft.com/visualstudio/productinfo/vs-servicing).
Assisted support is available from a professional support engineer by opening a ticket with the [Microsoft assisted support team](https://support.serviceshub.microsoft.com/supportforbusiness/onboarding).
6 changes: 6 additions & 0 deletions azure-pipelines/NuGetSbom.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project>
<PropertyGroup>
<GenerateSBOMThisProject>true</GenerateSBOMThisProject>
<UseMicroBuildSbomPluginVersion>2</UseMicroBuildSbomPluginVersion>
</PropertyGroup>
</Project>
12 changes: 0 additions & 12 deletions azure-pipelines/NuGetSbom.targets

This file was deleted.

Loading
Loading