forked from MoonsideGames/FNA-VSCode-Template
split mono and framework build and run tasks
parent
66d27ce3ef
commit
8a8130fdbb
|
@ -1,6 +1,17 @@
|
||||||
{
|
{
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Attach to Framework Debugger",
|
||||||
|
"type": "clr",
|
||||||
|
"request": "launch",
|
||||||
|
"preLaunchTask": "Build: Framework Debug",
|
||||||
|
"program": "${workspaceFolder}/Anathema/bin/Debug/net48/Anathema.exe",
|
||||||
|
"args": [],
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"console": "externalTerminal",
|
||||||
|
"internalConsoleOptions": "neverOpen"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Attach to Core Debugger",
|
"name": "Attach to Core Debugger",
|
||||||
"type": "coreclr",
|
"type": "coreclr",
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
},
|
},
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"label": "Build: Framework Release",
|
"label": "Build: Mono Release",
|
||||||
"command": "msbuild",
|
"command": "msbuild",
|
||||||
"args": [
|
"args": [
|
||||||
"-restore:True",
|
"-restore:True",
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Run: Framework Release",
|
"label": "Run: Mono Release",
|
||||||
"command": "mono",
|
"command": "mono",
|
||||||
"args": [
|
"args": [
|
||||||
"ProjectName.exe"
|
"ProjectName.exe"
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
"LD_LIBRARY_PATH": "./lib64",
|
"LD_LIBRARY_PATH": "./lib64",
|
||||||
"DYLD_LIBRARY_PATH": "./osx"
|
"DYLD_LIBRARY_PATH": "./osx"
|
||||||
},
|
},
|
||||||
"cwd": "${workspaceFolder}/ProjectName/bin/Release/net461"
|
"cwd": "${workspaceFolder}/ProjectName/bin/Release/net48"
|
||||||
},
|
},
|
||||||
"type": "process",
|
"type": "process",
|
||||||
"group": {
|
"group": {
|
||||||
|
@ -56,10 +56,10 @@
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Build & Run: Framework Release",
|
"label": "Build & Run: Mono Release",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"Build: Framework Release",
|
"Build: Mono Release",
|
||||||
"Run: Framework Release"
|
"Run: Mono Release"
|
||||||
],
|
],
|
||||||
"dependsOrder": "sequence",
|
"dependsOrder": "sequence",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Build: Framework Debug",
|
"label": "Build: Mono Debug",
|
||||||
"command": "msbuild",
|
"command": "msbuild",
|
||||||
"args": [
|
"args": [
|
||||||
"-restore:True",
|
"-restore:True",
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Run: Framework Debug",
|
"label": "Run: Mono Debug",
|
||||||
"command": "mono",
|
"command": "mono",
|
||||||
"args": [
|
"args": [
|
||||||
"ProjectName.exe"
|
"ProjectName.exe"
|
||||||
|
@ -95,7 +95,7 @@
|
||||||
"LD_LIBRARY_PATH": "./lib64",
|
"LD_LIBRARY_PATH": "./lib64",
|
||||||
"DYLD_LIBRARY_PATH": "./osx"
|
"DYLD_LIBRARY_PATH": "./osx"
|
||||||
},
|
},
|
||||||
"cwd": "${workspaceFolder}/ProjectName/bin/Debug/net461"
|
"cwd": "${workspaceFolder}/ProjectName/bin/Debug/net48"
|
||||||
},
|
},
|
||||||
"type": "process",
|
"type": "process",
|
||||||
"group": {
|
"group": {
|
||||||
|
@ -105,10 +105,10 @@
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Build & Run: Framework Debug",
|
"label": "Build & Run: Mono Debug",
|
||||||
"dependsOn": [
|
"dependsOn": [
|
||||||
"Build: Framework Debug",
|
"Build: Mono Debug",
|
||||||
"Run: Framework Debug"
|
"Run: Mono Debug"
|
||||||
],
|
],
|
||||||
"dependsOrder": "sequence",
|
"dependsOrder": "sequence",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
|
@ -217,6 +217,92 @@
|
||||||
"isDefault": true
|
"isDefault": true
|
||||||
},
|
},
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Build: Framework Debug",
|
||||||
|
"command": "MsBuild.exe",
|
||||||
|
"args": [
|
||||||
|
"-restore:True",
|
||||||
|
"${workspaceFolder}/Anathema.Framework.sln",
|
||||||
|
"-p:Configuration=Debug",
|
||||||
|
"-p:Platform=x64"
|
||||||
|
],
|
||||||
|
"type": "shell",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Run: Framework Debug",
|
||||||
|
"command": "Anathema.exe",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/Anathema/bin/Debug/net48"
|
||||||
|
},
|
||||||
|
"type": "process",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Build & Run: Framework Debug",
|
||||||
|
"dependsOn": [
|
||||||
|
"Build: Framework Debug",
|
||||||
|
"Run: Framework Debug"
|
||||||
|
],
|
||||||
|
"dependsOrder": "sequence",
|
||||||
|
"type": "shell",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Build: Framework Release",
|
||||||
|
"command": "MsBuild.exe",
|
||||||
|
"args": [
|
||||||
|
"-restore:True",
|
||||||
|
"${workspaceFolder}/Anathema.Framework.sln",
|
||||||
|
"-p:Configuration=Release",
|
||||||
|
"-p:Platform=x64"
|
||||||
|
],
|
||||||
|
"type": "shell",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Run: Framework Release",
|
||||||
|
"command": "Anathema.exe",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/Anathema/bin/Release/net48"
|
||||||
|
},
|
||||||
|
"type": "process",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Build & Run: Framework Release",
|
||||||
|
"dependsOn": [
|
||||||
|
"Build: Framework Release",
|
||||||
|
"Run: Framework Release"
|
||||||
|
],
|
||||||
|
"dependsOrder": "sequence",
|
||||||
|
"type": "shell",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" />
|
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net461</TargetFramework>
|
<TargetFramework>net48</TargetFramework>
|
||||||
<TargetName>ProjectName</TargetName>
|
<TargetName>ProjectName</TargetName>
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
|
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
|
||||||
|
|
Loading…
Reference in New Issue