forked from MoonsideGames/FNA-VSCode-Template
fix working directory on tasks + cross framework compat
parent
b3fc56240b
commit
e9575d97f5
|
@ -39,13 +39,14 @@
|
|||
"label": "Run: Framework Release",
|
||||
"command": "mono",
|
||||
"args": [
|
||||
"${workspaceFolder}/ProjectName/bin/Release/net461/ProjectName.exe"
|
||||
"ProjectName.exe"
|
||||
],
|
||||
"options": {
|
||||
"env": {
|
||||
"LD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Release/net461/lib64",
|
||||
"DYLD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Release/net461/osx"
|
||||
}
|
||||
"LD_LIBRARY_PATH": "./lib64",
|
||||
"DYLD_LIBRARY_PATH": "./osx"
|
||||
},
|
||||
"cwd": "${workspaceFolder}/ProjectName/bin/Release/net461"
|
||||
},
|
||||
"type": "process",
|
||||
"group": {
|
||||
|
@ -87,13 +88,14 @@
|
|||
"label": "Run: Framework Debug",
|
||||
"command": "mono",
|
||||
"args": [
|
||||
"${workspaceFolder}/ProjectName/bin/Debug/net461/ProjectName.exe"
|
||||
"ProjectName.exe"
|
||||
],
|
||||
"options": {
|
||||
"env": {
|
||||
"LD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Debug/net461/lib64",
|
||||
"DYLD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Debug/net461/osx"
|
||||
}
|
||||
"LD_LIBRARY_PATH": "./lib64",
|
||||
"DYLD_LIBRARY_PATH": "./osx"
|
||||
},
|
||||
"cwd": "${workspaceFolder}/ProjectName/bin/Debug/net461"
|
||||
},
|
||||
"type": "process",
|
||||
"group": {
|
||||
|
@ -150,13 +152,14 @@
|
|||
"label": "Run: Core Debug",
|
||||
"command": "dotnet",
|
||||
"args": [
|
||||
"${workspaceFolder}/ProjectName/bin/Debug/netcoreapp3.1/ProjectName.dll"
|
||||
"./ProjectName.dll"
|
||||
],
|
||||
"options": {
|
||||
"env": {
|
||||
"LD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Debug/netcoreapp3.1/lib64",
|
||||
"DYLD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Debug/netcoreapp3.1/osx"
|
||||
}
|
||||
"LD_LIBRARY_PATH": "./lib64",
|
||||
"DYLD_LIBRARY_PATH": "./osx"
|
||||
},
|
||||
"cwd": "${workspaceFolder}/ProjectName/bin/Debug/netcoreapp3.1"
|
||||
},
|
||||
"type": "process",
|
||||
"group": {
|
||||
|
@ -187,13 +190,14 @@
|
|||
"label": "Run: Core Release",
|
||||
"command": "dotnet",
|
||||
"args": [
|
||||
"${workspaceFolder}/ProjectName/bin/Release/netcoreapp3.1/ProjectName.dll"
|
||||
"./ProjectName.dll"
|
||||
],
|
||||
"options": {
|
||||
"env": {
|
||||
"LD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Release/netcoreapp3.1/lib64",
|
||||
"DYLD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Release/netcoreapp3.1/osx"
|
||||
}
|
||||
"LD_LIBRARY_PATH": "./lib64",
|
||||
"DYLD_LIBRARY_PATH": "./osx"
|
||||
},
|
||||
"cwd": "${workspaceFolder}/ProjectName/bin/Release/netcoreapp3.1"
|
||||
},
|
||||
"type": "process",
|
||||
"group": {
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<TargetName>ProjectName</TargetName>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
<StartupObject>ProjectName.Program</StartupObject>
|
||||
<AssemblyName>ProjectName</AssemblyName>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<TargetFramework>net461</TargetFramework>
|
||||
<TargetName>ProjectName</TargetName>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
<StartupObject>ProjectName.Program</StartupObject>
|
||||
<AssemblyName>ProjectName</AssemblyName>
|
||||
|
|
Loading…
Reference in New Issue