Skip to content

BaseIntermediateOutputPath & BaseOutputPath are not respected #2443

@ThierryRosseau

Description

@ThierryRosseau

Type: Bug

BaseIntermediateOutputPath & BaseOutputPath are not respected when opening a C# solution in VSCode that is opened for the first time. The bin & obj folders are placed under a subfolder. Not the folder defined in Directory.Build.props file under BaseIntermediateOutputPath & BaseOutputPath tags.

When you build the project this will generate a new bin & obj folder under the correct location but this gives a lot (+20) of exceptions because the incorrect folders still exists :

Duplicate 'global::System.Runtime.Versioning.TargetFrameworkAttribute' attribute
Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute
...

Extension version: 1.71.4
VS Code version: Code 1.105.1 (7d842fb85a0275a4a8e4d7e040d2625abbf7f084, 2025-10-14T22:33:36.618Z)
OS version: Darwin arm64 25.0.0
Modes:

System Info
Item Value
CPUs Apple M4 Pro (14 x 2400)
GPU Status 2d_canvas: enabled
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 15, 12, 9
Memory (System) 48.00GB (0.06GB free)
Process Argv --crash-reporter-id fa4114b9-068b-4ef1-be64-753ef21b0ea7
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
aj953862:31281341
b6b4d950:31327385
nes-set-on:31351930
6abeh943:31336334
aa_c:31379599
gendocstringt:31405074
0574c672:31404437
cloudbuttont:31379625
todos-1:31405332
qwen_all_req:31402696
treatment_gpt5applypatchexclusively:31398171
3efgi100_wstrepl:31403338
trigger-command-fix:31379601
auto_model_enabled:31396818
grok-control-prompt:31401224
use-responses-api:31390855
applesignin:31399435
9i271672:31399627
ddidt:31399633
je187915:31401257
v2prompt_9f72f763:31406505
afag3459:31405348

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions