ionide / ionide-vscode-paket

VS Code plugin for Paket
http://ionide.io
MIT License
41 stars 29 forks source link

Update to use new paket syntax when running as local tool #85

Open JustinGrote opened 2 years ago

JustinGrote commented 2 years ago

Issue Type: Bug

These warnings appear in the output pane when using paket with .net 6.0 rc2

Running paket as local tool
Paket version 6.2.1+c82f25d6c324024cbd231df154a447a117c2546e
Please use the new syntax: 'nuget' is the default argument and should be omitted.
Please use the new syntax: 'project' has been replaced by '--project'.

Extension version: 2.0.0 VS Code version: Code - Insiders 1.62.0-insider (bcb9df5afa52c5b713f62e86dcac2c5050504b5f, 2021-10-22T05:15:25.330Z) OS version: Windows_NT x64 10.0.19042 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 5 2600 Six-Core Processor (12 x 3850)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|15.95GB (7.66GB free)| |Process Argv|--crash-reporter-id d15abc04-2f14-48d4-98ba-287dac26245f| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv695:30137379 vsins829:30139715 vsliv368:30146709 vsreu685:30147344 python383:30185418 pythonvspyt602:30291494 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyt639:30291487 pythontb:30258533 pythonvspyt551cf:30291413 pythonptprofiler:30281269 vshan820:30294714 pythondataviewer:30285072 pythonvsuse255:30319630 vscod805:30301674 pythonvspyt200:30323110 vsccppwt:30382699 pythonvssor306:30340298 bridge0708:30335490 pygetstartedt2:30353727 bridge0723:30353136 pythonrunftest32:30365365 pythonf5test824:30361779 javagetstartedt:30350119 pythonvspyt187:30365360 pydsgst2:30361790 vsaa593:30376534 vscrecpromptt1:30387007 ```
baronfel commented 2 years ago

Good spot, the required fix would be here and here. To do it though we'd probably want to run paket --version first and alter the syntax based on the version the user is running in the current workspace. Would you be interested in doing any of this?