azuredatastudio: Database Projects extension: Build error on Linux (reproing on WSL)

Issue Type: Bug

  1. Install .Net Core SDK: apt install dotnet-sdk-3.1
  2. Configure /usr/bin as location for .Net Core SDK: "sqlDatabaseProjects.netCoreSDKLocation": "/usr/bin"
  3. Create new database project: Ctrl + Shift + P, “proj new” (Database Projects: New Database Project)
  4. Build the project: In “Projects” pane, right-click on .sqlproj file, select “Build”

Error:

stdout: /xxx/test/obj/Debug/test.dll : Build error SQL72025: The referenced assembly /XXX/TEST/OBJ/DEBUG/TEST.DLL is corrupt or not valid. [/xxx/test/test.sqlproj]

Fails on Ubuntu 18.04. Works on macOS.

Extension version: 0.1.1 Azure Data Studio version: azuredatastudio-insiders 1.20.0-insider (fd29e351990ab1306f674d1fcc9a6820cbbfcc36, 2020-07-02T05:33:26.885Z) OS version: Linux x64 4.15.0-108-generic

System Info
Item Value
CPUs Intel® Core™ i7-7700HQ CPU @ 2.80GHz (8 x 3591)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: disabled_off_ok
video_decode: unavailable_off
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 0, 1, 1
Memory (System) 31.29GB (8.60GB free)
Process Argv
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 24 (8 by maintainers)

Most upvoted comments

Will check this week.