Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit da6ef3e

Browse files
authored
Merge branch 'master' into fixes/1666-filter-pr-solution-explorer
2 parents e9b547a + d308872 commit da6ef3e

File tree

7 files changed

+8
-16
lines changed

7 files changed

+8
-16
lines changed

src/GitHub.Exports/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
55
[assembly: AssemblyTitle("GitHub.Exports")]
66
[assembly: AssemblyDescription("GitHub interfaces for mef exports")]
77
[assembly: Guid("9aea02db-02b5-409c-b0ca-115d05331a6b")]
8-
[assembly: InternalsVisibleTo("MetricsTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c1a49bb6a01873a4e5434cbaa9993f5a75d3ba66fecfff4d85066c7094913d43f6f9bb706d2eb65f4990a7adfe7321e120ba8be5a8367fc5551c0a6eeb4850c5646377d314142abe69a5fb8ec0957a63ba5893901adb5b4cf0eb7f7e5861376e0cb4fd975576094b2fb4843df9c186eb17232365291b93e17f5e2b6cc1cda2c2")]

src/GitHub.Exports/Services/MetricsService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,15 @@ public Task SendOptIn()
9999
*/
100100
}
101101

102-
internal static StringContent SerializeRequest(UsageModel model)
102+
public static StringContent SerializeRequest(UsageModel model)
103103
{
104104
var serializer = new SimpleJsonSerializer();
105105
var dictionary = new Dictionary<string, object>
106106
{
107107
{ToJsonPropertyName("Dimensions"), ToModelDictionary(model.Dimensions) },
108108
{ToJsonPropertyName("Measures"), ToModelDictionary(model.Measures) }
109109
};
110+
110111
return new StringContent(serializer.Serialize(dictionary), Encoding.UTF8, "application/json");
111112
}
112113

test/MetricsTests/MetricsServer/MetricsServer.csproj

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@
3939
<StartupObject />
4040
</PropertyGroup>
4141
<PropertyGroup>
42-
<SignAssembly>true</SignAssembly>
42+
<SignAssembly>false</SignAssembly>
4343
</PropertyGroup>
4444
<PropertyGroup>
45-
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
45+
<AssemblyOriginatorKeyFile>
46+
</AssemblyOriginatorKeyFile>
4647
</PropertyGroup>
4748
<ItemGroup>
4849
<Reference Include="Nancy, Version=1.4.1.0, Culture=neutral, processorArchitecture=MSIL">
@@ -75,7 +76,6 @@
7576
</ItemGroup>
7677
<ItemGroup>
7778
<None Include="App.config" />
78-
<None Include="key.snk" />
7979
<None Include="packages.config" />
8080
</ItemGroup>
8181
<ItemGroup>
@@ -85,13 +85,6 @@
8585
</ProjectReference>
8686
</ItemGroup>
8787
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
88-
<Import Project="..\..\..\packages\StrongNamer.0.0.6\build\StrongNamer.targets" Condition="Exists('..\..\..\packages\StrongNamer.0.0.6\build\StrongNamer.targets')" />
89-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
90-
<PropertyGroup>
91-
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
92-
</PropertyGroup>
93-
<Error Condition="!Exists('..\..\..\packages\StrongNamer.0.0.6\build\StrongNamer.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\StrongNamer.0.0.6\build\StrongNamer.targets'))" />
94-
</Target>
9588
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
9689
Other similar extension points exist, see Microsoft.Common.targets.
9790
<Target Name="BeforeBuild">
-596 Bytes
Binary file not shown.

test/MetricsTests/MetricsServer/packages.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
<packages>
33
<package id="Nancy" version="1.4.1" targetFramework="net461" />
44
<package id="Nancy.Hosting.Self" version="1.4.1" targetFramework="net461" />
5-
<package id="StrongNamer" version="0.0.6" targetFramework="net461" />
65
</packages>

test/MetricsTests/MetricsTests/MetricsTests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@
3939
<WarningLevel>4</WarningLevel>
4040
</PropertyGroup>
4141
<PropertyGroup>
42-
<SignAssembly>true</SignAssembly>
42+
<SignAssembly>false</SignAssembly>
4343
</PropertyGroup>
4444
<PropertyGroup>
45-
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
45+
<AssemblyOriginatorKeyFile>
46+
</AssemblyOriginatorKeyFile>
4647
</PropertyGroup>
4748
<ItemGroup>
4849
<Reference Include="nunit.framework, Version=3.9.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
@@ -69,7 +70,6 @@
6970
<Compile Include="Properties\AssemblyInfo.cs" />
7071
</ItemGroup>
7172
<ItemGroup>
72-
<None Include="key.snk" />
7373
<None Include="packages.config" />
7474
</ItemGroup>
7575
<ItemGroup>
-596 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)