Permalink
Browse files

MyGet support files/changes

  • Loading branch information...
jamesrcounts committed Nov 27, 2013
1 parent 07c55b3 commit 2639ff0c37ccd4483873e62b31861d33a0384aaf
@@ -241,6 +241,7 @@
</ItemGroup>
<ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
@@ -61,6 +61,9 @@
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
View
@@ -1,11 +1,14 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{CC679657-AF36-470E-9976-BB00E6792F32}"
ProjectSection(SolutionItems) = preProject
ApprovalTests.build = ApprovalTests.build
ApprovalTests.vsmdi = ApprovalTests.vsmdi
ApprovalTests3.vsmdi = ApprovalTests3.vsmdi
LocalTestRun.testrunconfig = LocalTestRun.testrunconfig
MyGet.cmd = MyGet.cmd
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ApprovalTests", "ApprovalTests\ApprovalTests.csproj", "{F70C9A76-F797-4167-8178-14821F8634BC}"
@@ -40,9 +43,6 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ApprovalTests.Xunit", "ApprovalTests.Xunit\ApprovalTests.Xunit.csproj", "{B8AAA028-1890-40B6-84B8-2F46986EEE8C}"
EndProject
Global
GlobalSection(TestCaseManagementSettings) = postSolution
CategoryFile = ApprovalTests3.vsmdi
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
@@ -100,4 +100,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(TestCaseManagementSettings) = postSolution
CategoryFile = ApprovalTests3.vsmdi
EndGlobalSection
EndGlobal
@@ -13,7 +13,7 @@
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(SolutionDir)ApprovalsKeyPair.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>ApprovalsKeyPair.snk</AssemblyOriginatorKeyFile>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
@@ -70,11 +70,11 @@
</Reference>
<Reference Include="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\Common\Microsoft.ReportViewer.Common.dll</HintPath>
<HintPath>..\lib\ReportViewer\Microsoft.ReportViewer.Common.dll</HintPath>
</Reference>
<Reference Include="Microsoft.ReportViewer.WinForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\Common\Microsoft.ReportViewer.WinForms.dll</HintPath>
<HintPath>..\lib\ReportViewer\Microsoft.ReportViewer.WinForms.dll</HintPath>
</Reference>
<Reference Include="NHibernate">
<HintPath>..\packages\NHibernate.3.3.2.4000\lib\Net35\NHibernate.dll</HintPath>
@@ -155,6 +155,7 @@
<Compile Include="Reporters\CruiseControlNetReporter.cs" />
<Compile Include="Reporters\AllFailingTestsClipboardReporter.cs" />
<Compile Include="Reporters\MightyMooseAutoTestReporter.cs" />
<Compile Include="Reporters\MyGetReporter.cs" />
<Compile Include="Reporters\P4MergeReporter.cs" />
<Compile Include="Reporters\P4MergeImageReporter.cs" />
<Compile Include="Reporters\DefaultFrontLoaderReporter.cs" />
@@ -218,6 +219,7 @@
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="ApprovalsKeyPair.snk" />
<None Include="Fody.targets" />
<None Include="packages.config" />
</ItemGroup>
View
Binary file not shown.
@@ -1,13 +1,17 @@
namespace ApprovalTests.Reporters
{
public class DefaultFrontLoaderReporter : FirstWorkingReporter
{
public static readonly DefaultFrontLoaderReporter INSTANCE = new DefaultFrontLoaderReporter();
public class DefaultFrontLoaderReporter : FirstWorkingReporter
{
public static readonly DefaultFrontLoaderReporter INSTANCE = new DefaultFrontLoaderReporter();
public DefaultFrontLoaderReporter():base(TeamCityReporter.INSTANCE, CruiseControlNetReporter.INSTANCE, NCrunchReporter.INSTANCE, MightyMooseAutoTestReporter.INSTANCE)
{
}
}
public DefaultFrontLoaderReporter()
: base(
TeamCityReporter.INSTANCE,
CruiseControlNetReporter.INSTANCE,
NCrunchReporter.INSTANCE,
MightyMooseAutoTestReporter.INSTANCE,
MyGetReporter.INSTANCE)
{
}
}
}
@@ -0,0 +1,20 @@
using System;
using ApprovalTests.Core;
namespace ApprovalTests.Reporters
{
public class MyGetReporter : IEnvironmentAwareReporter
{
public static readonly MyGetReporter INSTANCE = new MyGetReporter();
public void Report(string approved, string received)
{
// does nothing
}
public bool IsWorkingInThisEnvironment(string forFile)
{
return "MyGet".Equals(Environment.GetEnvironmentVariable("BuildRunner"));
}
}
}
@@ -40,7 +40,7 @@
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>$(SolutionDir)ApprovalsKeyPair.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>ApprovalsKeyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Iesi.Collections">
@@ -117,6 +117,7 @@
<Compile Include="Xml\XmlUtils.cs" />
</ItemGroup>
<ItemGroup>
<None Include="ApprovalsKeyPair.snk" />
<None Include="Fody.targets" />
<None Include="packages.config" />
</ItemGroup>
View
Binary file not shown.
@@ -25,6 +25,7 @@
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<MvcProjectUpgradeChecked>true</MvcProjectUpgradeChecked>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
View
@@ -0,0 +1,2 @@
.nuget\NuGet.exe pack ApprovalUtilities\ApprovalUtilities.csproj -OutputDirectory .\ApprovalUtilities -Symbols -Build -Properties Configuration=Debug -Version %PackageVersion%
.nuget\NuGet.exe pack ApprovalTests\ApprovalTests.csproj -OutputDirectory .\ApprovalTests -Symbols -Build -Properties Configuration=Debug -Version %PackageVersion%
View

This file was deleted.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit 2639ff0

Please sign in to comment.