Skip to content

Commit

Permalink
Fix issue #18; Add target monikers for .NET 3.5, 4.5, 4.6 and 4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lassevagsaether-karlsen committed Jul 26, 2017
1 parent 5a03d22 commit c7b7dd6
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 197 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ resharper_align_multiline_expression = true
resharper_align_multiline_binary_expressions_chain = true
resharper_align_multiline_calls_chain = true
resharper_align_multiline_array_and_object_initializer = true
resharper_indent_anonymous_method_block = true
resharper_indent_anonymous_method_block = false
resharper_align_multiline_for_stmt = true
resharper_align_multiple_declaration = true
resharper_align_multline_type_parameter_list = true
Expand Down
99 changes: 0 additions & 99 deletions DiffLib.Tests/CodeQuality/QaTestBase.cs

This file was deleted.

85 changes: 0 additions & 85 deletions DiffLib.Tests/CodeQuality/ReferenceTests.cs

This file was deleted.

2 changes: 0 additions & 2 deletions DiffLib.Tests/DiffLib.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@
<Compile Include="MergeTests.cs" />
<Compile Include="OptionTests.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="CodeQuality\QaTestBase.cs" />
<Compile Include="CodeQuality\ReferenceTests.cs" />
<Compile Include="StringSimilarityDiffElementAlignerTests.cs" />
</ItemGroup>
<ItemGroup>
Expand Down
11 changes: 3 additions & 8 deletions DiffLib.sln
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.0
VisualStudioVersion = 15.0.26430.16
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DiffLib", "DiffLib\DiffLib.csproj", "{59577DB1-D790-4925-ABB0-9F2B6DC24DFD}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DiffLib", "DiffLib\DiffLib.csproj", "{59577DB1-D790-4925-ABB0-9F2B6DC24DFD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DiffLib.Tests", "DiffLib.Tests\DiffLib.Tests.csproj", "{16F500B7-F4BE-46D4-8443-2E6F653C3508}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{37D01333-8058-4DB9-B8D6-855F42914728}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitattributes = .gitattributes
.gitignore = .gitignore
.editorconfig = .editorconfig
DiffLib\DiffLib.nuspec = DiffLib\DiffLib.nuspec
EXAMPLES.md = EXAMPLES.md
LICENSE.md = LICENSE.md
Expand All @@ -23,21 +23,16 @@ Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
ReleaseBinaries|Any CPU = ReleaseBinaries|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{59577DB1-D790-4925-ABB0-9F2B6DC24DFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{59577DB1-D790-4925-ABB0-9F2B6DC24DFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{59577DB1-D790-4925-ABB0-9F2B6DC24DFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{59577DB1-D790-4925-ABB0-9F2B6DC24DFD}.Release|Any CPU.Build.0 = Release|Any CPU
{59577DB1-D790-4925-ABB0-9F2B6DC24DFD}.ReleaseBinaries|Any CPU.ActiveCfg = Release|Any CPU
{59577DB1-D790-4925-ABB0-9F2B6DC24DFD}.ReleaseBinaries|Any CPU.Build.0 = Release|Any CPU
{16F500B7-F4BE-46D4-8443-2E6F653C3508}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{16F500B7-F4BE-46D4-8443-2E6F653C3508}.Debug|Any CPU.Build.0 = Debug|Any CPU
{16F500B7-F4BE-46D4-8443-2E6F653C3508}.Release|Any CPU.ActiveCfg = Release|Any CPU
{16F500B7-F4BE-46D4-8443-2E6F653C3508}.Release|Any CPU.Build.0 = Release|Any CPU
{16F500B7-F4BE-46D4-8443-2E6F653C3508}.ReleaseBinaries|Any CPU.ActiveCfg = ReleaseBinaries|Any CPU
{16F500B7-F4BE-46D4-8443-2E6F653C3508}.ReleaseBinaries|Any CPU.Build.0 = ReleaseBinaries|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
2 changes: 1 addition & 1 deletion DiffLib/DiffLib.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard1.0</TargetFramework>
<TargetFrameworks>netstandard1.0;net35;net45;net46;net47</TargetFrameworks>
<Description>A Diff implementation for .NET Standard 1.0 and up, written in C#.</Description>
<Copyright>Copyright (C) Lasse V. Karlsen 2015-2017, All rights reserved</Copyright>
<PackageProjectUrl>https://github.com/lassevk/DiffLib</PackageProjectUrl>
Expand Down
8 changes: 7 additions & 1 deletion release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ if errorlevel 1 goto error
if errorlevel 1 goto error

set VERSION=%year%.%month%.%day%.%tm%
"%MSBUILD_CONSOLE%" "%PROJECT%.sln" /target:Clean,Rebuild /p:Configuration=%CONFIGURATION% /p:Version=%VERSION%%SUFFIX% /p:AssemblyVersion=%VERSION% /p:FileVersion=%VERSION% /p:DefineConstants="%CONFIGURATION%;USE_RELEASE_KEY"
"%MSBUILD_CONSOLE%" "%PROJECT%.sln" /target:Clean /p:Configuration=%CONFIGURATION% /p:Version=%VERSION%%SUFFIX% /p:AssemblyVersion=%VERSION% /p:FileVersion=%VERSION% /p:DefineConstants="%CONFIGURATION%;USE_RELEASE_KEY"
if errorlevel 1 goto error

"%MSBUILD_CONSOLE%" "%PROJECT%.sln" /target:Rebuild /p:Configuration=%CONFIGURATION% /p:Version=%VERSION%%SUFFIX% /p:AssemblyVersion=%VERSION% /p:FileVersion=%VERSION% /p:DefineConstants="%CONFIGURATION%;USE_RELEASE_KEY"
if errorlevel 1 goto error

"%MSBUILD_CONSOLE%" "%PROJECT%.sln" /target:Build /p:Configuration=%CONFIGURATION% /p:Version=%VERSION%%SUFFIX% /p:AssemblyVersion=%VERSION% /p:FileVersion=%VERSION% /p:DefineConstants="%CONFIGURATION%;USE_RELEASE_KEY"
if errorlevel 1 goto error

set TESTDLL=%CD%\%PROJECT%.Tests\bin\%CONFIGURATION%\%PROJECT%.Tests.dll
Expand Down

0 comments on commit c7b7dd6

Please sign in to comment.