Home CatPaw Rumors: A Quick Way to Build Against .NET 4
Post
Cancel

CatPaw Rumors: A Quick Way to Build Against .NET 4

Starting from 5.0 release, you can build #SNMP thing against .NET 4 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

    1
    
    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.

This post is licensed under CC BY 4.0 by the author.
Advertisement

No More Comments on This Blog

CatPaw Rumors: Post Release Summary, Part II

Comments powered by Disqus.