Skip to content

Commit

Permalink
Add dotnet sln and projs
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranayub committed May 16, 2019
1 parent 07de39b commit 91880d0
Show file tree
Hide file tree
Showing 7 changed files with 159 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/IGDB.Tests/bin/Debug/netcoreapp2.2/IGDB.Tests.dll",
"args": [],
"cwd": "${workspaceFolder}/IGDB.Tests",
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
36 changes: 36 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/IGDB.Tests/IGDB.Tests.csproj"
],
"problemMatcher": "$tsc"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/IGDB.Tests/IGDB.Tests.csproj"
],
"problemMatcher": "$tsc"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"${workspaceFolder}/IGDB.Tests/IGDB.Tests.csproj"
],
"problemMatcher": "$tsc"
}
]
}
19 changes: 19 additions & 0 deletions IGDB.Tests/IGDB.Tests.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\IGDB\IGDB.csproj" />
</ItemGroup>

</Project>
14 changes: 14 additions & 0 deletions IGDB.Tests/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;
using Xunit;

namespace IGDB.Tests
{
public class UnitTest1
{
[Fact]
public void Test1()
{

}
}
}
8 changes: 8 additions & 0 deletions IGDB/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using System;

namespace IGDB
{
public class Class1
{
}
}
7 changes: 7 additions & 0 deletions IGDB/IGDB.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

</Project>
48 changes: 48 additions & 0 deletions igdb-dotnet.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IGDB", "IGDB\IGDB.csproj", "{4861FE6C-0E59-468C-8CE4-63DF9A994957}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IGDB.Tests", "IGDB.Tests\IGDB.Tests.csproj", "{F3C96FBD-15BA-4D8E-9CEE-E6A9A2A17103}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4861FE6C-0E59-468C-8CE4-63DF9A994957}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4861FE6C-0E59-468C-8CE4-63DF9A994957}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4861FE6C-0E59-468C-8CE4-63DF9A994957}.Debug|x64.ActiveCfg = Debug|Any CPU
{4861FE6C-0E59-468C-8CE4-63DF9A994957}.Debug|x64.Build.0 = Debug|Any CPU
{4861FE6C-0E59-468C-8CE4-63DF9A994957}.Debug|x86.ActiveCfg = Debug|Any CPU
{4861FE6C-0E59-468C-8CE4-63DF9A994957}.Debug|x86.Build.0 = Debug|Any CPU
{4861FE6C-0E59-468C-8CE4-63DF9A994957}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4861FE6C-0E59-468C-8CE4-63DF9A994957}.Release|Any CPU.Build.0 = Release|Any CPU
{4861FE6C-0E59-468C-8CE4-63DF9A994957}.Release|x64.ActiveCfg = Release|Any CPU
{4861FE6C-0E59-468C-8CE4-63DF9A994957}.Release|x64.Build.0 = Release|Any CPU
{4861FE6C-0E59-468C-8CE4-63DF9A994957}.Release|x86.ActiveCfg = Release|Any CPU
{4861FE6C-0E59-468C-8CE4-63DF9A994957}.Release|x86.Build.0 = Release|Any CPU
{F3C96FBD-15BA-4D8E-9CEE-E6A9A2A17103}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F3C96FBD-15BA-4D8E-9CEE-E6A9A2A17103}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F3C96FBD-15BA-4D8E-9CEE-E6A9A2A17103}.Debug|x64.ActiveCfg = Debug|Any CPU
{F3C96FBD-15BA-4D8E-9CEE-E6A9A2A17103}.Debug|x64.Build.0 = Debug|Any CPU
{F3C96FBD-15BA-4D8E-9CEE-E6A9A2A17103}.Debug|x86.ActiveCfg = Debug|Any CPU
{F3C96FBD-15BA-4D8E-9CEE-E6A9A2A17103}.Debug|x86.Build.0 = Debug|Any CPU
{F3C96FBD-15BA-4D8E-9CEE-E6A9A2A17103}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F3C96FBD-15BA-4D8E-9CEE-E6A9A2A17103}.Release|Any CPU.Build.0 = Release|Any CPU
{F3C96FBD-15BA-4D8E-9CEE-E6A9A2A17103}.Release|x64.ActiveCfg = Release|Any CPU
{F3C96FBD-15BA-4D8E-9CEE-E6A9A2A17103}.Release|x64.Build.0 = Release|Any CPU
{F3C96FBD-15BA-4D8E-9CEE-E6A9A2A17103}.Release|x86.ActiveCfg = Release|Any CPU
{F3C96FBD-15BA-4D8E-9CEE-E6A9A2A17103}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

0 comments on commit 91880d0

Please sign in to comment.