Building .NET 4 projects with Nant

后端 未结 8 1075
感动是毒
感动是毒 2020-12-05 02:09

How do I get nant to build projects that target the .NET 4.0 Framework?

8条回答
  •  攒了一身酷
    2020-12-05 02:39

    I had similar issue for 4.5, this solved my issue:

    http://www.donnfelker.com/nant-sdkinstallroot-has-not-been-set/

    I have a 64 bit machine but .net is installed as 32 bit. The sdkInstallRoot is not able to find the correct path. I checked in my registry editor to find the correct path and replaced the entry in nant.exe.config.

    I replaced:

    
    

    with this:

    
    

提交回复
热议问题