Skip to content

Commit 3855c61

Browse files
committed
added references and updated dotnet
1 parent 4ba346b commit 3855c61

File tree

6 files changed

+22
-10
lines changed

6 files changed

+22
-10
lines changed

global.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"sdk": {
3+
"version": "3.1.101"
4+
}
5+
}

src/UnitTestingDemo.Services/UnitTestingDemo.Services.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<ProjectReference Include="..\UnitTestingDemo.Data\UnitTestingDemo.Data.csproj" />
98
<ProjectReference Include="..\UnitTestingDemo.Domain\UnitTestingDemo.Domain.csproj" />
9+
<ProjectReference Include="..\UnitTestingDemo.Data\UnitTestingDemo.Data.csproj" />
1010
</ItemGroup>
1111

1212
</Project>

src/UnitTestingDemo/UnitTestingDemo.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313

1414

1515
<ItemGroup>
16-
<ProjectReference Include="..\UnitTestingDemo.Data\UnitTestingDemo.Data.csproj" />
17-
<ProjectReference Include="..\UnitTestingDemo.Domain\UnitTestingDemo.Domain.csproj" />
1816
<ProjectReference Include="..\UnitTestingDemo.Services\UnitTestingDemo.Services.csproj" />
17+
<ProjectReference Include="..\UnitTestingDemo.Domain\UnitTestingDemo.Domain.csproj" />
1918
</ItemGroup>
2019

2120
</Project>

tests/UnitTestingDemo.Data.Tests/UnitTestingDemo.Data.Tests.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<TargetFramework>netcoreapp3.1</TargetFramework>
55

66
<IsPackable>false</IsPackable>
7+
8+
<OutputType>Library</OutputType>
79
</PropertyGroup>
810

911
<ItemGroup>
@@ -12,12 +14,12 @@
1214
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.3" />
1315
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
1416
<PackageReference Include="Moq" Version="4.13.1" />
15-
<PackageReference Include="MSTest.TestAdapter" Version="2.1.1" />
1617
<PackageReference Include="MSTest.TestFramework" Version="2.1.1" />
1718
</ItemGroup>
1819

1920
<ItemGroup>
20-
<ProjectReference Include="..\src\UnitTestingDemo.Data\UnitTestingDemo.Data.csproj" />
21+
<ProjectReference Include="..\..\src\UnitTestingDemo.Data\UnitTestingDemo.Data.csproj" />
22+
<ProjectReference Include="..\..\src\UnitTestingDemo.Domain\UnitTestingDemo.Domain.csproj" />
2123
</ItemGroup>
2224

2325
</Project>

tests/UnitTestingDemo.Services.Tests/UnitTestingDemo.Services.Tests.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,20 @@
44
<TargetFramework>netcoreapp3.1</TargetFramework>
55

66
<IsPackable>false</IsPackable>
7+
8+
<OutputType>Library</OutputType>
79
</PropertyGroup>
810

911
<ItemGroup>
1012
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
1113
<PackageReference Include="Moq" Version="4.13.1" />
12-
<PackageReference Include="MSTest.TestAdapter" Version="2.1.1" />
1314
<PackageReference Include="MSTest.TestFramework" Version="2.1.1" />
1415
</ItemGroup>
1516

1617
<ItemGroup>
17-
<ProjectReference Include="..\src\UnitTestingDemo.Services\UnitTestingDemo.Services.csproj" />
18+
<ProjectReference Include="..\..\src\UnitTestingDemo.Domain\UnitTestingDemo.Domain.csproj" />
19+
<ProjectReference Include="..\..\src\UnitTestingDemo.Data\UnitTestingDemo.Data.csproj" />
20+
<ProjectReference Include="..\..\src\UnitTestingDemo.Services\UnitTestingDemo.Services.csproj" />
1821
</ItemGroup>
1922

2023
</Project>

tests/UnitTestingDemo.Tests/UnitTestingDemo.Tests.csproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,20 @@
44
<TargetFramework>netcoreapp3.1</TargetFramework>
55

66
<IsPackable>false</IsPackable>
7+
8+
<OutputType>Library</OutputType>
79
</PropertyGroup>
810

911
<ItemGroup>
1012
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
1113
<PackageReference Include="Moq" Version="4.13.1" />
12-
<PackageReference Include="MSTest.TestAdapter" Version="2.1.1" />
1314
<PackageReference Include="MSTest.TestFramework" Version="2.1.1" />
1415
</ItemGroup>
1516

1617
<ItemGroup>
17-
<ProjectReference Include="..\src\UnitTestingDemo.Services\UnitTestingDemo.Services.csproj" />
18-
<ProjectReference Include="..\src\UnitTestingDemo\UnitTestingDemo.csproj" />
18+
<ProjectReference Include="..\..\src\UnitTestingDemo.Services\UnitTestingDemo.Services.csproj" />
19+
<ProjectReference Include="..\..\src\UnitTestingDemo.Domain\UnitTestingDemo.Domain.csproj" />
20+
<ProjectReference Include="..\..\src\UnitTestingDemo.Data\UnitTestingDemo.Data.csproj" />
21+
<ProjectReference Include="..\..\src\UnitTestingDemo\UnitTestingDemo.csproj" />
1922
</ItemGroup>
2023
</Project>

0 commit comments

Comments
 (0)