From 4e5ddd99bf636107ad7cceb7980cf6a47e87245d Mon Sep 17 00:00:00 2001 From: Lukas Kurz Date: Tue, 2 May 2023 00:00:19 +0200 Subject: [PATCH] Disable trimming --- Nearby Sharing Windows.sln | 16 +++++++++++++++- .../Nearby Sharing Windows.csproj | 17 ++++++++++------- .../BondSchemaParserGenerator.cs | 18 ++++++++++++++++++ ...rtDev.Microsoft.Bond.SourceGenerator.csproj | 12 ++++++++++++ .../ILLink.Descriptors.xml | 8 ++++++++ 5 files changed, 63 insertions(+), 8 deletions(-) create mode 100644 ShortDev.Microsoft.Bond.SourceGenerator/BondSchemaParserGenerator.cs create mode 100644 ShortDev.Microsoft.Bond.SourceGenerator/ShortDev.Microsoft.Bond.SourceGenerator.csproj create mode 100644 ShortDev.Microsoft.ConnectedDevices/ILLink.Descriptors.xml diff --git a/Nearby Sharing Windows.sln b/Nearby Sharing Windows.sln index 1f12c7d..43e2a5b 100644 --- a/Nearby Sharing Windows.sln +++ b/Nearby Sharing Windows.sln @@ -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 @@ -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 diff --git a/Nearby Sharing Windows/Nearby Sharing Windows.csproj b/Nearby Sharing Windows/Nearby Sharing Windows.csproj index 6e53584..cd76860 100644 --- a/Nearby Sharing Windows/Nearby Sharing Windows.csproj +++ b/Nearby Sharing Windows/Nearby Sharing Windows.csproj @@ -10,15 +10,18 @@ 17 1.4.0-beta true + false - True - False - copyused - r8 - aab - True - False + True + False + false + false + true + r8 + aab + True + False diff --git a/ShortDev.Microsoft.Bond.SourceGenerator/BondSchemaParserGenerator.cs b/ShortDev.Microsoft.Bond.SourceGenerator/BondSchemaParserGenerator.cs new file mode 100644 index 0000000..0cbad32 --- /dev/null +++ b/ShortDev.Microsoft.Bond.SourceGenerator/BondSchemaParserGenerator.cs @@ -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) + { + + } +} diff --git a/ShortDev.Microsoft.Bond.SourceGenerator/ShortDev.Microsoft.Bond.SourceGenerator.csproj b/ShortDev.Microsoft.Bond.SourceGenerator/ShortDev.Microsoft.Bond.SourceGenerator.csproj new file mode 100644 index 0000000..de348c1 --- /dev/null +++ b/ShortDev.Microsoft.Bond.SourceGenerator/ShortDev.Microsoft.Bond.SourceGenerator.csproj @@ -0,0 +1,12 @@ + + + + netstandard2.0 + latest + + + + + + + diff --git a/ShortDev.Microsoft.ConnectedDevices/ILLink.Descriptors.xml b/ShortDev.Microsoft.ConnectedDevices/ILLink.Descriptors.xml new file mode 100644 index 0000000..34bb3c0 --- /dev/null +++ b/ShortDev.Microsoft.ConnectedDevices/ILLink.Descriptors.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file