Skip to content

Commit 96474bb

Browse files
committed
Ported NoStartup sample (#326)
1 parent 454656a commit 96474bb

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

samples/Lite/Lite.Test/Lite.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.0</TargetFrameworks>
4+
<TargetFramework>netcoreapp3.0</TargetFramework>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
6-
</PropertyGroup>
6+
</PropertyGroup>
77

88
<ItemGroup>
99
<ProjectReference Include="..\..\..\src\MyTested.AspNetCore.Mvc.Lite\MyTested.AspNetCore.Mvc.Lite.csproj" />

samples/Lite/Lite.Web/Lite.Web.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.0</TargetFrameworks>
4+
<TargetFramework>netcoreapp3.0</TargetFramework>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
66
</PropertyGroup>
77

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0</TargetFrameworks>
4+
<TargetFramework>netcoreapp3.0</TargetFramework>
55
<NoWarn>$(NoWarn);CS1591</NoWarn>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
<AssemblyName>NoStartup.Components</AssemblyName>
@@ -12,11 +12,11 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<ProjectReference Include="..\NoStartup.Services\NoStartup.Services.csproj" />
15+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
1616
</ItemGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="2.2.*" />
19+
<ProjectReference Include="..\NoStartup.Services\NoStartup.Services.csproj" />
2020
</ItemGroup>
2121

2222
</Project>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0</TargetFrameworks>
4+
<TargetFramework>netcoreapp3.0</TargetFramework>
55
<NoWarn>$(NoWarn);CS1591</NoWarn>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<ProjectReference Include="..\NoStartup.Services\NoStartup.Services.csproj" />
10+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
1111
</ItemGroup>
12-
12+
1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.5" />
14+
<ProjectReference Include="..\NoStartup.Services\NoStartup.Services.csproj" />
1515
</ItemGroup>
1616

1717
</Project>

samples/NoStartup/NoStartup.Services/NoStartup.Services.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0</TargetFrameworks>
4+
<TargetFramework>netstandard2.0</TargetFramework>
55
<NoWarn>$(NoWarn);CS1591</NoWarn>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
<AssemblyName>NoStartup.Services</AssemblyName>

samples/NoStartup/NoStartup.Test/NoStartup.Test.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp2.2;net461</TargetFrameworks>
4+
<TargetFramework>netcoreapp3.0</TargetFramework>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
66
<PreserveCompilationContext>true</PreserveCompilationContext>
77
</PropertyGroup>
@@ -25,9 +25,9 @@
2525
</ItemGroup>
2626

2727
<ItemGroup>
28-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
29-
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
30-
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
28+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.3.0-*" />
29+
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0-*" />
30+
<PackageReference Include="MSTest.TestFramework" Version="2.0.0-*" />
3131
</ItemGroup>
3232

3333
</Project>

0 commit comments

Comments
 (0)