-
I'm getting the following error when running a cake script:
This is the output using the I have the following adding and tools:
I'm using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I'm not able to reproduce the issue, first I thought it was a dependency issue but it still installed for me. Script I tried: #addin "nuget:?package=Cake.Docker&version=0.10.0"
#tool "nuget:?package=GitVersion.CommandLine&version=4.0.0"
#tool "nuget:?package=Mono.TextTransform&version=1.0.0"
#addin "nuget:?package=stdole&version=7.0.3303"
#addin "nuget:?package=EnvDTE&version=8.0.2"
Information(typeof(EnvDTE.DTE)); Log using Diagnostic output: That said what are you trying to do with EnvDTE in your Cake script? Might be wrong but my understanding is that it's only supposed to be used within Visual Studio for automating it. Does what your trying to achieve work in i.e. an simple console application? If so could you create a minimal gist and we can see if we can assist why it works in console application but not in cake. |
Beta Was this translation helpful? Give feedback.
-
@devlead actually I need to download the binaries before running a T4 transformation task. I need to reference a dll from a template, and Cake looked the easiest way to locally deploy the package. |
Beta Was this translation helpful? Give feedback.
I'm not able to reproduce the issue, first I thought it was a dependency issue but it still installed for me.
Script I tried:
Log using Diagnostic output:
https://gist.github.com/devlead/c25732c75fdb97c5d2bbf8075ebdfe09
That said what are you trying to do with EnvDTE in your Cake script? Might be wrong but my understanding is that it's only supposed to be used within Visual Studio for automating it.