Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions Samples/SampleApp.Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,3 @@

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("7b4d34d3-0454-4676-8f40-0ee1c01b984f")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
1 change: 1 addition & 0 deletions Samples/SampleApp.Tests/SampleApp.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<Content Include="__TryItOut__.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\..\packages\GitFlowVersionTask.0.2.0\Build\GitFlowVersionTask.targets" Condition="Exists('..\..\packages\GitFlowVersionTask.0.2.0\Build\GitFlowVersionTask.targets') AND $(nCrunch) ==''" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
1 change: 1 addition & 0 deletions Samples/SampleApp.Tests/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="GitFlowVersionTask" version="0.2.0" targetFramework="net40" />
<package id="Microsoft.AspNet.WebApi.Client" version="4.0.30506.0" targetFramework="net40" />
<package id="Microsoft.AspNet.WebApi.Core" version="4.0.30506.0" targetFramework="net40" />
<package id="Microsoft.Net.Http" version="2.0.20710.0" targetFramework="net40" />
Expand Down
12 changes: 0 additions & 12 deletions Samples/SampleApp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,3 @@
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("31ee7421-19f6-40b4-9435-d6413bb9319f")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
1 change: 1 addition & 0 deletions Samples/SampleApp/SampleApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
</Page>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\..\packages\GitFlowVersionTask.0.2.0\Build\GitFlowVersionTask.targets" Condition="Exists('..\..\packages\GitFlowVersionTask.0.2.0\Build\GitFlowVersionTask.targets') AND $(nCrunch) ==''" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
1 change: 1 addition & 0 deletions Samples/SampleApp/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="GitFlowVersionTask" version="0.2.0" targetFramework="net40" />
<package id="Microsoft.AspNet.WebApi.Client" version="4.0.30506.0" targetFramework="net40" />
<package id="Microsoft.AspNet.WebApi.Core" version="4.0.30506.0" targetFramework="net40" />
<package id="Microsoft.Net.Http" version="2.0.20710.0" targetFramework="net40" />
Expand Down
15 changes: 1 addition & 14 deletions TestAssembly/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand All @@ -22,15 +21,3 @@
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("26ee0880-163f-496b-9e49-a18e8deda689")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
1 change: 1 addition & 0 deletions TestAssembly/TestAssembly.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\GitFlowVersionTask.0.2.0\Build\GitFlowVersionTask.targets" Condition="Exists('..\packages\GitFlowVersionTask.0.2.0\Build\GitFlowVersionTask.targets') AND $(nCrunch) ==''" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
1 change: 1 addition & 0 deletions TestAssembly/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="GitFlowVersionTask" version="0.2.0" targetFramework="net40" />
<package id="Microsoft.AspNet.WebApi" version="4.0.30506.0" targetFramework="net40" />
<package id="Microsoft.AspNet.WebApi.Client" version="4.0.30506.0" targetFramework="net40" />
<package id="Microsoft.AspNet.WebApi.Core" version="4.0.30506.0" targetFramework="net40" />
Expand Down
13 changes: 0 additions & 13 deletions TestStack.ConventionTests.Autofac/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,3 @@

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("97020754-a2a1-4ea8-87d4-964795d79d3f")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\GitFlowVersionTask.0.2.0\Build\GitFlowVersionTask.targets" Condition="Exists('..\packages\GitFlowVersionTask.0.2.0\Build\GitFlowVersionTask.targets') AND $(nCrunch) ==''" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
1 change: 1 addition & 0 deletions TestStack.ConventionTests.Autofac/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Autofac" version="3.1.1" targetFramework="net45" />
<package id="GitFlowVersionTask" version="0.2.0" targetFramework="net40" />
</packages>
13 changes: 0 additions & 13 deletions TestStack.ConventionTests.Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,5 @@
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("1a65a30e-e057-4058-a155-7ad12ba91cd2")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

[assembly: ConventionReporter(typeof(HtmlConventionResultsReporter))]
[assembly: ConventionReporter(typeof(MarkdownConventionResultsReporter))]
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\GitFlowVersionTask.0.2.0\Build\GitFlowVersionTask.targets" Condition="Exists('..\packages\GitFlowVersionTask.0.2.0\Build\GitFlowVersionTask.targets') AND $(nCrunch) ==''" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
1 change: 1 addition & 0 deletions TestStack.ConventionTests.Tests/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<package id="ApprovalTests" version="3.0.01" targetFramework="net40" />
<package id="ApprovalUtilities" version="3.0.01" targetFramework="net40" />
<package id="Autofac" version="3.1.1" targetFramework="net40" />
<package id="GitFlowVersionTask" version="0.2.0" targetFramework="net40" />
<package id="NSubstitute" version="1.6.1.0" targetFramework="net40" />
<package id="NUnit" version="2.6.2" targetFramework="net40" />
</packages>
14 changes: 0 additions & 14 deletions TestStack.ConventionTests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,3 @@
// The following GUID is for the ID of the typelib if this project is exposed to COM

[assembly: Guid("ae7bce97-3d40-4d7c-932f-37f1c7b041a2")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
1 change: 1 addition & 0 deletions TestStack.ConventionTests/TestStack.ConventionTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,5 @@
<Target Name="AfterBuild">
<Copy SourceFiles="..\Readme.md" DestinationFiles="$(OutputPath)\Readme.txt" Condition="'$(NCrunch)' != '1'" />
</Target>
<Import Project="..\packages\GitFlowVersionTask.0.2.0\Build\GitFlowVersionTask.targets" Condition="Exists('..\packages\GitFlowVersionTask.0.2.0\Build\GitFlowVersionTask.targets') AND $(nCrunch) ==''" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
<AnalyseExecutionTimes>true</AnalyseExecutionTimes>
<IncludeStaticReferencesInWorkspace>true</IncludeStaticReferencesInWorkspace>
<DefaultTestTimeout>60000</DefaultTestTimeout>
<UseBuildConfiguration />
<UseBuildPlatform />
<ProxyProcessPath />
<UseBuildConfiguration></UseBuildConfiguration>
<UseBuildPlatform></UseBuildPlatform>
<ProxyProcessPath></ProxyProcessPath>
<UseCPUArchitecture>AutoDetect</UseCPUArchitecture>
<MSTestThreadApartmentState>STA</MSTestThreadApartmentState>
<BuildProcessArchitecture>x86</BuildProcessArchitecture>
<AdditionalFilesToInclude>..\packages\GitFlowVersionTask.0.2.0\Build\**.*</AdditionalFilesToInclude>
</ProjectConfiguration>
1 change: 1 addition & 0 deletions TestStack.ConventionTests/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
<packages>
<package id="ApprovalTests" version="3.0.01" targetFramework="net40" />
<package id="ApprovalUtilities" version="3.0.01" targetFramework="net40" />
<package id="GitFlowVersionTask" version="0.2.0" targetFramework="net40" />
<package id="Mono.Cecil" version="0.9.5.4" targetFramework="net40" />
</packages>
40 changes: 40 additions & 0 deletions packages/GitFlowVersionTask.0.2.0/Build/GitFlowVersionTask.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)..\</SolutionDir>
</PropertyGroup>

<UsingTask
TaskName="GitFlowVersionTask.UpdateAssemblyInfo"
AssemblyFile="$(MSBuildThisFileDirectory)..\GitFlowVersionTask.dll" />

<Target Name="UpdateAssemblyInfo"
BeforeTargets="CoreCompile">
<GitFlowVersionTask.UpdateAssemblyInfo
SolutionDirectory="$(SolutionDir)"
ProjectFile="$(ProjectPath)"
SignAssembly="$(SignAssembly)"
CompileFiles ="@(Compile)">
<Output
TaskParameter="AssemblyInfoTempFilePath"
PropertyName="AssemblyInfoTempFilePath" />
</GitFlowVersionTask.UpdateAssemblyInfo>
<Message Text="$(AssemblyInfoTempFilePath)" />

<Message Text="BeforeInjection @(Compile)" />
<ItemGroup>
<Compile Include="$(AssemblyInfoTempFilePath)" />
</ItemGroup>
<Message Text="AfterInjection @(Compile)" />
</Target>

<!--Support for ncrunch-->
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)..\GitFlowVersionTask.dll" />
<None Include="$(MSBuildThisFileDirectory)..\GitFlowVersionTask.pdb" />
</ItemGroup>


</Project>


Binary file not shown.
Binary file not shown.
Binary file not shown.
19 changes: 19 additions & 0 deletions packages/GitFlowVersionTask.0.2.0/GitFlowVersionTask.0.2.0.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>GitFlowVersionTask</id>
<version>0.2.0</version>
<title>GitFlowVersionTask</title>
<authors>NServiceBus Ltd</authors>
<owners>NServiceBus Ltd</owners>
<licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl>
<projectUrl>http://github.com/Particular/GitFlowVersion</projectUrl>
<iconUrl>https://raw.github.com/Particular/GitFlowVersion/master/Icons/package_icon.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Stamps an assembly with git information based on SemVer.</description>
<releaseNotes />
<copyright />
<language>en-AU</language>
<tags>Git Versioning ILWeaving GitFlowVersion GitFlow SemVer Cecil</tags>
</metadata>
</package>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions packages/repositories.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<repository path="..\ConventionTests\packages.config" />
<repository path="..\SampleApp.Tests\packages.config" />
<repository path="..\SampleApp\packages.config" />
<repository path="..\Samples\SampleApp.Tests\packages.config" />
<repository path="..\Samples\SampleApp\packages.config" />
<repository path="..\TestAssembly\packages.config" />
<repository path="..\TestStack.ConventionTests.Autofac\packages.config" />
<repository path="..\TestStack.ConventionTests.Tests\packages.config" />
Expand Down