Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/8.x] Update dependencies from dotnet/roslyn #2155

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
bc983b2
Update dependencies from https://github.com/dotnet/roslyn build
dotnet-maestro[bot] Mar 20, 2024
db5bd73
Update dependencies from https://github.com/dotnet/roslyn build
dotnet-maestro[bot] Mar 21, 2024
535b2d4
Update dependencies from https://github.com/dotnet/roslyn build
dotnet-maestro[bot] Mar 22, 2024
f2645e7
Update dependencies from https://github.com/dotnet/roslyn build
dotnet-maestro[bot] Mar 23, 2024
6445de7
Update dependencies from https://github.com/dotnet/roslyn build
dotnet-maestro[bot] Mar 24, 2024
186e1a6
Update dependencies from https://github.com/dotnet/roslyn build
dotnet-maestro[bot] Mar 25, 2024
6954616
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Mar 27, 2024
df9066b
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Mar 28, 2024
81c3cf1
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Mar 29, 2024
b77763a
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Mar 30, 2024
02e0d30
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Mar 31, 2024
29ffe48
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 1, 2024
85dc0c6
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 3, 2024
82dba47
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 4, 2024
66d18c3
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 5, 2024
f7ce7ea
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 6, 2024
d65b8d3
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 7, 2024
9af4d31
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 8, 2024
2e3004d
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 9, 2024
04128b5
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 10, 2024
9d9f85d
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 11, 2024
6893ff1
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 12, 2024
64a196e
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 13, 2024
5b1376f
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 14, 2024
dd6dada
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 15, 2024
8c770b2
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 16, 2024
65103b8
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 17, 2024
2843df0
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 18, 2024
5a43780
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 19, 2024
cbdc81f
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 20, 2024
30a608f
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 21, 2024
4725462
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 22, 2024
0a0d85a
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 23, 2024
f6101aa
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 24, 2024
dfbe5b5
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 25, 2024
d831e3a
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 26, 2024
0e2b423
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 27, 2024
0e5441f
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 28, 2024
afb51e4
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 29, 2024
4bb9b3c
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] Apr 30, 2024
7eb7b53
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] May 1, 2024
c05cd8c
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] May 2, 2024
8a5c81a
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] May 3, 2024
cff27e8
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] May 4, 2024
f8f30e8
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] May 5, 2024
8073738
Update dependencies from https://github.com/dotnet/roslyn build 20240…
dotnet-maestro[bot] May 6, 2024
b517050
Remove EA.RazorCompiler
JoeRobich May 7, 2024
dbccb3e
Bump MSBuild version
JoeRobich May 7, 2024
c7b2688
Check if MSBuild can be registered during test runs
JoeRobich May 7, 2024
3e8a322
Update SB baseline
JoeRobich May 7, 2024
19ed44d
Update Version.Details.xml
JoeRobich May 7, 2024
fafcc19
Set Minor Version number
JoeRobich May 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion Directory.Packages.props
Expand Up @@ -23,7 +23,6 @@
<PackageVersion Include="Microsoft.CodeAnalysis.VisualBasic" Version="$(MicrosoftCodeAnalysisVersion)" />
<PackageVersion Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="$(MicrosoftCodeAnalysisVersion)" />
<PackageVersion Include="Microsoft.CodeAnalysis" Version="$(MicrosoftCodeAnalysisVersion)" />
<PackageVersion Include="Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler" Version="$(MicrosoftCodeAnalysisVersion)" />
<PackageVersion Include="Microsoft.DiaSymReader" Version="$(MicrosoftDiaSymReaderVersion)" />
<PackageVersion Include="Microsoft.Extensions.FileSystemGlobbing" Version="$(MicrosoftExtensionsFileSystemGlobbingVersion)" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsLoggingVersion)" />
Expand Down
11 changes: 11 additions & 0 deletions eng/SourceBuildPrebuiltBaseline.xml
Expand Up @@ -9,6 +9,17 @@
This version does not have source build intermediate.
When a newer version is picked up, the intermediate should be utilized. -->
<UsagePattern IdentityGlob="Microsoft.CodeAnalysis.AnalyzerUtilities/*3.3.0*" />

<!-- Transitive dependency of Roslyn -->
<UsagePattern IdentityGlob="Microsoft.Build/17.7.2" />
<UsagePattern IdentityGlob="Microsoft.Build.Framework/17.7.2" />
<UsagePattern IdentityGlob="Microsoft.Build.Tasks.Core/17.7.2" />
<UsagePattern IdentityGlob="Microsoft.Build.Utilities.Core/17.7.2" />
<UsagePattern IdentityGlob="Microsoft.NET.StringTools/17.7.2" />
<UsagePattern IdentityGlob="System.Configuration.ConfigurationManager/7.0*" />
<UsagePattern IdentityGlob="System.Diagnostics.EventLog/7.0*" />
<UsagePattern IdentityGlob="System.Reflection.MetadataLoadContext/7.0*" />
<UsagePattern IdentityGlob="System.Security.Cryptography.ProtectedData/7.0*" />
</IgnorePatterns>
<Usages>
<Usage Id="System.Composition" Version="7.0.0" />
Expand Down
30 changes: 28 additions & 2 deletions eng/Version.Details.xml
Expand Up @@ -5,9 +5,35 @@
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
<Sha>5535e31a712343a63f5d7d796cd874e563e5ac14</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis" Version="4.8.0-7.24067.24">
<!-- Necessary for source-build. This allows the live version of the package to be used by source-build. -->
<Dependency Name="Microsoft.Build.Tasks.Core" Version="17.7.2">
<Uri>https://github.com/dotnet/msbuild</Uri>
<Sha>d6990bcfaf520c0d215a194fad0617f7efad68b4</Sha>
</Dependency>
<!-- Necessary for source-build. This allows the live version of the package to be used by source-build. -->
<Dependency Name="Microsoft.Build" Version="17.7.2">
<Uri>https://github.com/dotnet/msbuild</Uri>
<Sha>d6990bcfaf520c0d215a194fad0617f7efad68b4</Sha>
</Dependency>
<Dependency Name="Microsoft.Build.Framework" Version="17.7.2">
<Uri>https://github.com/dotnet/msbuild</Uri>
<Sha>d6990bcfaf520c0d215a194fad0617f7efad68b4</Sha>
</Dependency>
<Dependency Name="Microsoft.Build.Tasks.Core" Version="17.7.2">
<Uri>https://github.com/dotnet/msbuild</Uri>
<Sha>d6990bcfaf520c0d215a194fad0617f7efad68b4</Sha>
</Dependency>
<Dependency Name="Microsoft.Build.Utilities.Core" Version="17.7.2">
<Uri>https://github.com/dotnet/msbuild</Uri>
<Sha>d6990bcfaf520c0d215a194fad0617f7efad68b4</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.StringTools" Version="17.7.2">
<Uri>https://github.com/dotnet/msbuild</Uri>
<Sha>d6990bcfaf520c0d215a194fad0617f7efad68b4</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis" Version="4.10.0-3.24230.3">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>263571123fc3dc4a638e071234ac9fbf91913962</Sha>
<Sha>abc35d6d16eb3c0c0aafd67734f01217047a3c90</Sha>
<SourceBuild RepoName="roslyn" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-externals" Version="8.0.0-alpha.1.23502.1">
Expand Down
6 changes: 3 additions & 3 deletions eng/Versions.props
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<MajorVersion>8</MajorVersion>
<MinorVersion>0</MinorVersion>
<MinorVersion>3</MinorVersion>
<!-- Build release-only package. -->
<PreReleaseVersionLabel />
<!--
Expand All @@ -24,14 +24,14 @@
<!-- corefx -->
<MicrosoftVisualBasicVersion>10.3.0</MicrosoftVisualBasicVersion>
<!-- msbuild -->
<MicrosoftBuildVersion>17.3.2</MicrosoftBuildVersion>
<MicrosoftBuildVersion>17.7.2</MicrosoftBuildVersion>
<!-- netstandard -->
<NETStandardLibraryVersion>2.0.3</NETStandardLibraryVersion>
<!-- nuget -->
<!-- In order tests against the same version of NuGet as the SDK. We have to set this to match. -->
<NuGetVersion>6.8.0-rc.122</NuGetVersion>
<!-- roslyn -->
<MicrosoftCodeAnalysisVersion>4.8.0-7.24067.24</MicrosoftCodeAnalysisVersion>
<MicrosoftCodeAnalysisVersion>4.10.0-3.24230.3</MicrosoftCodeAnalysisVersion>
<!-- roslyn-sdk -->
<MicrosoftCodeAnalysisAnalyzerTestingVersion>1.1.2-beta1.22216.1</MicrosoftCodeAnalysisAnalyzerTestingVersion>
<!-- runtime -->
Expand Down
3 changes: 0 additions & 3 deletions src/dotnet-format.csproj
Expand Up @@ -35,9 +35,6 @@
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" />

<!-- Included with Microsoft.CodeAnalysis.dll for Razor support -->
<PackageReference Include="Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler" ExcludeAssets="compile" />

<!-- Loaded dynamically -->
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Features" />
<PackageReference Include="Microsoft.CodeAnalysis.Features" />
Expand Down
17 changes: 12 additions & 5 deletions tests/Utilities/MSBuildRegistrar.cs
Expand Up @@ -21,11 +21,18 @@ public static string RegisterInstance()
{
if (Interlocked.Exchange(ref s_registered, 1) == 0)
{
var msBuildInstance = Build.Locator.MSBuildLocator.QueryVisualStudioInstances().First();
s_msBuildPath = Path.EndsInDirectorySeparator(msBuildInstance.MSBuildPath)
? msBuildInstance.MSBuildPath
: msBuildInstance.MSBuildPath + Path.DirectorySeparatorChar;
Build.Locator.MSBuildLocator.RegisterMSBuildPath(s_msBuildPath);
if (Build.Locator.MSBuildLocator.CanRegister)
{
var msBuildInstance = Build.Locator.MSBuildLocator.QueryVisualStudioInstances().First();
s_msBuildPath = Path.EndsInDirectorySeparator(msBuildInstance.MSBuildPath)
? msBuildInstance.MSBuildPath
: msBuildInstance.MSBuildPath + Path.DirectorySeparatorChar;
Build.Locator.MSBuildLocator.RegisterMSBuildPath(s_msBuildPath);
}
else
{
s_msBuildPath = "MSBuild could not be registered.";
}
}

return s_msBuildPath!;
Expand Down