diff --git a/src/ComputeSharp.SourceGenerators/AutoConstructorAttributeGenerator.cs b/src/ComputeSharp.SourceGenerators/AutoConstructorAttributeGenerator.cs index 21ea8e27..8d0d96f7 100644 --- a/src/ComputeSharp.SourceGenerators/AutoConstructorAttributeGenerator.cs +++ b/src/ComputeSharp.SourceGenerators/AutoConstructorAttributeGenerator.cs @@ -29,7 +29,7 @@ namespace ComputeSharp.SourceGenerators /// A shader that indicates that a target shader type should get an automatic constructor for all fields. /// [AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)] - internal sealed class AutoConstructorAttribute : Attribute + public sealed class AutoConstructorAttribute : Attribute { } }"; diff --git a/src/ComputeSharp/ComputeSharp.csproj b/src/ComputeSharp/ComputeSharp.csproj index 469903e2..92f63fbb 100644 --- a/src/ComputeSharp/ComputeSharp.csproj +++ b/src/ComputeSharp/ComputeSharp.csproj @@ -11,7 +11,8 @@ + ReferenceOutputAssembly="false" + PrivateAssets="contentfiles;build"/>