Error with two release note files in a two project solution

Folder structure is as so

SolutionName
-ProjectA
    -ReleaseNotes.txt
-ProjectB
     -ReleaseNotes.txt

octopack params are
/p:RunOctoPack=true;OctoPackPublishPackageToHttp=http://opc-gmtlink:800/nuget/packages;OctoPackPublishApiKey=[KEY];OctoPackReleaseNotesFile=ReleaseNotes.txt

Error generated is
@@@
Element ‘http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd:releaseNotes’ cannot appear more than once if content model type is “all”.
@@@

sorry for formatting issues

@@@
/p:RunOctoPack=true;OctoPackPublishPackageToHttp=http://opc-gmtlink:800/nuget/packages;OctoPackPublishApiKey=[KEY];OctoPackReleaseNotesFile=…\ReleaseNotes.txt
@@@

I’m horrible, the path in that last does NOT contain the ./ its directly in the csproj folder

@@@
/p:RunOctoPack=true;OctoPackPublishPackageToHttp=http://opc-gmtlink:800/nuget/packages;OctoPackPublishApiKey=[KEY];OctoPackReleaseNotesFile=ReleaseNotes.txt
@@@

So this error happens no matter where I put the release note files. I tried to push a single release note file to the .sln level and point the command there but I end up with the same error. its looking like each project adds a release notes node to xml somewhere and thats fails its internal validation…at least that’s what it looks like from a distance.

Hi Paul,

Thanks for getting in touch! It looks like you may have found a bug. I’ve opened an issue here to track it:

As a workaround, you could try editing your .csproj file and adding a property for <OctoPackReleaseNotesFile> set to the file path. This should scope it just to the single project. Not a great solution I know - we’ll try to get a new OctoPack build out soon.

Paul