Starting from 5.0 release, you can build #SNMP thing against .NET simply via command line.
The trick on Windows is like this,
1. Open a Visual Studio 2010 command prompt and navigate to the folder that contains sharpsnmplib.sln.
2. Execute
msbuild sharpsnmplib.sln /p:TargetFrameworkVersion=v4.0
Then all resulting assemblies are linked against .NET 4 version of mscorlib.dll, and so on.
This is much easier than opening all csproj/vbproj files and modifying them. Right?
Of course, this trick applies to our upcoming 6.0 release, HoneyCell.

0 comments:
Post a Comment