Skip to content

Feature Request: Being able to build PowerShell in VS-Code environment of Visual Studio Online #11220

@bergmeister

Description

@bergmeister

Summary of the new feature/enhancement

With the many updates of the .Net Core SDK (either previews or patches), I accumulate a lot of SDKs on my local machine and I also changing laptops more often now. With Visual Studio Online I would have one environment that I could use when I switch laptops and also not pollute my machine with SDKs and have VS-Code extensions (like the C++ one) that I usually don't use but make my VS-Code editor heavier.

Proposed technical implementation details (optional)

The following should just work in the out of box VS-Code version of Visual Studio Online, and I am surprised it does not work and not sure why, especially since we already have a .devcontainer folder.

Start-PSBootstrap # works
Start-PSBuild     # fails on 'dotnet restore'

Although VSO should use the .devcontainer folder for the Docker image, it seems it does not do it because otherwise Start-PSBootstrap would not be necessary... I submited a bug report to VSO here: https://github.com/MicrosoftDocs/vsonline/issues/229

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Maintainers-Buildspecific to affecting the buildIssue-Enhancementthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or more

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions