Errors with "GetAssemblyVersionInfo" task


I have a new version of my web app which runs fine in debug mode locally, but when I try and do a release build I get 2 errors as below:

The “GetAssemblyVersionInfo” task could not be initialized with its input parameters.

The “UseProductVersion” parameter is not supported by the “GetAssemblyVersionInfo” task. Verify the parameter exists on the task, and it is a settable public instance property.

I removed Octopack and installed it again (v3.6.1) on the web project just in case something was wrong there, but the errors persist. Could you please help me with this - what do I need to do to get it working?

With regards, Ian

Hi Ian,

Thanks for reaching out. Could you send me:

  • A full build log
  • The content of your assemblyinfo.cs file.