Skip to content

CAKE 1.0.0 and VSIX project #3187

Answered by nils-a
HStewartGitHome asked this question in Q&A
Discussion options

You must be logged in to vote

@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 the MSBuild alias instead of the DotNetCoreBuild alias.

Something like:

 MSBuild(
    "VSIXProject1/VSIXProject1.sln",
     new MSBuildSettings 
     {
       Verbosity = Verbosity.Verbose,
       Configuration = configuration,
       PlatformTarget = PlatformTarget.MSIL
     });

should get you started.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@HStewartGitHome
Comment options

@nils-a
Comment options

@HStewartGitHome
Comment options

Answer selected by nils-a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3186 on February 23, 2021 17:24.