microsoft / DurableFunctionsMonitor

A monitoring/debugging UI tool for Azure Durable Functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI/CD build script

jvmlet opened this issue · comments

Would you please share your build script ?
Thanks

Thanks, the reason I asked is this, was not aware about <FunctionsInDependencies>true</FunctionsInDependencies> hack.
The way I delivered [FunctionName] to the application from nuget was packaging the source files in nuget and then adding them to Compile build action, my nuspec generation looks like this :

var m = new Manifest(new ManifestMetadata());
             m.Files.Add(new ManifestFile()
                {
                    Source = $"{dir / "**" / "*.cs"}",
                    Target = $"contentFiles/any/any/{apiSpec.Ns}"
                });

               m.Metadata.ContentFiles = new[]
                {
                    new ManifestContentFiles()
                    {
                        Include = "any/any/**/*.cs",
                        BuildAction = "Compile",
                        Flatten = "true",
                        CopyToOutput = "true"
                    }
                };