You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
.The text was updated successfully, but these errors were encountered: