Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Nuget .net 4.6



  • Hi,

    Does the nuget buildmaster extension support .net 4.6? If I try and pack a project that is using c# 6 syntax it does not compile. I've remedied this by first compiling it with the Build MSBuild Project action but it is nice to not have the extra step.

    Product: BuildMaster
    Version: 4.7.4



  • We haven't tested this yet, but I don't see why it shouldn't work. As far as I know NuGet.exe just invokes msbuild itself. It could be because we are including an older version of NuGet.exe in the NuGet extension and using that by default. You can tell it to use a different NuGet.exe by going to the extension configuration page for the NuGet extension and creating a new configuration profile.



  • Hi Dean,

    I actually did test using an external nuget library which was the latest version (3.*). This didn't solve the problem either. Invoking this nuget.exe directly did work correctly to compile c# 6. Are you possible passing in flags by default to nuget to indicate a compilation preference?



  • Here are the commands/switches that would be run ...

    https://github.com/Inedo/bmx-nuget/blob/master/CreatePackage.cs#L83]



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation