-
-
Notifications
You must be signed in to change notification settings - Fork 934
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
[Editor] Upgrade RolsynPad.Roslyn to v4.8.0 #2124
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is this file? It seems unrelated to Roslyn. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://github.com/microsoft/MSBuildSdks/blob/main/src/NoTargets/README.md ("This can be useful for utility projects that just copy files, ...") This is a helper project to copy requred dll from nuget folder We use it because now this dll is deprecated on nuget |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<Project Sdk="Microsoft.Build.NoTargets/3.7.56"> | ||
<Import Project="..\..\targets\Stride.Core.props" /> | ||
<PropertyGroup> | ||
<TargetFramework>$(StrideFramework)</TargetFramework> | ||
<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally> | ||
a-tsymbal marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<RestoreSources> | ||
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json; | ||
https://pkgs.dev.azure.com/azure-public/vside/_packaging/vssdk/nuget/v3/index.json; | ||
https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-impl/nuget/v3/index.json; | ||
https://api.nuget.org/v3/index.json | ||
</RestoreSources> | ||
Comment on lines
+6
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What are those sources? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I took this from RoslynPad here https://github.com/roslynpad/roslynpad/blob/main/src/RestoreHelper/RestoreHelper.csproj |
||
<NoWarn>$(NoWarn);NU1603;NU1605</NoWarn> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.CodeAnalysis.LanguageServer.Protocol" Version="4.8.0-7.23558.1" GeneratePathProperty="true" IncludeAssets="none" PrivateAssets="all" /> | ||
</ItemGroup> | ||
<Target Name="GetLibReferences" Outputs="@(Reference)"> | ||
<ItemGroup> | ||
<Reference Include="$(PkgMicrosoft_CodeAnalysis_LanguageServer_Protocol)/lib/net7.0/*.dll" /> | ||
</ItemGroup> | ||
</Target> | ||
Comment on lines
+18
to
+22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How does it work? Where is the reference (documentation) for this trick? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Answered in another comment, but here are more details https://duanenewman.net/blog/post/a-better-way-to-override-references-with-packagereference/ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
</Project> |
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.
Shouldn't be needed if the
<PackageVersion>
version is defined in this file.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.
It is not defined in this file but we could move this to
Stride.RestoreHelper.csproj
and set it directly there.