Skip to content

Commit

Permalink
Adding build configurations for CI builds for both package versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Grochocki committed Jan 3, 2017
1 parent 7a2d7f2 commit a27b2ae
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 2 deletions.
19 changes: 19 additions & 0 deletions XamlStyler.Console/XamlStyler.Console.csproj
Expand Up @@ -54,6 +54,25 @@
<StartupObject>
</StartupObject>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseLegacy|AnyCPU' ">
<OutputPath>bin\ReleaseLegacy\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugLegacy|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\DebugLegacy\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="CommandLine, Version=1.9.71.2, Culture=neutral, PublicKeyToken=de6f01bd326f8c32, processorArchitecture=MSIL">
<HintPath>..\packages\CommandLineParser.1.9.71\lib\net45\CommandLine.dll</HintPath>
Expand Down
18 changes: 18 additions & 0 deletions XamlStyler.Core/XamlStyler.Core.csproj
Expand Up @@ -36,6 +36,24 @@
<PropertyGroup>
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseLegacy|AnyCPU' ">
<OutputPath>bin\ReleaseLegacy\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugLegacy|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\DebugLegacy\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="Irony, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ca48ace7223ead47, processorArchitecture=MSIL">
<HintPath>..\packages\Irony.0.9.1\lib\net40\Irony.dll</HintPath>
Expand Down
18 changes: 18 additions & 0 deletions XamlStyler.UnitTests/XamlStyler.UnitTest.csproj
Expand Up @@ -35,6 +35,24 @@
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseLegacy|AnyCPU' ">
<OutputPath>bin\ReleaseLegacy\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugLegacy|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\DebugLegacy\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="Irony, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ca48ace7223ead47, processorArchitecture=MSIL">
<HintPath>..\packages\Irony.0.9.1\lib\net40\Irony.dll</HintPath>
Expand Down
22 changes: 20 additions & 2 deletions XamlStyler.sln
Expand Up @@ -26,29 +26,47 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
DebugLegacy|Any CPU = DebugLegacy|Any CPU
Release|Any CPU = Release|Any CPU
ReleaseLegacy|Any CPU = ReleaseLegacy|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BD2A5B6F-0B1C-4B1D-90AF-707F62BB12C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BD2A5B6F-0B1C-4B1D-90AF-707F62BB12C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BD2A5B6F-0B1C-4B1D-90AF-707F62BB12C0}.DebugLegacy|Any CPU.ActiveCfg = DebugLegacy|Any CPU
{BD2A5B6F-0B1C-4B1D-90AF-707F62BB12C0}.DebugLegacy|Any CPU.Build.0 = DebugLegacy|Any CPU
{BD2A5B6F-0B1C-4B1D-90AF-707F62BB12C0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BD2A5B6F-0B1C-4B1D-90AF-707F62BB12C0}.Release|Any CPU.Build.0 = Release|Any CPU
{BD2A5B6F-0B1C-4B1D-90AF-707F62BB12C0}.ReleaseLegacy|Any CPU.ActiveCfg = ReleaseLegacy|Any CPU
{BD2A5B6F-0B1C-4B1D-90AF-707F62BB12C0}.ReleaseLegacy|Any CPU.Build.0 = ReleaseLegacy|Any CPU
{E5245034-9CD0-4FC6-B141-BAE17BC251A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E5245034-9CD0-4FC6-B141-BAE17BC251A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E5245034-9CD0-4FC6-B141-BAE17BC251A5}.DebugLegacy|Any CPU.ActiveCfg = DebugLegacy|Any CPU
{E5245034-9CD0-4FC6-B141-BAE17BC251A5}.DebugLegacy|Any CPU.Build.0 = DebugLegacy|Any CPU
{E5245034-9CD0-4FC6-B141-BAE17BC251A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E5245034-9CD0-4FC6-B141-BAE17BC251A5}.Release|Any CPU.Build.0 = Release|Any CPU
{E5245034-9CD0-4FC6-B141-BAE17BC251A5}.ReleaseLegacy|Any CPU.ActiveCfg = ReleaseLegacy|Any CPU
{E5245034-9CD0-4FC6-B141-BAE17BC251A5}.ReleaseLegacy|Any CPU.Build.0 = ReleaseLegacy|Any CPU
{5284FEA7-FC0B-45EA-8B16-9DA7F5E6D7B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5284FEA7-FC0B-45EA-8B16-9DA7F5E6D7B6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5284FEA7-FC0B-45EA-8B16-9DA7F5E6D7B6}.DebugLegacy|Any CPU.ActiveCfg = DebugLegacy|Any CPU
{5284FEA7-FC0B-45EA-8B16-9DA7F5E6D7B6}.DebugLegacy|Any CPU.Build.0 = DebugLegacy|Any CPU
{5284FEA7-FC0B-45EA-8B16-9DA7F5E6D7B6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5284FEA7-FC0B-45EA-8B16-9DA7F5E6D7B6}.Release|Any CPU.Build.0 = Release|Any CPU
{5284FEA7-FC0B-45EA-8B16-9DA7F5E6D7B6}.ReleaseLegacy|Any CPU.ActiveCfg = ReleaseLegacy|Any CPU
{5284FEA7-FC0B-45EA-8B16-9DA7F5E6D7B6}.ReleaseLegacy|Any CPU.Build.0 = ReleaseLegacy|Any CPU
{36E90337-BD31-49CF-89E9-7069CB5009C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{36E90337-BD31-49CF-89E9-7069CB5009C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{36E90337-BD31-49CF-89E9-7069CB5009C8}.DebugLegacy|Any CPU.ActiveCfg = Debug|Any CPU
{36E90337-BD31-49CF-89E9-7069CB5009C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{36E90337-BD31-49CF-89E9-7069CB5009C8}.Release|Any CPU.Build.0 = Release|Any CPU
{36E90337-BD31-49CF-89E9-7069CB5009C8}.ReleaseLegacy|Any CPU.ActiveCfg = Release|Any CPU
{92321883-06AD-4FF8-8B6C-A259D72ED7E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{92321883-06AD-4FF8-8B6C-A259D72ED7E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{92321883-06AD-4FF8-8B6C-A259D72ED7E9}.DebugLegacy|Any CPU.ActiveCfg = DebugLegacy|Any CPU
{92321883-06AD-4FF8-8B6C-A259D72ED7E9}.DebugLegacy|Any CPU.Build.0 = DebugLegacy|Any CPU
{92321883-06AD-4FF8-8B6C-A259D72ED7E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{92321883-06AD-4FF8-8B6C-A259D72ED7E9}.Release|Any CPU.Build.0 = Release|Any CPU
{92321883-06AD-4FF8-8B6C-A259D72ED7E9}.ReleaseLegacy|Any CPU.ActiveCfg = ReleaseLegacy|Any CPU
{92321883-06AD-4FF8-8B6C-A259D72ED7E9}.ReleaseLegacy|Any CPU.Build.0 = ReleaseLegacy|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
19 changes: 19 additions & 0 deletions XamlStyler2.Package/XamlStyler2.Package.csproj
Expand Up @@ -11,6 +11,25 @@
<OldToolsVersion>12.0</OldToolsVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseLegacy|AnyCPU'">
<OutputPath>bin\ReleaseLegacy\</OutputPath>
<DefineConstants>CODE_ANALYSIS;TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<RunCodeAnalysis>true</RunCodeAnalysis>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugLegacy|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\DebugLegacy\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down

0 comments on commit a27b2ae

Please sign in to comment.