Skip to content

Commit

Permalink
project.json-ify and support net20 up to net45
Browse files Browse the repository at this point in the history
  • Loading branch information
tmds committed Sep 12, 2015
1 parent 4b8a7bf commit ec3d677
Show file tree
Hide file tree
Showing 27 changed files with 251 additions and 281 deletions.
181 changes: 33 additions & 148 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,151 +1,36 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results

[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/

# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
!packages/*/build/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
[Bb]in/
TestResults/
.nuget/
*.sln.ide/
_ReSharper.*/
packages/
artifacts/
PublishProfiles/
.vs/
bower_components/
node_modules/
**/wwwroot/lib/
debugSettings.json
project.lock.json
*.user
*.suo
*.cache
*.docstates
_ReSharper.*
nuget.exe
*net45.csproj
*net451.csproj
*k10.csproj
*.psess
*.vsp
*.vspx

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
*.ncrunch*
.*crunch*.local.xml

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.Publish.xml
*.pubxml

# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/

# Windows Azure Build Output
csx
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
App_Data/*.mdf
App_Data/*.ldf

# =========================
# Windows detritus
# =========================

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Mac crap
.DS_Store
*.pidb
*.userprefs
*DS_Store
*.ncrunchsolution
*.*sdf
*.ipch
.settings
*.sln.ide
node_modules
**/[Cc]ompiler/[Rr]esources/**/*.js
51 changes: 0 additions & 51 deletions Properties/AssemblyInfo.cs

This file was deleted.

66 changes: 0 additions & 66 deletions Tmds.MDns.csproj

This file was deleted.

14 changes: 0 additions & 14 deletions Tmds.MDns.nuspec

This file was deleted.

22 changes: 22 additions & 0 deletions Tmds.MDns.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Tmds.MDns", "src\Tmds.MDns\Tmds.MDns.xproj", "{2AFA2DAC-E252-4FDD-B23F-9F50FC5E6132}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2AFA2DAC-E252-4FDD-B23F-9F50FC5E6132}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2AFA2DAC-E252-4FDD-B23F-9F50FC5E6132}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2AFA2DAC-E252-4FDD-B23F-9F50FC5E6132}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2AFA2DAC-E252-4FDD-B23F-9F50FC5E6132}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public List<string> ReadTxtRecord()
while ((rdLength > 0) && ((txtLength = ReadByte()) != 0))
{
rdLength -= (ushort)(txtLength + 1);
string txt = UTF8Encoding.UTF8.GetString(ReadBytes(txtLength));
string txt = Encoding.UTF8.GetString(ReadBytes(txtLength));
txts.Add(txt);
}

Expand Down
File renamed without changes.
Loading

0 comments on commit ec3d677

Please sign in to comment.