Skip to content

Commit

Permalink
Merge pull request #24 from ArsenShnurkov/assembly-version-task
Browse files Browse the repository at this point in the history
Assembly version task
  • Loading branch information
ArsenShnurkov authored Jan 21, 2017
2 parents 19c593d + 2f3dcbe commit 92b9ac4
Show file tree
Hide file tree
Showing 27 changed files with 1,307 additions and 236 deletions.
119 changes: 59 additions & 60 deletions mono-packaging-tools.sln
Original file line number Diff line number Diff line change
@@ -1,60 +1,59 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-gitmodules", "mpt-gitmodules\mpt-gitmodules.csproj", "{620A5E2F-F8D3-487C-B52D-C7B69051A0B8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-sln", "mpt-sln\mpt-sln.csproj", "{76939073-0E35-41AC-8DBE-48B999A46A44}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-csproj", "mpt-csproj\mpt-csproj.csproj", "{CF65E2F8-720F-455B-B3D2-89AA5FF8004F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-machine", "mpt-machine\mpt-machine.csproj", "{FCEA0CC0-8C29-4EAA-AB9C-362FC7BF5F7B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8266A819-2E58-4D02-A938-035F8FEF6A20}"
ProjectSection(SolutionItems) = preProject
AssemblyInfo.cs = AssemblyInfo.cs
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-nuget", "mpt-nuget\mpt-nuget.csproj", "{4E519C69-F4AD-4439-B61D-5FC18D6CF835}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-core", "mpt-core\mpt-core.csproj", "{36FB2731-AAFA-4D77-B406-EC3AAEA2995F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-core.tests", "mpt-core.tests\mpt-core.tests.csproj", "{B5CBA982-1BA0-4754-A042-958506478467}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{36FB2731-AAFA-4D77-B406-EC3AAEA2995F}.Debug|x86.ActiveCfg = Debug|Any CPU
{36FB2731-AAFA-4D77-B406-EC3AAEA2995F}.Debug|x86.Build.0 = Debug|Any CPU
{36FB2731-AAFA-4D77-B406-EC3AAEA2995F}.Release|x86.ActiveCfg = Release|Any CPU
{36FB2731-AAFA-4D77-B406-EC3AAEA2995F}.Release|x86.Build.0 = Release|Any CPU
{4E519C69-F4AD-4439-B61D-5FC18D6CF835}.Debug|x86.ActiveCfg = Debug|x86
{4E519C69-F4AD-4439-B61D-5FC18D6CF835}.Debug|x86.Build.0 = Debug|x86
{4E519C69-F4AD-4439-B61D-5FC18D6CF835}.Release|x86.ActiveCfg = Release|x86
{4E519C69-F4AD-4439-B61D-5FC18D6CF835}.Release|x86.Build.0 = Release|x86
{620A5E2F-F8D3-487C-B52D-C7B69051A0B8}.Debug|x86.ActiveCfg = Debug|x86
{620A5E2F-F8D3-487C-B52D-C7B69051A0B8}.Debug|x86.Build.0 = Debug|x86
{620A5E2F-F8D3-487C-B52D-C7B69051A0B8}.Release|x86.ActiveCfg = Release|x86
{620A5E2F-F8D3-487C-B52D-C7B69051A0B8}.Release|x86.Build.0 = Release|x86
{76939073-0E35-41AC-8DBE-48B999A46A44}.Debug|x86.ActiveCfg = Debug|x86
{76939073-0E35-41AC-8DBE-48B999A46A44}.Debug|x86.Build.0 = Debug|x86
{76939073-0E35-41AC-8DBE-48B999A46A44}.Release|x86.ActiveCfg = Release|x86
{76939073-0E35-41AC-8DBE-48B999A46A44}.Release|x86.Build.0 = Release|x86
{CF65E2F8-720F-455B-B3D2-89AA5FF8004F}.Debug|x86.ActiveCfg = Debug|Any CPU
{CF65E2F8-720F-455B-B3D2-89AA5FF8004F}.Debug|x86.Build.0 = Debug|Any CPU
{CF65E2F8-720F-455B-B3D2-89AA5FF8004F}.Release|x86.ActiveCfg = Release|Any CPU
{CF65E2F8-720F-455B-B3D2-89AA5FF8004F}.Release|x86.Build.0 = Release|Any CPU
{FCEA0CC0-8C29-4EAA-AB9C-362FC7BF5F7B}.Debug|x86.ActiveCfg = Debug|x86
{FCEA0CC0-8C29-4EAA-AB9C-362FC7BF5F7B}.Debug|x86.Build.0 = Debug|x86
{FCEA0CC0-8C29-4EAA-AB9C-362FC7BF5F7B}.Release|x86.ActiveCfg = Release|x86
{FCEA0CC0-8C29-4EAA-AB9C-362FC7BF5F7B}.Release|x86.Build.0 = Release|x86
{B5CBA982-1BA0-4754-A042-958506478467}.Debug|x86.ActiveCfg = Debug|Any CPU
{B5CBA982-1BA0-4754-A042-958506478467}.Debug|x86.Build.0 = Debug|Any CPU
{B5CBA982-1BA0-4754-A042-958506478467}.Release|x86.ActiveCfg = Release|Any CPU
{B5CBA982-1BA0-4754-A042-958506478467}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
EndGlobalSection
EndGlobal
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-gitmodules", "mpt-gitmodules\mpt-gitmodules.csproj", "{620A5E2F-F8D3-487C-B52D-C7B69051A0B8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-sln", "mpt-sln\mpt-sln.csproj", "{76939073-0E35-41AC-8DBE-48B999A46A44}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-csproj", "mpt-csproj\mpt-csproj.csproj", "{CF65E2F8-720F-455B-B3D2-89AA5FF8004F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-machine", "mpt-machine\mpt-machine.csproj", "{FCEA0CC0-8C29-4EAA-AB9C-362FC7BF5F7B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8266A819-2E58-4D02-A938-035F8FEF6A20}"
ProjectSection(SolutionItems) = preProject
AssemblyInfo.cs = AssemblyInfo.cs
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-nuget", "mpt-nuget\mpt-nuget.csproj", "{4E519C69-F4AD-4439-B61D-5FC18D6CF835}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-core", "mpt-core\mpt-core.csproj", "{36FB2731-AAFA-4D77-B406-EC3AAEA2995F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mpt-core.tests", "mpt-core.tests\mpt-core.tests.csproj", "{B5CBA982-1BA0-4754-A042-958506478467}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|AnyCPU = Debug|AnyCPU
Release|AnyCPU = Release|AnyCPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{36FB2731-AAFA-4D77-B406-EC3AAEA2995F}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
{36FB2731-AAFA-4D77-B406-EC3AAEA2995F}.Debug|AnyCPU.Build.0 = Debug|Any CPU
{36FB2731-AAFA-4D77-B406-EC3AAEA2995F}.Release|AnyCPU.ActiveCfg = Release|Any CPU
{36FB2731-AAFA-4D77-B406-EC3AAEA2995F}.Release|AnyCPU.Build.0 = Release|Any CPU
{4E519C69-F4AD-4439-B61D-5FC18D6CF835}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
{4E519C69-F4AD-4439-B61D-5FC18D6CF835}.Debug|AnyCPU.Build.0 = Debug|Any CPU
{4E519C69-F4AD-4439-B61D-5FC18D6CF835}.Release|AnyCPU.ActiveCfg = Release|Any CPU
{4E519C69-F4AD-4439-B61D-5FC18D6CF835}.Release|AnyCPU.Build.0 = Release|Any CPU
{620A5E2F-F8D3-487C-B52D-C7B69051A0B8}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
{620A5E2F-F8D3-487C-B52D-C7B69051A0B8}.Debug|AnyCPU.Build.0 = Debug|Any CPU
{620A5E2F-F8D3-487C-B52D-C7B69051A0B8}.Release|AnyCPU.ActiveCfg = Release|Any CPU
{620A5E2F-F8D3-487C-B52D-C7B69051A0B8}.Release|AnyCPU.Build.0 = Release|Any CPU
{76939073-0E35-41AC-8DBE-48B999A46A44}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
{76939073-0E35-41AC-8DBE-48B999A46A44}.Debug|AnyCPU.Build.0 = Debug|Any CPU
{76939073-0E35-41AC-8DBE-48B999A46A44}.Release|AnyCPU.ActiveCfg = Release|Any CPU
{76939073-0E35-41AC-8DBE-48B999A46A44}.Release|AnyCPU.Build.0 = Release|Any CPU
{CF65E2F8-720F-455B-B3D2-89AA5FF8004F}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
{CF65E2F8-720F-455B-B3D2-89AA5FF8004F}.Debug|AnyCPU.Build.0 = Debug|Any CPU
{CF65E2F8-720F-455B-B3D2-89AA5FF8004F}.Release|AnyCPU.ActiveCfg = Release|Any CPU
{CF65E2F8-720F-455B-B3D2-89AA5FF8004F}.Release|AnyCPU.Build.0 = Release|Any CPU
{FCEA0CC0-8C29-4EAA-AB9C-362FC7BF5F7B}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
{FCEA0CC0-8C29-4EAA-AB9C-362FC7BF5F7B}.Debug|AnyCPU.Build.0 = Debug|Any CPU
{FCEA0CC0-8C29-4EAA-AB9C-362FC7BF5F7B}.Release|AnyCPU.ActiveCfg = Release|Any CPU
{FCEA0CC0-8C29-4EAA-AB9C-362FC7BF5F7B}.Release|AnyCPU.Build.0 = Release|Any CPU
{B5CBA982-1BA0-4754-A042-958506478467}.Debug|AnyCPU.ActiveCfg = Debug|Any CPU
{B5CBA982-1BA0-4754-A042-958506478467}.Debug|AnyCPU.Build.0 = Debug|Any CPU
{B5CBA982-1BA0-4754-A042-958506478467}.Release|AnyCPU.ActiveCfg = Release|Any CPU
{B5CBA982-1BA0-4754-A042-958506478467}.Release|AnyCPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
EndGlobalSection
EndGlobal
100 changes: 50 additions & 50 deletions mpt-core.tests/mpt-core.tests.csproj
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B5CBA982-1BA0-4754-A042-958506478467}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>tests</RootNamespace>
<AssemblyName>mpt-core.tests</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\mono.snk</AssemblyOriginatorKeyFile>
<UseMSBuildEngine>false</UseMSBuildEngine>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="nunit.framework">
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyNameInGAC_Test.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\mpt-core\mpt-core.csproj">
<Project>{36FB2731-AAFA-4D77-B406-EC3AAEA2995F}</Project>
<Name>mpt-core</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B5CBA982-1BA0-4754-A042-958506478467}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>tests</RootNamespace>
<AssemblyName>mpt-core.tests</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\mono.snk</AssemblyOriginatorKeyFile>
<UseMSBuildEngine>false</UseMSBuildEngine>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="nunit.framework">
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyNameInGAC_Test.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\mpt-core\mpt-core.csproj">
<Project>{36FB2731-AAFA-4D77-B406-EC3AAEA2995F}</Project>
<Name>mpt-core</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>
21 changes: 21 additions & 0 deletions mpt-core/03_msbuild/ICan.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System.Collections.Generic;
using System.Xml;

public interface IHaveUnderlyingNode
{
XmlNode UnderlyingNode { get; }
}

public interface ICanHaveProperties : IHaveUnderlyingNode
{
}

public interface ICanHaveItems : IHaveUnderlyingNode
{
}

public interface ICanBeConditional
{
string Condition { get; set; }
}

Loading

0 comments on commit 92b9ac4

Please sign in to comment.