-
Notifications
You must be signed in to change notification settings - Fork 676
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
Consume per-runtime language servers #6264
Consume per-runtime language servers #6264
Conversation
To keep our package size more manageable, we now create a separate language server package per runtime. This changes our download tasks to adjust for this and updates to a new Roslyn version that has separate packages.
6bc81ae
to
02b3b37
Compare
tasks/offlinePackagingTasks.ts
Outdated
async function installRoslyn(packageJSON: any, platformInfo?: PlatformInformation) { | ||
const roslynVersion = packageJSON.defaults.roslyn; | ||
const packagePath = await acquireNugetPackage('Microsoft.CodeAnalysis.LanguageServer', roslynVersion); | ||
gulp.task('fetchAllRoslynPlatformPackages', async () => { |
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.
Can you update the contributing docs to mention that you should run this task to update roslyn instead of the 'installDependencies' task?
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.
Ah yes, right.
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 only did I update the documentation, I also updated this to run installDependencies after. And renamed it to "updateRoslynVersion" which is just a better name, honestly.
We fetch these from an upstream feed that has authenticated feeds as upstreams of it; this is an easy way to ensure everything is cached properly for all platforms.
fff9ea1
to
4ea6193
Compare
To keep our package size more manageable, we now create a separate language server package per runtime.
This consumes dotnet/roslyn#69786.