Remove unsupported shared projects in crashes
This commit is contained in:
Родитель
01a1b323b6
Коммит
b6efd526c1
|
@ -15,6 +15,10 @@
|
|||
<SubType>Designer</SubType>
|
||||
</TransformFile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Microsoft.AppCenter.Crashes.Shared\**.cs" />
|
||||
<Compile Include="..\Microsoft.AppCenter.Crashes.Shared.Xamarin\**.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<LibraryProjectZip Include="..\..\..\externals\android\appcenter-crashes-release.aar">
|
||||
<Link>Jars\appcenter-crashes-release.aar</Link>
|
||||
|
@ -23,6 +27,4 @@
|
|||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Android\Microsoft.AppCenter.Android.Xamarin.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\Microsoft.AppCenter.Crashes.Shared\Microsoft.AppCenter.Crashes.Shared.projitems" Label="Shared" />
|
||||
<Import Project="..\Microsoft.AppCenter.Crashes.Shared.Xamarin\Microsoft.AppCenter.Crashes.Shared.Xamarin.projitems" Label="Shared" />
|
||||
</Project>
|
|
@ -7,6 +7,10 @@
|
|||
<AndroidGenerateResourceDesigner>false</AndroidGenerateResourceDesigner>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Microsoft.AppCenter.Crashes.Shared\**.cs" />
|
||||
<Compile Include="..\Microsoft.AppCenter.Crashes.Shared.Xamarin\**.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidLibrary Include="..\..\..\externals\android\appcenter-crashes-release.aar">
|
||||
<Link>Jars\appcenter-crashes-release.aar</Link>
|
||||
|
@ -15,6 +19,4 @@
|
|||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Android\Microsoft.AppCenter.Android.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\Microsoft.AppCenter.Crashes.Shared\Microsoft.AppCenter.Crashes.Shared.projitems" Label="Shared" />
|
||||
<Import Project="..\Microsoft.AppCenter.Crashes.Shared.Xamarin\Microsoft.AppCenter.Crashes.Shared.Xamarin.projitems" Label="Shared" />
|
||||
</Project>
|
||||
|
|
|
@ -15,6 +15,10 @@
|
|||
<ObjcBindingApiDefinition Include="ApiDefinition.cs" />
|
||||
<ObjcBindingCoreSource Include="StructsAndEnums.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Microsoft.AppCenter.Crashes.Shared\**.cs" />
|
||||
<Compile Include="..\Microsoft.AppCenter.Crashes.Shared.Xamarin\**.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="$(TargetFramework.EndsWith('iOS'))">
|
||||
<NativeReference Include="..\..\..\externals\apple\ios\AppCenterCrashes.a">
|
||||
<Kind>Static</Kind>
|
||||
|
@ -36,6 +40,4 @@
|
|||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.Xamarin.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\Microsoft.AppCenter.Crashes.Shared\Microsoft.AppCenter.Crashes.Shared.projitems" Label="Shared" />
|
||||
<Import Project="..\Microsoft.AppCenter.Crashes.Shared.Xamarin\Microsoft.AppCenter.Crashes.Shared.Xamarin.projitems" Label="Shared" />
|
||||
</Project>
|
|
@ -17,6 +17,10 @@
|
|||
<ObjcBindingApiDefinition Include="ApiDefinition.cs" />
|
||||
<ObjcBindingCoreSource Include="StructsAndEnums.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Microsoft.AppCenter.Crashes.Shared\**.cs" />
|
||||
<Compile Include="..\Microsoft.AppCenter.Crashes.Shared.Xamarin\**.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="$(TargetFramework.EndsWith('-ios'))">
|
||||
<NativeReference Include="..\..\..\externals\apple\ios\AppCenterCrashes.a">
|
||||
<Kind>Static</Kind>
|
||||
|
@ -38,6 +42,4 @@
|
|||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.Apple\Microsoft.AppCenter.Apple.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\Microsoft.AppCenter.Crashes.Shared\Microsoft.AppCenter.Crashes.Shared.projitems" Label="Shared" />
|
||||
<Import Project="..\Microsoft.AppCenter.Crashes.Shared.Xamarin\Microsoft.AppCenter.Crashes.Shared.Xamarin.projitems" Label="Shared" />
|
||||
</Project>
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
<HasSharedItems>true</HasSharedItems>
|
||||
<SharedGUID>{CAE55C79-1601-400D-86BF-03AB8CC5B8B9}</SharedGUID>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration">
|
||||
<Import_RootNamespace>Microsoft.AppCenter.Crashes</Import_RootNamespace>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="$(MSBuildThisFileDirectory)TestCrashException.cs" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{CAE55C79-1601-400D-86BF-03AB8CC5B8B9}</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
|
||||
<Import Project="Microsoft.AppCenter.Crashes.Shared.Xamarin.projitems" Label="Shared" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
|
||||
</Project>
|
|
@ -1,29 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Microsoft.AppCenter.Crashes
|
||||
{
|
||||
/// <summary>
|
||||
/// Exception type thrown for testing purposes. See <see cref="Crashes.GenerateTestCrash"/>.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class TestCrashException : Exception
|
||||
{
|
||||
const string CrashMessage = "Test crash exception generated by SDK";
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the TestCrashException class with a predefined error message.
|
||||
/// </summary>
|
||||
public TestCrashException() : base(CrashMessage)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Deserialization constructor. Not intended for public use.
|
||||
/// </summary>
|
||||
protected TestCrashException(SerializationInfo info, StreamingContext context) : base(info, context) { }
|
||||
}
|
||||
}
|
|
@ -56,7 +56,7 @@ namespace Microsoft.AppCenter.Crashes
|
|||
/// <summary>
|
||||
/// Gets details specific to Apple devices.
|
||||
/// </summary>
|
||||
/// <value>iOS error report details. <c>null</c> if the OS is not iOS.</value>
|
||||
/// <value>Apple error report details. <c>null</c> if the OS is not iOS/macOS.</value>
|
||||
public AppleErrorDetails AppleDetails { get; }
|
||||
}
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
<HasSharedItems>true</HasSharedItems>
|
||||
<SharedGUID>db5a0b7d-8090-4a0c-97c7-cdf17aacaaf2</SharedGUID>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration">
|
||||
<Import_RootNamespace>Microsoft.AppCenter.Crashes</Import_RootNamespace>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="$(MSBuildThisFileDirectory)AndroidErrorDetails.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)AppleErrorDetails.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Crashes.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)CrashesDelegates.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)ErrorAttachmentLog.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)ErrorReport.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)ErrorReportEventArgs.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)NamespaceDoc.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)UserConfirmation.cs" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>db5a0b7d-8090-4a0c-97c7-cdf17aacaaf2</ProjectGuid>
|
||||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
|
||||
<PropertyGroup />
|
||||
<Import Project="Microsoft.AppCenter.Crashes.Shared.projitems" Label="Shared" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
|
||||
</Project>
|
|
@ -16,9 +16,11 @@
|
|||
<ItemGroup Condition="'$(TargetFramework)' == 'uap10.0.16299'">
|
||||
<TransformFile Include="Properties\Microsoft.AppCenter.Crashes.UWP.rd.xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Microsoft.AppCenter.Crashes.Shared\**.cs" />
|
||||
<Compile Include="..\Microsoft.AppCenter.Crashes.Shared.Windows\**.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.UWP\Microsoft.AppCenter.UWP.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\Microsoft.AppCenter.Crashes.Shared\Microsoft.AppCenter.Crashes.Shared.projitems" Label="Shared" />
|
||||
<Import Project="..\Microsoft.AppCenter.Crashes.Windows.Shared\Microsoft.AppCenter.Crashes.Windows.Shared.projitems" Label="Shared" />
|
||||
</Project>
|
|
@ -1,26 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
<HasSharedItems>true</HasSharedItems>
|
||||
<SharedGUID>3f190edf-f524-4b8d-9031-cd7b045eb6a5</SharedGUID>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration">
|
||||
<Import_RootNamespace>Microsoft.AppCenter.Crashes.Windows.Shared</Import_RootNamespace>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Crashes.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)ErrorAttachmentLog.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)ErrorReport.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Ingestion\Models\AbstractErrorLog.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Ingestion\Models\Binary.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Ingestion\Models\Exception.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Ingestion\Models\HandledErrorLog.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Ingestion\Models\ManagedErrorLog.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Ingestion\Models\StackFrame.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)TestCrashException.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Utils\ErrorExceptionAndBinaries.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Utils\ErrorLogHelper.cs" />
|
||||
<Compile Include="$(MSBuildThisFileDirectory)Utils\IProcessInformation.cs" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>3f190edf-f524-4b8d-9031-cd7b045eb6a5</ProjectGuid>
|
||||
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
|
||||
<PropertyGroup />
|
||||
<Import Project="Microsoft.AppCenter.Crashes.Windows.Shared.projitems" Label="Shared" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
|
||||
</Project>
|
|
@ -3,9 +3,11 @@
|
|||
<PropertyGroup>
|
||||
<TargetFrameworks>netcoreapp3.1;net462;net472;net6.0-windows10.0.17763.0</TargetFrameworks>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Microsoft.AppCenter.Crashes.Shared\**.cs" />
|
||||
<Compile Include="..\Microsoft.AppCenter.Crashes.Shared.Windows\**.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter.WindowsDesktop\Microsoft.AppCenter.WindowsDesktop.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\Microsoft.AppCenter.Crashes.Shared\Microsoft.AppCenter.Crashes.Shared.projitems" Label="Shared" />
|
||||
<Import Project="..\Microsoft.AppCenter.Crashes.Windows.Shared\Microsoft.AppCenter.Crashes.Windows.Shared.projitems" Label="Shared" />
|
||||
</Project>
|
|
@ -1,7 +1,6 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: InternalsVisibleTo("Microsoft.AppCenter.Crashes.Test.Windows, PublicKey=002400000480000094000000060200000024000052534131000400000100010055c4e2f76a6f3430448b1fd5b9ced790181e698a86759ece168bd955efc4297c9f89a303204019a9d2e8e92d204ba87e4825b36f8ba08113dc7297dcebe3d2bc15fabeae1d8c71d69769adedbc37ba7e197efc537cac2d477772ab38c4d4ccee45ddf99ce4343e9b665b663280c4dae2520b508bc7de0faf1978934f094d68e3")]
|
|
@ -0,0 +1,19 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Microsoft.AppCenter.Crashes
|
||||
{
|
||||
[Serializable]
|
||||
public partial class TestCrashException
|
||||
{
|
||||
/// <summary>
|
||||
/// Deserialization constructor. Not intended for public use.
|
||||
/// </summary>
|
||||
protected TestCrashException(SerializationInfo info, StreamingContext context) : base(info, context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
|
@ -3,9 +3,11 @@
|
|||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Microsoft.AppCenter.Crashes.Shared\**.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\AppCenter\Microsoft.AppCenter\Microsoft.AppCenter.csproj" />
|
||||
</ItemGroup>
|
||||
<Target Name="GetPackagingOutputs" />
|
||||
<Import Project="..\Microsoft.AppCenter.Crashes.Shared\Microsoft.AppCenter.Crashes.Shared.projitems" Label="Shared" />
|
||||
</Project>
|
|
@ -1,14 +0,0 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.AppCenter.Crashes
|
||||
{
|
||||
/// <summary>
|
||||
/// Exception type thrown for testing purposes. See <see cref="Crashes.GenerateTestCrash" />.
|
||||
/// </summary>
|
||||
public class TestCrashException : Exception
|
||||
{
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче