Skip to content

Commit 3c5a8fe

Browse files
committed
Upgrade to csproj & VS 2017
1 parent 8465e24 commit 3c5a8fe

File tree

6 files changed

+87
-8
lines changed

6 files changed

+87
-8
lines changed

Backup/Bloggy.sln

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.25420.1
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{C119D035-FEE1-4DBF-9046-2C1329F2DE0B}"
7+
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6C77F36F-50BA-402B-88C1-73A8341FF76C}"
9+
ProjectSection(SolutionItems) = preProject
10+
global.json = global.json
11+
EndProjectSection
12+
EndProject
13+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Bloggy", "src\Bloggy\Bloggy.xproj", "{77A2C865-D54E-49BD-A25E-37DF2334C17E}"
14+
EndProject
15+
Global
16+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
17+
Debug|Any CPU = Debug|Any CPU
18+
Release|Any CPU = Release|Any CPU
19+
EndGlobalSection
20+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
21+
{77A2C865-D54E-49BD-A25E-37DF2334C17E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
22+
{77A2C865-D54E-49BD-A25E-37DF2334C17E}.Debug|Any CPU.Build.0 = Debug|Any CPU
23+
{77A2C865-D54E-49BD-A25E-37DF2334C17E}.Release|Any CPU.ActiveCfg = Release|Any CPU
24+
{77A2C865-D54E-49BD-A25E-37DF2334C17E}.Release|Any CPU.Build.0 = Release|Any CPU
25+
EndGlobalSection
26+
GlobalSection(SolutionProperties) = preSolution
27+
HideSolutionNode = FALSE
28+
EndGlobalSection
29+
GlobalSection(NestedProjects) = preSolution
30+
{77A2C865-D54E-49BD-A25E-37DF2334C17E} = {C119D035-FEE1-4DBF-9046-2C1329F2DE0B}
31+
EndGlobalSection
32+
EndGlobal

global.json Backup/global.json

File renamed without changes.
File renamed without changes.

src/Bloggy/project.json Backup/src/Bloggy/project.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"userSecretsId": "bloggy-77a2c865-d54e-49bd-a25e-37df2334c17e",
23
"dependencies": {
34
"Microsoft.NETCore.App": {
45
"version": "1.1.0",
@@ -21,13 +22,15 @@
2122
"Microsoft.Extensions.Configuration.Binder": "1.1.0",
2223
"Microsoft.Extensions.Configuration.FileExtensions": "1.1.0",
2324
"Microsoft.Extensions.Configuration.Json": "1.1.0",
25+
"Microsoft.Extensions.Configuration.UserSecrets": "1.1.0",
2426
"Microsoft.Extensions.Logging.Console": "1.1.0",
2527
"CommonMark.NET": "0.12.0"
2628
},
2729

2830
"tools": {
29-
"Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final",
30-
"Microsoft.EntityFrameworkCore.Tools.DotNet": "1.1.0-preview4"
31+
"Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.1.0-preview4",
32+
"Microsoft.EntityFrameworkCore.Tools.DotNet": "1.1.0-preview4",
33+
"Microsoft.Extensions.SecretManager.Tools": "1.1.0-preview4"
3134
},
3235

3336
"frameworks": {

Bloggy.sln

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.25420.1
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.26228.4
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{C119D035-FEE1-4DBF-9046-2C1329F2DE0B}"
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6C77F36F-50BA-402B-88C1-73A8341FF76C}"
9-
ProjectSection(SolutionItems) = preProject
10-
global.json = global.json
11-
EndProjectSection
129
EndProject
13-
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Bloggy", "src\Bloggy\Bloggy.xproj", "{77A2C865-D54E-49BD-A25E-37DF2334C17E}"
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bloggy", "src\Bloggy\Bloggy.csproj", "{77A2C865-D54E-49BD-A25E-37DF2334C17E}"
1411
EndProject
1512
Global
1613
GlobalSection(SolutionConfigurationPlatforms) = preSolution

src/Bloggy/Bloggy.csproj

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netcoreapp1.0</TargetFramework>
5+
<PreserveCompilationContext>true</PreserveCompilationContext>
6+
<AssemblyName>Bloggy</AssemblyName>
7+
<OutputType>Exe</OutputType>
8+
<PackageId>Bloggy</PackageId>
9+
<UserSecretsId>bloggy-77a2c865-d54e-49bd-a25e-37df2334c17e</UserSecretsId>
10+
<RuntimeFrameworkVersion>1.1.1</RuntimeFrameworkVersion>
11+
<PackageTargetFallback>$(PackageTargetFallback);dotnet5.6;portable-net45+win8</PackageTargetFallback>
12+
</PropertyGroup>
13+
14+
<ItemGroup>
15+
<None Update="wwwroot\**\*">
16+
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
17+
</None>
18+
</ItemGroup>
19+
20+
<ItemGroup>
21+
<PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="1.1.1" />
22+
<PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="1.1.1" />
23+
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="1.1.1" />
24+
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.2" />
25+
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.1" />
26+
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.1" />
27+
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.1" />
28+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.1.1">
29+
<PrivateAssets>All</PrivateAssets>
30+
</PackageReference>
31+
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="1.1.1" />
32+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="1.1.1" />
33+
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="1.1.1" />
34+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="1.1.1" />
35+
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="1.1.1" />
36+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.1" />
37+
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="1.1.1" />
38+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.1" />
39+
<PackageReference Include="CommonMark.NET" Version="0.12.0" />
40+
</ItemGroup>
41+
42+
<ItemGroup>
43+
<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" />
44+
<DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="1.0.0" />
45+
</ItemGroup>
46+
47+
</Project>

0 commit comments

Comments
 (0)