Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLSCompliant warnings (CS3021) when building MultiTarget #120

Open
copygirl opened this issue Mar 17, 2019 · 0 comments
Open

CLSCompliant warnings (CS3021) when building MultiTarget #120

copygirl opened this issue Mar 17, 2019 · 0 comments

Comments

@copygirl
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant