When building the Lidgren.Network.MultiTarget project, I currently get tons of warnings like 'NetBitWriter.ReadUInt16(byte[], int, int)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [Lidgren.Network.MultiTarget]
I was able to fix this by adding a file Properties/AssemblyInfo.cs in the MultiTarget project folder with just the line [assembly: System.CLSCompliant(true)].
It might also be worth noting that the auto-generated AssemblyInfo for this project uses the version 1.0.0.0 instead of 2012.1.7.0.
When building the
Lidgren.Network.MultiTarget
project, I currently get tons of warnings like'NetBitWriter.ReadUInt16(byte[], int, int)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute [Lidgren.Network.MultiTarget]
I was able to fix this by adding a file
Properties/AssemblyInfo.cs
in theMultiTarget
project folder with just the line[assembly: System.CLSCompliant(true)]
.It might also be worth noting that the auto-generated AssemblyInfo for this project uses the version
1.0.0.0
instead of2012.1.7.0
.