Why do I receive the warning "The SDK for the 'net-2.0' framework is not available or not configured." when running a delay-sign task in NAnt? -
i'm using nant 0.85 build script. part of script complete signing process of delay-signed assemblies using delay-sign
task.
when script executed on build server, runs without problems.
when run same script on local development machine, warning:
the sdk 'net-2.0' framework not available or not configured. @ nant.core.tasks.externalprogrambase.determinefilepath() @ nant.core.tasks.externalprogrambase.get_programfilename() @ nant.core.tasks.externalprogrambase.prepareprocess(process process) @ nant.core.tasks.externalprogrambase.startprocess() @ nant.core.tasks.externalprogrambase.executetask() @ nant.dotnet.tasks.delaysigntask.executetask() @ nant.core.task.execute() @ nant.core.target.execute() @ nant.core.project.execute(string targetname, boolean forcedependencies) @ nant.core.tasks.calltask.executetask() @ nant.core.task.execute() @ nant.core.target.execute() @ nant.core.project.execute(string targetname, boolean forcedependencies) @ nant.core.project.execute() @ nant.core.project.run()
i'm pretty sure i've got sdk installed visual studio 2008/2010.
why receive error , can diagnose problem further?
the error because didn't have .net 2.0 sdk. assumed sdks installed visual studio, apparently current version is. 2008, that's .net 3.5 sdk, not 2.0 , previous versions aren't provided.
downloading , installing 2.0 sdk microsoft resolved issue.
Comments
Post a Comment