Skip to content

Commit 5687fc7

Browse files
authored
Fix Issue 1190 (dotnet#1310)
* Remove extra node for .NETCore.App Fixes a build issues. * update topic to match code. * Add a note that this is 1.0 This topic is written for .NET Core 1.0. The opening note makes that clear.
1 parent 32194f2 commit 5687fc7

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

docs/core/testing/unit-testing-with-dotnet-test.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ By [Steve Smith](http://ardalis.com) and [Bill Wagner](https://github.com/BillWa
1717

1818
[View or download sample code](https://github.com/dotnet/docs/tree/master/samples/core/getting-started/unit-testing-using-dotnet-test)
1919

20+
> [!NOTE]
21+
> This topic applies to .NET Core 1.0.
22+
2023
## Creating the Projects
2124

2225
[Writing Libraries with Cross Platform Tools](../tutorials/libraries.md)
@@ -114,10 +117,6 @@ package as another dependency to the project:
114117

115118
```json
116119
"dependencies": {
117-
"Microsoft.NETCore.App": {
118-
"type":"platform",
119-
"version": "1.0.0"
120-
},
121120
"xunit":"2.1.0",
122121
"dotnet-test-xunit": "1.0.0-rc2-192208-24",
123122
"PrimeService": {

samples/core/getting-started/unit-testing-using-dotnet-test/test/PrimeService.Tests/project.json

-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
"testRunner": "xunit",
44

55
"dependencies": {
6-
"Microsoft.NETCore.App": {
7-
"type":"platform",
8-
"version": "1.0.0"
9-
},
106
"xunit":"2.1.0",
117
"dotnet-test-xunit": "1.0.0-rc2-192208-24",
128
"PrimeService": {

0 commit comments

Comments
 (0)