diff --git a/DllImportGenerator/DllImportGenerator/DllImportGenerator.csproj b/DllImportGenerator/DllImportGenerator/DllImportGenerator.csproj index 3409e73485e4..544304fd71a4 100644 --- a/DllImportGenerator/DllImportGenerator/DllImportGenerator.csproj +++ b/DllImportGenerator/DllImportGenerator/DllImportGenerator.csproj @@ -28,8 +28,9 @@ - + + @@ -44,6 +45,7 @@ ResXFileCodeGenerator Resources.Designer.cs + Microsoft.Interop.Resources.resources diff --git a/DllImportGenerator/DllImportGenerator/GeneratorDiagnostics.cs b/DllImportGenerator/DllImportGenerator/GeneratorDiagnostics.cs index 73e674450514..ed5cf1d66787 100644 --- a/DllImportGenerator/DllImportGenerator/GeneratorDiagnostics.cs +++ b/DllImportGenerator/DllImportGenerator/GeneratorDiagnostics.cs @@ -10,7 +10,7 @@ namespace Microsoft.Interop /// /// Class for reporting diagnostics in the DLL import generator /// - internal class GeneratorDiagnostics : IGeneratorDiagnostics + public class GeneratorDiagnostics : IGeneratorDiagnostics { public class Ids { @@ -153,7 +153,7 @@ public void ReportConfigurationNotSupported( /// Method with the parameter/return /// Type info for the parameter/return /// [Optional] Specific reason for lack of support - public void ReportMarshallingNotSupported( + void IGeneratorDiagnostics.ReportMarshallingNotSupported( IMethodSymbol method, TypePositionInfo info, string? notSupportedDetails) diff --git a/DllImportGenerator/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj b/DllImportGenerator/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj index 159264372579..02d8201acd88 100644 --- a/DllImportGenerator/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj +++ b/DllImportGenerator/Microsoft.Interop.SourceGeneration/Microsoft.Interop.SourceGeneration.csproj @@ -23,7 +23,6 @@ Designer Resources.Designer.cs ResXFileCodeGenerator - Microsoft.Interop.SourceGenerationResources