Open zezba9000 opened 8 months ago
I need to ask, where is the invalid C# code coming from? It looks like the main CSCore assembly, if so, it might be from a much older commit. Because the current commit (as well as the netstandard branch), don't seem this issue (unless I overlooked it).
From what I can see in your code, each of them are missing these in them: public static readonly Guid
and new Guid()
For example
Unknown = 0x0000,
Needs to be
public static readonly Guid Unknown = new Guid((short)AudioEncoding.Unknown & 0x0000FFFF, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
I really hope this info helps! I've also got a fork with a more updated .NET 8 branch on my repo as well.
Today I was working on sound files and saw cscore. I tried to build it, but it refused to build it. Clean rebuild did not help. There are over 35 errors, but I was not able to built a single program. Kindly help agha.khan@hotmail.com
Doesn't build with some invalid C# code