there is no compatibility with .net 35

Oct 23, 2012 at 4:39 PM


system requeriments says .net 2 compatibility, but I'm working in a project with .net35 and the project not compile because CommandLine has indirect relationship with .net4 (System 4...) (mscorlib 4...) (System.Configuration 4....)


what can I do?


Feb 24, 2013 at 6:14 AM
Check latest compatibility on home (both CodePlex both GitHub).

Now it's NET 3.5 / Mono Profile 2.1.

However until first stable, I will ship only NET4.0 assembly.

Please peek latest sources from GitHub

git clone CommandLine

Change target to NET3.5 and compile it. Care only of main assembly skip the test one.

Did it helped?

In the upcoming stable (or maybe next RC2) I'll ship an assembly for NET3.5.

Have nice day!


PS: If you have problems let me know
Feb 25, 2013 at 12:53 PM
Edited Feb 25, 2013 at 12:53 PM
if you clone the latest repo, committed in this moment, you can
rake build35_msbuild
and in


you'll find a CommandLine.dll signed and compiled against NET35

if this does not help, please let me know

next stable will have a nuget with both version published (and also symbols)


PS/REMARKS: this particular task covers only msbuild on windows, for now
May 23, 2013 at 4:21 PM
I got the 3.5 compatible version to build like this:
(place this in a .bat file)

rd .\BuildResults /S /Q
md .\BuildResults

set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v4.0.30319

call %msBuildDir%\msbuild.exe CommandLine35.csproj /p:Configuration=Release /l:FileLogger,Microsoft.Build.Engine;logfile=Manual_MSBuild_ReleaseVersion_LOG.log
set msBuildDir=

XCOPY .\Bin\Release\NET35*.* .\BuildResults\