lextudio / sharpsnmplib

Sharp SNMP Library- Open Source SNMP for .NET
https://sharpsnmp.com
MIT License
356 stars 152 forks source link

Build fails on version d6b712888a8d (Nov 29th 2010) #666

Closed lextudio-support closed 2 hours ago

lextudio-support commented 2 hours ago

Hi there

I've downloaded the current build as at 29th Nov 2010 and the build fails due to 889 errors in the Test project and a number of errors in the VB.NET test projects.

I'm not bothered about the VB.NET projects (I'm a C# guy) and I assume this is just the library source getting out of step with the core Test project and the VB.Net projects. Is this correct, or would you have expected this all to build first time?

This is with VS2010 on x64 Win7, with NUnit 2.5.3 installed.

Thanks,

Scott

Original Reported Date: 2010-12-02T13:17:49.827-08:00 Original CodePlex Discussion Thread ID: 236928

lextudio-support commented 2 hours ago

Copied from CodePlex without authors:

I'm working on revisions based off that changeset and I'm only getting build errors in the VB.NET stuff. I'm mainly working in a different solution using just the SharpSnmpLib, SharpSnmpLib.Mib and Tests projects and those all compile fine.

VS2010 on WinXP with NUnit 2.5.8.

--
Wim

Original Posted Date: 2010-12-02T14:08:47.123-08:00

lextudio-support commented 2 hours ago

Copied from CodePlex without authors:

Hmmm... so your test project builds ok? What version of NUnit do you have installed?

Scott

Original Posted Date: 2010-12-02T16:26:00.617-08:00

lextudio-support commented 2 hours ago

Copied from CodePlex without authors:

NUnit 2.5.8.

But looking at the Tests project it's not referencing the system library at all, it's referencing nunit.framework v2.5.0.9122 located at <project folder>\lib\nunit.framework.dll, so what version you have installed shouldn't affect the build process.

What sort of errors are you getting when you try and build the Tests project?

--
Wim

Original Posted Date: 2010-12-02T16:44:14.477-08:00

lextudio-support commented 2 hours ago

Copied from CodePlex without authors:

Actually, have you run prepare.bat? That gets the signing key ready so that the Tests project can access the internals of the SharpSnmp and SharpSnmp.Mib projects. If you haven't then one of the first few lines from the build output will start with

error CS1548: Cryptographic failure while signing assembly

and the SharpSnmp project will fail building.

--
Wim

Original Posted Date: 2010-12-02T16:50:24.937-08:00

lextudio-support commented 2 hours ago

Copied from CodePlex without authors:

Hi Scott,

You may try out what Wim suggested. We have a doc available,

http://sharpsnmplib.codeplex.com/wikipage?title=References%20on%20building%20from%20source%20code&referringTitle=References

If you still get errors, please paste the error messages. No error message, no answer can be provided.

Regards,

Lex

Original Posted Date: 2010-12-03T05:04:31.753-08:00

lextudio-support commented 2 hours ago

Marked as Answer Date: 2013-10-06T21:22:00.89-07:00