How to include dependencies in Cake Addin? Dll not found when running task #3885
-
I have a Cake addin I have been working on to try and set AssemblyInfo.cs and csproj properties https://github.com/Toyonut/Cake.AssemblyInfoSetter. I am dealing with an issue of getting file locks when trying to use a regex replace to set assemblyinfo.cs properties running Cake under Jenkins. I thought it would be good to try and write an addin and have something like Polly retry the file save operation. I did a dotnet pack in the build.cake and uploaded the resulting nupkg to our internal package repo. It gets restored by the Cake script but then fails with an error similar to unable to find Polly.dll. What is the recommended way to include referenced DLLs in the nupkg file? Is there a different way I should be approaching this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There are two possible options:
|
Beta Was this translation helpful? Give feedback.
There are two possible options: