Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Fixes for samples
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel committed Mar 21, 2019
1 parent 1da6745 commit 19798d1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 36 deletions.
33 changes: 1 addition & 32 deletions definitions/dotnetcore-2.2-fsharp/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,41 +12,10 @@
"program": "${workspaceFolder}/test-project/bin/Debug/netcoreapp2.2/app.dll",
"args": [],
"cwd": "${workspaceFolder}/test-project",
"console": "internalConsole",
"console": "integratedTerminal",
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/test-project/bin/Debug/netcoreapp2.2/app.dll",
"args": [],
"cwd": "${workspaceFolder}/test-project",
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart",
"launchBrowser": {
"enabled": true,
"args": "${auto-detect-url}",
"windows": {
"command": "cmd.exe",
"args": "/C start ${auto-detect-url}"
},
"osx": {
"command": "open"
},
"linux": {
"command": "xdg-open"
}
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/test-project/Views"
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
Expand Down
3 changes: 2 additions & 1 deletion definitions/dotnetcore-2.2-fsharp/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"FSharp.fsacRuntime": "netcore"
"FSharp.fsacRuntime":"netcore",
"razor.disabled": true
}
2 changes: 1 addition & 1 deletion definitions/dotnetcore-2.2-fsharp/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"tasks": [
{
"label": "build",
"command": "dotnet build",
"command": "cd test-project && dotnet build",
"type": "shell",
"group": "build",
"presentation": {
Expand Down
6 changes: 4 additions & 2 deletions definitions/dotnetcore-2.2-fsharp/dev-container.dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM microsoft/dotnet:2.2-sdk

# Alias xterm to bash if external console is triggered
RUN echo "alias xterm=bash" >> /root/.bashrc

# Install git
RUN apt-get update && apt-get -y install git


# Install fsharp
RUN apt-get update && apt-get -y fsharp
RUN apt-get install -y fsharp

# Clean up
RUN apt-get autoremove -y \
Expand Down
1 change: 1 addition & 0 deletions definitions/dotnetcore-2.2/.vscode/devContainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": ".NET Core",
"dockerFile": "dev-container.dockerfile",
"appPort": 8090,
"extensions": [
"ms-vscode.csharp"
]
Expand Down

0 comments on commit 19798d1

Please sign in to comment.