GalFe / lidgren-network-gen3

Automatically exported from code.google.com/p/lidgren-network-gen3
0 stars 0 forks source link

NetIncomingMessage and NetOutgoingMessage gives errors by default. #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a C# project.
2. Include the Lidgren.Network folder in the project.
3. Try and build the project.

What is the expected output? What do you see instead?
I expect no errors. Instead, these 2 pop up:

Missing partial modifier on declaration of type 
'Lidgren.Network.NetOutgoingMessage'; another partial declaration of this type 
exists

Missing partial modifier on declaration of type 
'Lidgren.Network.NetIncomingMessage'; another partial declaration of this type 
exists

What version of the product are you using? On what operating system?
The latest download of the library from this site on Windows 7 x64.

Please provide any additional information below.
If you try to work around the problem by adding the "partial" definition to 
both classes, the following error occurs:

...\NetIncomingMessage.Read.cs  679 Type 'Lidgren.Network.NetIncomingMessage' 
already defines a member called 'ReadTime' with the same parameter types

If you then want to rename, remove or change the function signature of one of 
the ReadTime() functions, it will give a load of AssemblyInfo.cs errors.

Original issue reported on code.google.com by mwbmour...@gmail.com on 11 Oct 2012 at 11:36

GoogleCodeExporter commented 9 years ago
Also, I should have mentioned this:
The Lidgren version is of 2012-10-01.
I am using Visual Studio 2010 Ultimate version 10.0.40219.1 SP1.

I would very much appreciate a workaround, since this prevents me from using 
the library.

Original comment by mwbmour...@gmail.com on 11 Oct 2012 at 11:43

GoogleCodeExporter commented 9 years ago
I cannot reproduce this error. Did you copy your download onto an old version 
of the library?

Original comment by lidg...@gmail.com on 25 Oct 2012 at 8:26

GoogleCodeExporter commented 9 years ago

Original comment by lidg...@gmail.com on 15 Nov 2012 at 8:30