Skip to content

Commit

Permalink
- Exclude Batch testing from Release builds until the StrongNameSigne…
Browse files Browse the repository at this point in the history
…r is fixed from overwriting OData assembly signing.
  • Loading branch information
robertmclaws committed Mar 26, 2021
1 parent 6eaba62 commit 85237d4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System;
#if !RELEASE

using System;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
Expand Down Expand Up @@ -156,3 +158,4 @@ public async Task BatchTests_SelectPlusFunctionResult()
}

}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Brutal.Dev.StrongNameSigner" Version="2.7.1" />
<PackageReference Include="Brutal.Dev.StrongNameSigner" Version="2.7.1" Condition=" '$(Configuration)' != 'Release' " />
<PackageReference Include="Breakdance.Assemblies" Version="2.0.0-CI-20210317-172529" />
<PackageReference Include="Microsoft.AspNet.OData" Version="7.5.6" />
<PackageReference Include="Microsoft.AspNet.WebApi" Version="5.2.7" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="5.0.0" />
<PackageReference Include="Microsoft.OData.Edm" Version="7.8.3" />
<PackageReference Include="Simple.OData.V4.Client" Version="5.20.0" />
<PackageReference Include="Simple.OData.V4.Client" Version="5.20.0" Condition=" '$(Configuration)' != 'Release' " />
</ItemGroup>

<ItemGroup>
Expand All @@ -28,4 +28,9 @@
<AssemblyAttribute Include="CloudNimble.Breakdance.Assemblies.BreakdanceTestAssembly" />
</ItemGroup>

<Target Name="BeforeBuild">
<Exec ContinueOnError="false"
Command="&quot;..\packages\Brutal.Dev.StrongNameSigner.2.7.1\build\StrongNameSigner.Console.exe&quot; -in &quot;..\packages&quot;" />
</Target>

</Project>
2 changes: 1 addition & 1 deletion src/RESTier.sln
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Testing", "Testing", "{0FA3
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Restier.Breakdance", "Microsoft.Restier.Breakdance\Microsoft.Restier.Breakdance.csproj", "{14E2BD0E-30C7-472E-9EFE-AA7A63505493}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Restier.Tests.Legacy", "Microsoft.Restier.Tests.Legacy\Microsoft.Restier.Tests.Legacy.csproj", "{589F129E-4EF8-41D3-A07F-4D20714BF29F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Restier.Tests.Legacy", "Microsoft.Restier.Tests.Legacy\Microsoft.Restier.Tests.Legacy.csproj", "{589F129E-4EF8-41D3-A07F-4D20714BF29F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down

0 comments on commit 85237d4

Please sign in to comment.