registry - Nant build issue: Failed to initialize the Microsoft .NET compact framework -


i have problems regarding building .net solution handheld device using nant 0.92. solution consists of typical csproj , cab installer (vddproj). target platform .net cf 3.5.

however, if set target platform in script as:

< property name="nant.settings.currentframework" value="netcf-3.5" />

when execute receive error:

target framework not changed. "netcf-3.5" not valid framework identifier.

this means cannot build solutions target platform 3.5. logically, have tried cf 2.0 afterwards:

< property name="nant.settings.currentframework" value="netcf-2.0" />

and receive error

failed initialize 'microsoft .net compact framework 2.0' (netcf-2.0) target framework. registry path not found! - key = 'software\microsoft......'

i have proper sdk installed other posts suggested. also, tried disable antivirus, suggested in similar posts, couldn't find solution.

can give advice, please?

thank in advance. daniel

i know it's bit late suggest you're using nant trigger msbuild.exe. thats we're doing in our ci environment , works perfectly. make sure project smart device project or else won't build correctly. i'm not sure if nant supports cf 3.5 (anymore).


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -