Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Finish 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alphaleonis committed Oct 30, 2016
2 parents 93fbd67 + 29c61eb commit 948a08b
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 16 deletions.
8 changes: 4 additions & 4 deletions AlphaFS.Doc/AlphaFS.Doc.shfbproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<!-- The configuration and platform will be used to determine which
Expand Down Expand Up @@ -37,7 +37,7 @@
<CopyrightText>Copyright %28C%29 2008-2016 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov</CopyrightText>
<PresentationStyle>VS2013</PresentationStyle>
<SyntaxFilters>Standard</SyntaxFilters>
<HelpFileVersion>2.0.0.9300</HelpFileVersion>
<HelpFileVersion>2.1.2.9300</HelpFileVersion>
<DocumentationSources>
<DocumentationSource sourceFile="..\Bin\$(Configuration)\Net452\AlphaFS.dll" />
<DocumentationSource sourceFile="..\Bin\$(Configuration)\Net452\AlphaFS.xml" />
Expand Down Expand Up @@ -75,10 +75,10 @@ Additional classes and methods are provided to provide more advanced functionali
<!-- There are no properties for these two groups but they need to appear in
order for Visual Studio to perform the build. -->
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>..\Bin\Documentation\</OutputPath>
<OutputPath>..\Bin\Documentation\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>..\Bin\Documentation\</OutputPath>
<OutputPath>..\Bin\Documentation\</OutputPath>
</PropertyGroup>
<ItemGroup>
<None Include="License.aml" />
Expand Down
2 changes: 1 addition & 1 deletion AlphaFS.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>AlphaFS</id>
<version>2.1.0.0</version>
<version>2.1.1.0</version>
<title>AlphaFS</title>
<authors>Peter Palotas,Jeffrey Jangli,Alexandr Normuradov</authors>
<owners>Peter Palotas</owners>
Expand Down
4 changes: 1 addition & 3 deletions AlphaFS/AssemblyVersionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
* THE SOFTWARE.
*/
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;

[assembly: AssemblyCompany("")]
Expand All @@ -29,7 +27,7 @@
[assembly: AssemblyTrademark("")]

[assembly: AssemblyVersion("2.1.0.0")]
[assembly: AssemblyFileVersion("2.1.0.0")]
[assembly: AssemblyFileVersion("2.1.2.0")]
[assembly: AssemblyInformationalVersion("2.0")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]

32 changes: 26 additions & 6 deletions BuildRelease.proj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,26 @@
<DistDir>$(MSBuildThisFileDirectory)Dist</DistDir>
</PropertyGroup>

<UsingTask
TaskName="GetFileVersion"
TaskFactory="CodeTaskFactory"
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
<ParameterGroup>
<AssemblyPath ParameterType="System.String" Required="true" />
<Version ParameterType="System.String" Output="true" />
</ParameterGroup>
<Task>
<Using Namespace="System.Diagnostics" />
<Code Type="Fragment" Language="cs">
<![CDATA[
Log.LogMessage("Getting version details of assembly at: " + this.AssemblyPath, MessageImportance.High);
this.Version = FileVersionInfo.GetVersionInfo(this.AssemblyPath).FileVersion;
]]>
</Code>
</Task>
</UsingTask>

<ItemGroup>
<TargetList Condition=" '@(TargetList)' == '' " Include="Rebuild" />
</ItemGroup>
Expand Down Expand Up @@ -44,9 +64,9 @@
Targets="@(TargetList)"
SkipNonexistentProjects="true" />

<GetAssemblyIdentity AssemblyFiles="$(MSBuildProjectDirectory)\Bin\$(Configuration)\Net451\AlphaFS.dll">
<Output TaskParameter="Assemblies" ItemName="AlphaFSAssembly" />
</GetAssemblyIdentity>
<GetFileVersion AssemblyPath="$(MSBuildProjectDirectory)\Bin\$(Configuration)\Net451\AlphaFS.dll">
<Output TaskParameter="Version" PropertyName="AlphaFSFileVersion" />
</GetFileVersion>

<ItemGroup>
<FilesToClean Include="$(DistDir)\**\*"/>
Expand All @@ -57,7 +77,7 @@
<RemoveDir Directories="$(DistDir)" />
<MakeDir Directories="$(DistDir)" />

<Exec Command="&quot;$(MSBuildThisFileDirectory)packages\NuGet.CommandLine.3.4.4-rtm-final\tools\NuGet.exe&quot; pack &quot;$(ProjectDir)AlphaFS.nuspec&quot; -NoPackageAnalysis -Version %(AlphaFSAssembly.Version) -OutputDirectory $(DistDir)" WorkingDirectory="$(TargetDir)" LogStandardErrorAsError="true" ConsoleToMSBuild="true">
<Exec Command="&quot;$(MSBuildThisFileDirectory)packages\NuGet.CommandLine.3.4.4-rtm-final\tools\NuGet.exe&quot; pack &quot;$(ProjectDir)AlphaFS.nuspec&quot; -NoPackageAnalysis -Version $(AlphaFSFileVersion) -OutputDirectory $(DistDir)" WorkingDirectory="$(TargetDir)" LogStandardErrorAsError="true" ConsoleToMSBuild="true">
<Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" />
</Exec>

Expand All @@ -81,12 +101,12 @@
<StaticFiles Include="$(MSBuildThisFileDirectory)\README.md" />
</ItemGroup>

<Move SourceFiles="$(MSBuildThisFileDirectory)\Bin\Documentation\AlphaFS.chm" DestinationFiles="$(DistDir)\Zip\AlphaFS.%(AlphaFSAssembly.Version).chm" />
<Move SourceFiles="$(MSBuildThisFileDirectory)\Bin\Documentation\AlphaFS.chm" DestinationFiles="$(DistDir)\Zip\AlphaFS.$(AlphaFSFileVersion).chm" />

<Copy SourceFiles="@(BinFiles)" DestinationFiles="@(BinFiles->'$(DistDir)\Zip\Lib\%(Configuration)\%(Filename)%(Extension)')" />
<Copy SourceFiles="@(StaticFiles)" DestinationFolder="$(DistDir)\Zip" />

<Exec Command="PowerShell -command Compress-Archive &quot;$(DistDir)\Zip\*&quot; $(DistDir)\AlphaFS.%(AlphaFSASsembly.Version).zip" />
<Exec Command="PowerShell -command Compress-Archive &quot;$(DistDir)\Zip\*&quot; $(DistDir)\AlphaFS.$(AlphaFSFileVersion).zip" />

</Target>
</Project>
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Changelog
=========

Version 2.1.1 (2016-xx-xx)
Version 2.1.2 (2016-10-30)
-------------

### Bugs Fixed
Expand Down Expand Up @@ -199,7 +199,7 @@ Version 2.0 (2015-01-16)
* Renamed delegate CopyProgressResult to CopyMoveProgressResult.


Version 1.5
Version 1.5 (2014-05-20)
-----------
* New: Various file system objects enumeration methods in Directory class.
* Numerous bugfixes and optimizations
Expand Down

0 comments on commit 948a08b

Please sign in to comment.