there is no compatibility with .net 35

Oct 23, 2012 at 3:39 PM

Hi,

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?

 

Coordinator
Feb 24, 2013 at 5: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 https://github.com/gsscoder/commandline 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!

Giacomo

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

.\build\out\NET35

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)

Giacomo

PS/REMARKS: this particular task covers only msbuild on windows, for now
May 23, 2013 at 3: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\