Skip to content

Commit 864fabb

Browse files
committed
Update to .NET Core 3
1 parent 44af439 commit 864fabb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+294
-1340
lines changed

.gitignore

Lines changed: 111 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
3+
##
4+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
35

46
# User-specific files
7+
*.rsuser
58
*.suo
69
*.user
710
*.userosscache
@@ -10,48 +13,67 @@
1013
# User-specific files (MonoDevelop/Xamarin Studio)
1114
*.userprefs
1215

16+
# Mono auto generated files
17+
mono_crash.*
18+
1319
# Build results
1420
[Dd]ebug/
1521
[Dd]ebugPublic/
1622
[Rr]elease/
1723
[Rr]eleases/
1824
x64/
1925
x86/
26+
[Aa][Rr][Mm]/
27+
[Aa][Rr][Mm]64/
2028
bld/
2129
[Bb]in/
2230
[Oo]bj/
2331
[Ll]og/
2432

25-
# Visual Studio 2015 cache/options directory
33+
# Visual Studio 2015/2017 cache/options directory
2634
.vs/
2735
# Uncomment if you have tasks that create the project's static files in wwwroot
2836
#wwwroot/
2937

38+
# Visual Studio 2017 auto generated files
39+
Generated\ Files/
40+
3041
# MSTest test Results
3142
[Tt]est[Rr]esult*/
3243
[Bb]uild[Ll]og.*
3344

34-
# NUNIT
45+
# NUnit
3546
*.VisualState.xml
3647
TestResult.xml
48+
nunit-*.xml
3749

3850
# Build Results of an ATL Project
3951
[Dd]ebugPS/
4052
[Rr]eleasePS/
4153
dlldata.c
4254

43-
# DNX
55+
# Benchmark Results
56+
BenchmarkDotNet.Artifacts/
57+
58+
# .NET Core
4459
project.lock.json
60+
project.fragment.lock.json
4561
artifacts/
4662

63+
# StyleCop
64+
StyleCopReport.xml
65+
66+
# Files built by Visual Studio
4767
*_i.c
4868
*_p.c
49-
*_i.h
69+
*_h.h
5070
*.ilk
5171
*.meta
5272
*.obj
73+
*.iobj
5374
*.pch
5475
*.pdb
76+
*.ipdb
5577
*.pgc
5678
*.pgd
5779
*.rsp
@@ -61,6 +83,7 @@ artifacts/
6183
*.tlh
6284
*.tmp
6385
*.tmp_proj
86+
*_wpftmp.csproj
6487
*.log
6588
*.vspscc
6689
*.vssscc
@@ -89,6 +112,9 @@ ipch/
89112
*.vspx
90113
*.sap
91114

115+
# Visual Studio Trace Files
116+
*.e2e
117+
92118
# TFS 2012 Local Workspace
93119
$tf/
94120

@@ -109,6 +135,14 @@ _TeamCity*
109135
# DotCover is a Code Coverage Tool
110136
*.dotCover
111137

138+
# AxoCover is a Code Coverage Tool
139+
.axoCover/*
140+
!.axoCover/settings.json
141+
142+
# Visual Studio code coverage results
143+
*.coverage
144+
*.coveragexml
145+
112146
# NCrunch
113147
_NCrunch_*
114148
.*crunch*.local.xml
@@ -140,7 +174,7 @@ publish/
140174
# Publish Web Output
141175
*.[Pp]ublish.xml
142176
*.azurePubxml
143-
# TODO: Comment the next line if you want to checkin your web deploy settings
177+
# Note: Comment the next line if you want to checkin your web deploy settings,
144178
# but database connection strings (with potential passwords) will be unencrypted
145179
*.pubxml
146180
*.publishproj
@@ -152,13 +186,15 @@ PublishScripts/
152186

153187
# NuGet Packages
154188
*.nupkg
189+
# NuGet Symbol Packages
190+
*.snupkg
155191
# The packages folder can be ignored because of Package Restore
156-
**/packages/*
192+
**/[Pp]ackages/*
157193
# except build/, which is used as an MSBuild target.
158-
!**/packages/build/
194+
!**/[Pp]ackages/build/
159195
# Uncomment if necessary however generally it will be regenerated when needed
160-
#!**/packages/repositories.config
161-
# NuGet v3's project.json files produces more ignoreable files
196+
#!**/[Pp]ackages/repositories.config
197+
# NuGet v3's project.json files produces more ignorable files
162198
*.nuget.props
163199
*.nuget.targets
164200

@@ -175,24 +211,31 @@ AppPackages/
175211
BundleArtifacts/
176212
Package.StoreAssociation.xml
177213
_pkginfo.txt
214+
*.appx
215+
*.appxbundle
216+
*.appxupload
178217

179218
# Visual Studio cache files
180219
# files ending in .cache can be ignored
181220
*.[Cc]ache
182221
# but keep track of directories ending in .cache
183-
!*.[Cc]ache/
222+
!?*.[Cc]ache/
184223

185224
# Others
186225
ClientBin/
187226
~$*
188227
*~
189228
*.dbmdl
190229
*.dbproj.schemaview
230+
*.jfm
191231
*.pfx
192232
*.publishsettings
193-
node_modules/
194233
orleans.codegen.cs
195234

235+
# Including strong name files can present a security risk
236+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
237+
#*.snk
238+
196239
# Since there are multiple workflows, uncomment next line to ignore bower_components
197240
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
198241
#bower_components/
@@ -207,15 +250,22 @@ _UpgradeReport_Files/
207250
Backup*/
208251
UpgradeLog*.XML
209252
UpgradeLog*.htm
253+
ServiceFabricBackup/
254+
*.rptproj.bak
210255

211256
# SQL Server files
212257
*.mdf
213258
*.ldf
259+
*.ndf
214260

215261
# Business Intelligence projects
216262
*.rdl.data
217263
*.bim.layout
218264
*.bim_*.settings
265+
*.rptproj.rsuser
266+
*- [Bb]ackup.rdl
267+
*- [Bb]ackup ([0-9]).rdl
268+
*- [Bb]ackup ([0-9][0-9]).rdl
219269

220270
# Microsoft Fakes
221271
FakesAssemblies/
@@ -225,13 +275,17 @@ FakesAssemblies/
225275

226276
# Node.js Tools for Visual Studio
227277
.ntvs_analysis.dat
278+
node_modules/
228279

229280
# Visual Studio 6 build log
230281
*.plg
231282

232283
# Visual Studio 6 workspace options file
233284
*.opt
234285

286+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
287+
*.vbw
288+
235289
# Visual Studio LightSwitch build output
236290
**/*.HTMLClient/GeneratedArtifacts
237291
**/*.DesktopClient/GeneratedArtifacts
@@ -247,6 +301,49 @@ paket-files/
247301
# FAKE - F# Make
248302
.fake/
249303

250-
# JetBrains Rider
251-
.idea/
252-
*.sln.iml
304+
# CodeRush personal settings
305+
.cr/personal
306+
307+
# Python Tools for Visual Studio (PTVS)
308+
__pycache__/
309+
*.pyc
310+
311+
# Cake - Uncomment if you are using it
312+
# tools/**
313+
# !tools/packages.config
314+
315+
# Tabs Studio
316+
*.tss
317+
318+
# Telerik's JustMock configuration file
319+
*.jmconfig
320+
321+
# BizTalk build output
322+
*.btp.cs
323+
*.btm.cs
324+
*.odx.cs
325+
*.xsd.cs
326+
327+
# OpenCover UI analysis results
328+
OpenCover/
329+
330+
# Azure Stream Analytics local run output
331+
ASALocalRun/
332+
333+
# MSBuild Binary and Structured Log
334+
*.binlog
335+
336+
# NVidia Nsight GPU debugger configuration file
337+
*.nvuser
338+
339+
# MFractors (Xamarin productivity tool) working folder
340+
.mfractor/
341+
342+
# Local History for Visual Studio
343+
.localhistory/
344+
345+
# BeatPulse healthcheck temp database
346+
healthchecksdb
347+
348+
# Backup folder for Package Reference Convert tool in Visual Studio 2017
349+
MigrationBackup/

CommandPattern/App.config

Lines changed: 0 additions & 6 deletions
This file was deleted.

CommandPattern/CommandPattern.csproj

Lines changed: 5 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,8 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
43
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{97F2F5C9-4A24-4DF8-8E17-65D992340CC6}</ProjectGuid>
84
<OutputType>Exe</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>CommandPattern</RootNamespace>
11-
<AssemblyName>CommandPattern</AssemblyName>
12-
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
5+
<TargetFramework>netcoreapp3.0</TargetFramework>
156
</PropertyGroup>
16-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17-
<PlatformTarget>AnyCPU</PlatformTarget>
18-
<DebugSymbols>true</DebugSymbols>
19-
<DebugType>full</DebugType>
20-
<Optimize>false</Optimize>
21-
<OutputPath>bin\Debug\</OutputPath>
22-
<DefineConstants>DEBUG;TRACE</DefineConstants>
23-
<ErrorReport>prompt</ErrorReport>
24-
<WarningLevel>4</WarningLevel>
25-
</PropertyGroup>
26-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27-
<PlatformTarget>AnyCPU</PlatformTarget>
28-
<DebugType>pdbonly</DebugType>
29-
<Optimize>true</Optimize>
30-
<OutputPath>bin\Release\</OutputPath>
31-
<DefineConstants>TRACE</DefineConstants>
32-
<ErrorReport>prompt</ErrorReport>
33-
<WarningLevel>4</WarningLevel>
34-
</PropertyGroup>
35-
<ItemGroup>
36-
<Reference Include="System" />
37-
<Reference Include="System.Core" />
38-
<Reference Include="System.Xml.Linq" />
39-
<Reference Include="System.Data.DataSetExtensions" />
40-
<Reference Include="Microsoft.CSharp" />
41-
<Reference Include="System.Data" />
42-
<Reference Include="System.Net.Http" />
43-
<Reference Include="System.Xml" />
44-
</ItemGroup>
45-
<ItemGroup>
46-
<Compile Include="Program.cs" />
47-
<Compile Include="Properties\AssemblyInfo.cs" />
48-
<Compile Include="RemoteControl\Commands\CeilingFanCommands\CeilingFan.cs" />
49-
<Compile Include="RemoteControl\Commands\CeilingFanCommands\CeilingFanOffCommand.cs" />
50-
<Compile Include="RemoteControl\Commands\CeilingFanCommands\CeilingFanOnCommand.cs" />
51-
<Compile Include="RemoteControl\Commands\GarageDoorCommands\GarageDoor.cs" />
52-
<Compile Include="RemoteControl\Commands\GarageDoorCommands\GarageDoorCloseCommand.cs" />
53-
<Compile Include="RemoteControl\Commands\GarageDoorCommands\GarageDoorOpenCommand.cs" />
54-
<Compile Include="RemoteControl\Commands\ICommand.cs" />
55-
<Compile Include="RemoteControl\Commands\LightCommands\Light.cs" />
56-
<Compile Include="RemoteControl\Commands\LightCommands\LightOffCommand.cs" />
57-
<Compile Include="RemoteControl\Commands\LightCommands\LightOnCommand.cs" />
58-
<Compile Include="RemoteControl\Commands\NoCommand.cs" />
59-
<Compile Include="RemoteControl\Commands\Stereo\Stereo.cs" />
60-
<Compile Include="RemoteControl\Commands\Stereo\StereoOffCommand.cs" />
61-
<Compile Include="RemoteControl\Commands\Stereo\StereoOnWithCDCommand.cs" />
62-
<Compile Include="RemoteControl\RemoteControl.cs" />
63-
<Compile Include="RemoteControl\RemoteLoader.cs" />
64-
<Compile Include="RemoteControl\SimpleRemoteControlTest.cs" />
65-
<Compile Include="RemoteControl\SimpleRemoteControl.cs" />
66-
</ItemGroup>
67-
<ItemGroup>
68-
<None Include="App.config" />
69-
</ItemGroup>
70-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
71-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
72-
Other similar extension points exist, see Microsoft.Common.targets.
73-
<Target Name="BeforeBuild">
74-
</Target>
75-
<Target Name="AfterBuild">
76-
</Target>
77-
-->
78-
</Project>
7+
8+
</Project>

CommandPattern/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
namespace CommandPattern
55
{
6-
class Program
6+
internal class Program
77
{
8-
static void Main(string[] args)
8+
private static void Main()
99
{
1010
SimpleRemoteControlTest.Test();
1111

0 commit comments

Comments
 (0)