CAKE 1.0.0 and VSIX project #3187
-
CAKE 1.0.0 I notice Cake and wanted to try it on a visual studio extension project because it was so simple to use. I got some error so I thought maybe it was something specific to my own project and created a new project from Visual Studio and still got the errors when using using Cake. Note this that it built successfully within Visual Studio. Just create using VSIX template (not empty) and try it out. Note - there is a known issue with VSIX build that was notice on stack overflow but can be solved by turning off the following option Uncheck the “Deploy VSIX content to experimental” in the VSIX tab of your project properties. (this will allow you to build the project) Here is output from my test PS C:\Users\user\source\repos\VSIXProject1> dotnet cake ========================================
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
@HStewartGitHome Can you share the contents of your Alternatively, does the output of any of these commands give you any clues?
|
Beta Was this translation helpful? Give feedback.
-
Ok I included what you ask. I included them as files.. This is was my first attempt at Cake. I am going try a normal (non VSIX) solution soon. |
Beta Was this translation helpful? Give feedback.
-
@HStewartGitHome I get the exact same error, when I run However, building using Something like: MSBuild(
"VSIXProject1/VSIXProject1.sln",
new MSBuildSettings
{
Verbosity = Verbosity.Verbose,
Configuration = configuration,
PlatformTarget = PlatformTarget.MSIL
}); should get you started. |
Beta Was this translation helpful? Give feedback.
@HStewartGitHome I get the exact same error, when I run
dotnet build
on a newly created VISX-Project. It seems that is not Cake specific.However, building using
msbuild
works fine for me. So your build-step should probably utilize theMSBuild
alias instead of theDotNetCoreBuild
alias.Something like:
should get you started.