-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Use Microsoft.VisualStudio.Sdk meta-package and clean up versions and package references #71111
Conversation
4365383
to
dbcbe8c
Compare
@jasonmalinowski @sharwell @dotnet/roslyn-ide PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not quite sure how to verify this overall. Moving to Central Package Versioning seems essential for this to work out.
src/EditorFeatures/Core/NavigationBar/NavigationBarController_ModelComputation.cs
Outdated
Show resolved
Hide resolved
src/EditorFeatures/Core/Tagging/AbstractAsynchronousTaggerProvider.TagSource_ProduceTags.cs
Outdated
Show resolved
Hide resolved
src/EditorFeatures/Core/Tagging/AbstractAsynchronousTaggerProvider.TagSource_ProduceTags.cs
Outdated
Show resolved
Hide resolved
src/EditorFeatures/Core/Workspaces/ITextBufferVisibilityTracker.cs
Outdated
Show resolved
Hide resolved
Will follow up on that. |
src/Compilers/Core/MSBuildTaskTests/Microsoft.Build.Tasks.CodeAnalysis.UnitTests.csproj
Outdated
Show resolved
Hide resolved
4b30a93
to
6d86c9e
Compare
Does this mean we don't have to deal with the version conflicts between the transitive dependency of some package from multiple references anymore? |
Yeah, we shouldn't be. |
How does central package versioning help out with the conflicts? Or why did we want to include it in this change? I'm not against the change but I wanted to understand a bit better the motivations for moving to it. |
|
||
public static ISymbol? GetAnySymbol(this SymbolInfo info) | ||
=> info.Symbol ?? info.CandidateSymbols.FirstOrDefault(); | ||
|
||
public static ImmutableArray<ISymbol> GetBestOrAllSymbols(this SymbolInfo info) | ||
{ | ||
if (info.Symbol != null) | ||
return [info.Symbol]; | ||
return ImmutableArray.Create(info.Symbol); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did we need to undo collection expressions here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not 100% sure. Source build was failing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The source build in CI or the full source build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI
Fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tmat - probably this was an accident?
For now, uses Microsoft.VisualStudio.Sdk 17.9.35796-preview.1 as Integration Test machines currently have 17.9 Preview 1.
Switch to Central Package Versioning.
Fixes source build.
Virtual Mono-repo build only reports a few warnings with this change: