Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .Net version to .Net 7 and add some extensions #3

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

FROM mcr.microsoft.com/dotnet/sdk:5.0-focal
FROM mcr.microsoft.com/dotnet/sdk:7.0

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
Expand Down
9 changes: 7 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "F# (.NET 5.0)",
"name": "F# (.NET 7.0)",
"dockerFile": "Dockerfile",

// Set *default* container specific settings.json values on container create.
Expand All @@ -12,7 +12,12 @@
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"Ionide.Ionide-fsharp",
"muhammad-sammy.csharp"
"muhammad-sammy.csharp",
"formulahendry.code-runner",
"GitHub.copilot",
"ms-dotnettools.dotnet-interactive-vscode",
"zhuangtongfa.material-theme",
"PKief.material-icon-theme"
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
Expand Down
7 changes: 7 additions & 0 deletions Playgroud.dib
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!meta

{"kernelInfo":{"defaultKernelName":"fsharp","items":[{"aliases":[],"name":"fsharp"}]}}

#!fsharp

printfn "Hello World from F#!"
2 changes: 1 addition & 1 deletion playground.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down