Skip to content

Commit

Permalink
Disable trimming
Browse files Browse the repository at this point in the history
  • Loading branch information
ShortDevelopment committed May 1, 2023
1 parent 36f1457 commit 4e5ddd9
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 8 deletions.
16 changes: 15 additions & 1 deletion Nearby Sharing Windows.sln
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CdpSvcUtil", "utils\CdpSvcU
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{F0E5B489-0FD2-4A7E-B660-C28450479583}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShortDev.Microsoft.ConnectedDevices.Test", "tests\ShortDev.Microsoft.ConnectedDevices.Test\ShortDev.Microsoft.ConnectedDevices.Test.csproj", "{B0DE3385-5FD7-4D05-8296-6E298A3F1BA2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ShortDev.Microsoft.ConnectedDevices.Test", "tests\ShortDev.Microsoft.ConnectedDevices.Test\ShortDev.Microsoft.ConnectedDevices.Test.csproj", "{B0DE3385-5FD7-4D05-8296-6E298A3F1BA2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShortDev.Microsoft.Bond.SourceGenerator", "ShortDev.Microsoft.Bond.SourceGenerator\ShortDev.Microsoft.Bond.SourceGenerator.csproj", "{4480CB98-4FC4-4EF4-B1D3-010ED43B6980}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -152,6 +154,18 @@ Global
{B0DE3385-5FD7-4D05-8296-6E298A3F1BA2}.Release|x64.Build.0 = Release|Any CPU
{B0DE3385-5FD7-4D05-8296-6E298A3F1BA2}.Release|x86.ActiveCfg = Release|Any CPU
{B0DE3385-5FD7-4D05-8296-6E298A3F1BA2}.Release|x86.Build.0 = Release|Any CPU
{4480CB98-4FC4-4EF4-B1D3-010ED43B6980}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4480CB98-4FC4-4EF4-B1D3-010ED43B6980}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4480CB98-4FC4-4EF4-B1D3-010ED43B6980}.Debug|x64.ActiveCfg = Debug|Any CPU
{4480CB98-4FC4-4EF4-B1D3-010ED43B6980}.Debug|x64.Build.0 = Debug|Any CPU
{4480CB98-4FC4-4EF4-B1D3-010ED43B6980}.Debug|x86.ActiveCfg = Debug|Any CPU
{4480CB98-4FC4-4EF4-B1D3-010ED43B6980}.Debug|x86.Build.0 = Debug|Any CPU
{4480CB98-4FC4-4EF4-B1D3-010ED43B6980}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4480CB98-4FC4-4EF4-B1D3-010ED43B6980}.Release|Any CPU.Build.0 = Release|Any CPU
{4480CB98-4FC4-4EF4-B1D3-010ED43B6980}.Release|x64.ActiveCfg = Release|Any CPU
{4480CB98-4FC4-4EF4-B1D3-010ED43B6980}.Release|x64.Build.0 = Release|Any CPU
{4480CB98-4FC4-4EF4-B1D3-010ED43B6980}.Release|x86.ActiveCfg = Release|Any CPU
{4480CB98-4FC4-4EF4-B1D3-010ED43B6980}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
17 changes: 10 additions & 7 deletions Nearby Sharing Windows/Nearby Sharing Windows.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@
<ApplicationVersion>17</ApplicationVersion>
<ApplicationDisplayVersion>1.4.0-beta</ApplicationDisplayVersion>
<UseAndroidCrypto>true</UseAndroidCrypto>
<AndroidErrorOnCustomJavaObject>false</AndroidErrorOnCustomJavaObject>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<EnableLLVM>True</EnableLLVM>
<RunAOTCompilation>False</RunAOTCompilation>
<TrimMode>copyused</TrimMode>
<AndroidLinkTool>r8</AndroidLinkTool>
<AndroidPackageFormat>aab</AndroidPackageFormat>
<AndroidUseAapt2>True</AndroidUseAapt2>
<AndroidCreatePackagePerAbi>False</AndroidCreatePackagePerAbi>
<EnableLLVM>True</EnableLLVM>
<RunAOTCompilation>False</RunAOTCompilation>
<PublishTrimmed>false</PublishTrimmed>
<TrimmerSingleWarn>false</TrimmerSingleWarn>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<AndroidLinkTool>r8</AndroidLinkTool>
<AndroidPackageFormat>aab</AndroidPackageFormat>
<AndroidUseAapt2>True</AndroidUseAapt2>
<AndroidCreatePackagePerAbi>False</AndroidCreatePackagePerAbi>
</PropertyGroup>
<ItemGroup>
<None Remove="Assets\de\Welcome.html" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using Microsoft.CodeAnalysis;
using System;

namespace ShortDev.Microsoft.Bond.SourceGenerator;

[Generator]
public sealed class BondSchemaParserGenerator : ISourceGenerator
{
public void Initialize(GeneratorInitializationContext context)
{

}

public void Execute(GeneratorExecutionContext context)
{

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.5.0" />
</ItemGroup>

</Project>
8 changes: 8 additions & 0 deletions ShortDev.Microsoft.ConnectedDevices/ILLink.Descriptors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<linker>
<assembly fullname="Bond.Attributes" preserve="all" />
<assembly fullname="Bond" preserve="all" />
<assembly fullname="Bond.IO" preserve="all" />
<assembly fullname="Bond.JSON" preserve="all" />
<assembly fullname="Bond.Reflection" preserve="all" />
</linker>

0 comments on commit 4e5ddd9

Please sign in to comment.