From fa0b0e992d363f41bdb8cda00ef59c0142c97246 Mon Sep 17 00:00:00 2001 From: transtrike Date: Tue, 8 Dec 2020 10:35:50 +0200 Subject: Added 3rd project and references --- API/API.code-workspace | 19 +++++++++++++++++++ API/API.csproj | 4 ++++ API/Controllers/WeatherForecastController.cs | 3 +-- DevHive.code-workspace | 3 ++- DevHive.sln | 14 ++++++++++++++ Models/Models.csproj | 8 ++++++++ Web/Web.code-workspace | 19 +++++++++++++++++++ Web/Web.csproj | 4 ++++ 8 files changed, 71 insertions(+), 3 deletions(-) create mode 100644 API/API.code-workspace create mode 100644 Models/Models.csproj create mode 100644 Web/Web.code-workspace diff --git a/API/API.code-workspace b/API/API.code-workspace new file mode 100644 index 0000000..875e3c8 --- /dev/null +++ b/API/API.code-workspace @@ -0,0 +1,19 @@ +{ + "folders": [ + { + "path": "." + } + ], + "settings": { + "files.exclude": { + "**/.vscode": true, + "**/bin": true, + "**/obj": true, + ".gitignore" : true, + "**/README.md" : true, + "**/LICENSE" : true, + "**/Properties" : true, + "**/*.code-workspace" : true + } + } +} \ No newline at end of file diff --git a/API/API.csproj b/API/API.csproj index dcc653c..5c04910 100644 --- a/API/API.csproj +++ b/API/API.csproj @@ -11,4 +11,8 @@ + + + + diff --git a/API/Controllers/WeatherForecastController.cs b/API/Controllers/WeatherForecastController.cs index 2e4b29d..a90538d 100644 --- a/API/Controllers/WeatherForecastController.cs +++ b/API/Controllers/WeatherForecastController.cs @@ -10,13 +10,12 @@ namespace API.Controllers [Route("[controller]")] public class WeatherForecastController : ControllerBase { + private readonly ILogger _logger; private static readonly string[] Summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" }; - private readonly ILogger _logger; - public WeatherForecastController(ILogger logger) { _logger = logger; diff --git a/DevHive.code-workspace b/DevHive.code-workspace index e165dda..875e3c8 100644 --- a/DevHive.code-workspace +++ b/DevHive.code-workspace @@ -12,7 +12,8 @@ ".gitignore" : true, "**/README.md" : true, "**/LICENSE" : true, - "**/Properties" : true + "**/Properties" : true, + "**/*.code-workspace" : true } } } \ No newline at end of file diff --git a/DevHive.sln b/DevHive.sln index 120dcb8..2f07003 100644 --- a/DevHive.sln +++ b/DevHive.sln @@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "API", "API\API.csproj", "{A EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Web", "Web\Web.csproj", "{980ABDFB-488C-4A76-9F5A-116191F51CD4}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Models", "Models\Models.csproj", "{37478C6A-562D-41CD-9F02-88BC74A74F04}" +EndProject Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -44,5 +46,17 @@ Global {980ABDFB-488C-4A76-9F5A-116191F51CD4}.Release|x64.Build.0 = Release|Any CPU {980ABDFB-488C-4A76-9F5A-116191F51CD4}.Release|x86.ActiveCfg = Release|Any CPU {980ABDFB-488C-4A76-9F5A-116191F51CD4}.Release|x86.Build.0 = Release|Any CPU + {37478C6A-562D-41CD-9F02-88BC74A74F04}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {37478C6A-562D-41CD-9F02-88BC74A74F04}.Debug|Any CPU.Build.0 = Debug|Any CPU + {37478C6A-562D-41CD-9F02-88BC74A74F04}.Debug|x64.ActiveCfg = Debug|Any CPU + {37478C6A-562D-41CD-9F02-88BC74A74F04}.Debug|x64.Build.0 = Debug|Any CPU + {37478C6A-562D-41CD-9F02-88BC74A74F04}.Debug|x86.ActiveCfg = Debug|Any CPU + {37478C6A-562D-41CD-9F02-88BC74A74F04}.Debug|x86.Build.0 = Debug|Any CPU + {37478C6A-562D-41CD-9F02-88BC74A74F04}.Release|Any CPU.ActiveCfg = Release|Any CPU + {37478C6A-562D-41CD-9F02-88BC74A74F04}.Release|Any CPU.Build.0 = Release|Any CPU + {37478C6A-562D-41CD-9F02-88BC74A74F04}.Release|x64.ActiveCfg = Release|Any CPU + {37478C6A-562D-41CD-9F02-88BC74A74F04}.Release|x64.Build.0 = Release|Any CPU + {37478C6A-562D-41CD-9F02-88BC74A74F04}.Release|x86.ActiveCfg = Release|Any CPU + {37478C6A-562D-41CD-9F02-88BC74A74F04}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/Models/Models.csproj b/Models/Models.csproj new file mode 100644 index 0000000..abb6514 --- /dev/null +++ b/Models/Models.csproj @@ -0,0 +1,8 @@ + + + + net5.0 + Models + + + diff --git a/Web/Web.code-workspace b/Web/Web.code-workspace new file mode 100644 index 0000000..875e3c8 --- /dev/null +++ b/Web/Web.code-workspace @@ -0,0 +1,19 @@ +{ + "folders": [ + { + "path": "." + } + ], + "settings": { + "files.exclude": { + "**/.vscode": true, + "**/bin": true, + "**/obj": true, + ".gitignore" : true, + "**/README.md" : true, + "**/LICENSE" : true, + "**/Properties" : true, + "**/*.code-workspace" : true + } + } +} \ No newline at end of file diff --git a/Web/Web.csproj b/Web/Web.csproj index 9ebe29d..4885696 100644 --- a/Web/Web.csproj +++ b/Web/Web.csproj @@ -1,5 +1,9 @@ + + + + net5.0 Web -- cgit v1.2.3