Coder Social home page Coder Social logo

Comments (10)

samruddhikhandale avatar samruddhikhandale commented on May 22, 2024 2

Yes, in order to update this template we needmcr.microsoft.com/devcontainers/dotnet:7.0

Once changes in devcontainers/images#201 are merged & deployed, then I'll work on updating the template.

from templates.

samruddhikhandale avatar samruddhikhandale commented on May 22, 2024 1

Could this be an alternative approach perhaps?

It's a nice suggestion. However, for templates, we are currently following a pattern to use the images for simplicity. If necessary, we then build using Features from https://github.com/devcontainers/features. As we plan to deploy the Images by Monday, I'll quickly update the dotnet Template when images are live. It will avoid changes to the current Template.

In the meanwhile, feel free to use dotnet 7 with Feature as follows -

"features": {
    "ghcr.io/devcontainers/features/dotnet:1": {
        "version": "7"
    }
}

from templates.

samruddhikhandale avatar samruddhikhandale commented on May 22, 2024 1

@warrenbuckley ℹī¸ You can look for all the published tags for dotnet image here

from templates.

samruddhikhandale avatar samruddhikhandale commented on May 22, 2024 1

Updated the Template with .NET 7 options as the corresponding images are live 🚀

image

// cc - @warrenbuckley

from templates.

samruddhikhandale avatar samruddhikhandale commented on May 22, 2024 1

Updated 🚀

from templates.

warrenbuckley avatar warrenbuckley commented on May 22, 2024

I can't publicly browse the mcr.microsoft.com/devcontainers/dotnet URL,
I can only assume that there is not a prebuilt devcontainer image yet for 7.0

from templates.

warrenbuckley avatar warrenbuckley commented on May 22, 2024

Additionally, I found the feature to add the .NET CLI
https://containers.dev/features
https://github.com/devcontainers/features/tree/main/src/dotnet

Could this be an alternative approach perhaps?

from templates.

warrenbuckley avatar warrenbuckley commented on May 22, 2024

The feature approach works perfectly fine for me, so thanks @samruddhikhandale to install .NET7 SDK tools

I am not sure why you would not want to use a smaller/slimmer image and then use the features to get the correct SDK version you want to use. For easier maintenance ?

from templates.

warrenbuckley avatar warrenbuckley commented on May 22, 2024

Hi @samruddhikhandale
Will the template for C# (.NET) and MS SQL be updated as well?

image

image

from templates.

samruddhikhandale avatar samruddhikhandale commented on May 22, 2024

Hi @warrenbuckley 👋

Yes, I have another PR in review to update those - #43

from templates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.