Skip to content

Commit 0eb6ff6

Browse files
authored
Generate solution file (#117)
* Remove unused usings * Remove deleted files from solution folder * Add solution file to generated project * Address Resharper inspections
1 parent 25ec368 commit 0eb6ff6

18 files changed

+43
-32
lines changed

Steeltoe.NetCoreToolTemplates.sln

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1515
.editorconfig = .editorconfig
1616
.gitattributes = .gitattributes
1717
.gitignore = .gitignore
18-
azure-pipelines.yaml = azure-pipelines.yaml
1918
DEVELOPER.md = DEVELOPER.md
2019
src\Content\NetCoreTool.Template.WebApi\CSharp\Directory.Build.props = src\Content\NetCoreTool.Template.WebApi\CSharp\Directory.Build.props
2120
test\Directory.Build.props = test\Directory.Build.props
2221
README.md = README.md
23-
version.json = version.json
2422
EndProjectSection
2523
EndProject
2624
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Steeltoe.NetCoreTool.Templates", "src\Steeltoe.NetCoreTool.Templates.csproj", "{8C63F895-1AD7-47F1-8074-7E6832E59D62}"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2+
<s:Boolean x:Key="/Default/UserDictionary/Words/=appsettings/@EntryIndexedValue">True</s:Boolean>
3+
<s:Boolean x:Key="/Default/UserDictionary/Words/=HashiCorp/@EntryIndexedValue">True</s:Boolean>
4+
<s:Boolean x:Key="/Default/UserDictionary/Words/=PostgreSQL/@EntryIndexedValue">True</s:Boolean>
5+
<s:Boolean x:Key="/Default/UserDictionary/Words/=Steeltoe/@EntryIndexedValue">True</s:Boolean>
6+
</wpf:ResourceDictionary>

src/Content/NetCoreTool.Template.WebApi/CSharp/.template.config/ide.host.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
"text": "Use dynamic Serilog logger"
296296
},
297297
"description": {
298-
"text": "Enables dynamically changing minimum levels at runtime using Serlog."
298+
"text": "Enables dynamically changing minimum levels at runtime using Serilog."
299299
},
300300
"isVisible": true
301301
},

src/Content/NetCoreTool.Template.WebApi/CSharp/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@
635635
"LoggingDynamicSerilogOption": {
636636
"type": "parameter",
637637
"datatype": "bool",
638-
"description": "Enable dynamically changing minimum levels at runtime using Serlog.",
638+
"description": "Enable dynamically changing minimum levels at runtime using Serilog.",
639639
"defaultValue": "false"
640640
},
641641
"HasLoggingDynamicSerilogInSteeltoeV3": {
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<Solution>
2+
<Project Path="Company.WebApplication.CS.csproj" />
3+
</Solution>

test/NetCoreTool.Template.WebApi.Test/CircuitBreakerHystrixOptionTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected override async Task AssertProjectGeneration(ProjectOptions options)
2525

2626
if (options.SteeltoeVersion == SteeltoeVersion.Steeltoe32)
2727
{
28-
Logger.WriteLine($"asserting HelloHystrixCommand");
28+
Logger.WriteLine("asserting HelloHystrixCommand");
2929
var sourceFile = GetSourceFileForLanguage("HelloHystrixCommand", options.Language);
3030
var source = await Sandbox.GetFileTextAsync(sourceFile);
3131
source.Should().ContainSnippet("class HelloHystrixCommand");

test/NetCoreTool.Template.WebApi.Test/ConnectorMySqlEfCoreOptionTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Collections.Generic;
2-
using System.IO;
32
using System.Threading.Tasks;
43
using FluentAssertions;
54
using Steeltoe.NetCoreTool.Template.WebApi.Test.Models;

test/NetCoreTool.Template.WebApi.Test/ConnectorPostgreSqlEfCoreOptionTest.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
using System;
21
using System.Collections.Generic;
3-
using System.IO;
42
using System.Threading.Tasks;
53
using FluentAssertions;
6-
using Steeltoe.NetCoreTool.Template.WebApi.Test.Assertions;
74
using Steeltoe.NetCoreTool.Template.WebApi.Test.Models;
85
using Xunit;
96
using Xunit.Abstractions;

test/NetCoreTool.Template.WebApi.Test/ConnectorPostgreSqlOptionTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.Collections.Generic;
32
using Steeltoe.NetCoreTool.Template.WebApi.Test.Models;
43
using Xunit.Abstractions;

test/NetCoreTool.Template.WebApi.Test/ConnectorSqlServerEfCoreOptionTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Collections.Generic;
2-
using System.IO;
32
using System.Threading.Tasks;
43
using FluentAssertions;
54
using Steeltoe.NetCoreTool.Template.WebApi.Test.Models;

0 commit comments

Comments
 (0)