neo-devpack-dotnet
neo-devpack-dotnet copied to clipboard
nccs 3.3 emitting hidden warnings in code gen file
When I compile the registrar sample with nccs 3.3, there's a bunch of extraneous warnings about using directives in the generated .AssemblyInfo.cs file. It would be great if we didn't emit these warnings on the console
$ dotnet nccs Registrar.cs obj\Debug\net6.0\.NETCoreApp,Version=v6.0.AssemblyAttributes.cs obj\Debug\net6.0\registrar.AssemblyInfo.cs --base-name registrar --debug --no-optimize --no-inline
C:\Users\harry\Source\neo\seattle\samples\registrar-sample\src\obj\Debug\net6.0\.NETCoreApp,Version=v6.0.AssemblyAttributes.cs(2,1): hidden CS8019: Unnecessary using directive.
C:\Users\harry\Source\neo\seattle\samples\registrar-sample\src\obj\Debug\net6.0\.NETCoreApp,Version=v6.0.AssemblyAttributes.cs(3,1): hidden CS8019: Unnecessary using directive.
C:\Users\harry\Source\neo\seattle\samples\registrar-sample\src\obj\Debug\net6.0\registrar.AssemblyInfo.cs(11,1): hidden CS8019: Unnecessary using directive.
C:\Users\harry\Source\neo\seattle\samples\registrar-sample\src\obj\Debug\net6.0\registrar.AssemblyInfo.cs(10,1): hidden CS8019: Unnecessary using directive.
Created C:\Users\harry\Source\neo\seattle\samples\registrar-sample\src\bin\sc\registrar.nef
Created C:\Users\harry\Source\neo\seattle\samples\registrar-sample\src\bin\sc\registrar.manifest.json
Created C:\Users\harry\Source\neo\seattle\samples\registrar-sample\src\bin\sc\registrar.nefdbgnfo
It depends the source code, isn't it?
These warnings are marked as hidden (specifically listed as hidden CS8019). Would be nice if nccs didn't show hidden warnings.