Skip to content

Commit 32bf453

Browse files
NickCraverNatMarchand
authored andcommitted
Few more tidy bits from local build
1 parent b8ad4d2 commit 32bf453

File tree

5 files changed

+7
-17
lines changed

5 files changed

+7
-17
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*.suo
1010
*.user
1111
*.sln.docstates
12+
*.binlog
1213
.vs/
1314
.vscode/
1415
**/Properties/launchSettings.json

Build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<ItemGroup>
33
<ProjectReference Include="src\**\*.csproj" />
44
</ItemGroup>
5-
<ItemGroup Condition="$(Packing) != 'true'">
5+
<ItemGroup Condition="$(Packing) != 'true' and $(_IsPacking) != 'true'">
66
<ProjectReference Include="samples\**\*.csproj" Exclude="samples\**\*Mvc5*.csproj" />
77
<ProjectReference Include="tests\**\*.csproj" />
88
</ItemGroup>

samples/Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
<Project>
2+
<PropertyGroup>
3+
<IsPackable>false</IsPackable>
4+
</PropertyGroup>
25
</Project>

tests/Directory.Build.props

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,4 @@
44
<OutputPath>bin\$(Configuration)\</OutputPath>
55
<LangVersion>Latest</LangVersion>
66
</PropertyGroup>
7-
8-
<ItemGroup Condition="'$(TargetFramework)' == 'net48'">
9-
<Reference Include="Microsoft.CSharp" />
10-
<Reference Include="System" />
11-
<Reference Include="System.Configuration" />
12-
<Reference Include="System.Data" />
13-
<Reference Include="System.Data.Linq" />
14-
<Reference Include="System.Runtime.Caching" />
15-
<Reference Include="System.Runtime.Serialization" />
16-
<Reference Include="System.Transactions" />
17-
<Reference Include="System.Web" />
18-
<Reference Include="System.Web.Extensions" />
19-
<Reference Include="System.Xml" />
20-
</ItemGroup>
217
</Project>

tests/StackExchange.Exceptional.Tests.AspNetCore/StaticConfiguration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public void AppNameViaConfigure()
2222
const string appName = "AppNameViaConfig";
2323
Exceptional.Configure(settings => settings.DefaultStore = new SQLErrorStore(TestConfig.Current.SQLServerConnectionString, appName));
2424

25-
Assert.Equal(Exceptional.Settings.DefaultStore.ApplicationName, appName);
26-
Assert.Equal(Statics.Settings.DefaultStore.ApplicationName, appName);
25+
Assert.Equal(appName, Exceptional.Settings.DefaultStore.ApplicationName);
26+
Assert.Equal(appName, Statics.Settings.DefaultStore.ApplicationName);
2727

2828
var error = new Exception().GetErrorIfNotIgnored(Statics.Settings);
2929
Assert.Equal(appName, error.ApplicationName);

0 commit comments

Comments
 (0)