Skip to content

Commit a266d86

Browse files
committed
Fixed ref for working package version
1 parent 6aaa86b commit a266d86

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ bld/
2626

2727
# Visual Studio 2015 cache/options directory
2828
.vs/
29+
.vscode/
2930
# Uncomment if you have tasks that create the project's static files in wwwroot
3031
#wwwroot/
3132

src/Northwind.Web/Controllers/HomeController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public IActionResult Index()
2222
var folderPath = Path.Combine(path, "Database");
2323
var filePath = Path.Combine(folderPath, "northwind.xml");
2424

25+
//var data = new[] { "Foo", "Bar" };
2526
var data = NorthwindDb.GetRetiredEmployees(filePath);
2627
return View("index", data);
2728
}

src/Northwind.Web/Northwind.Web.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp2.1</TargetFramework>
4+
<TargetFramework>netcoreapp2.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.0" />
9-
<PackageReference Include="Northwind.Data" Version="1.0.0" />
8+
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
9+
<PackageReference Include="Northwind.Data" Version="1.1.0" />
1010
</ItemGroup>
1111

1212
<ItemGroup>

0 commit comments

Comments
 (0)