CoApp for Visual Studio 2015

Some time ago when CoApp was making its first releases, I helped out as a packager for many open source packages.  Unfortunately CoApp seems to be all but dead, although it seems a few people are still using it.  The latest official CoApp release has a couple of issues, one being a lack of support for Visual Studio 2015.  Over the last couple of days I have made an effort to get my head around the somewhat messy codebase that makes up the CoApp project and get it working for the latest build tools.

Short Version

Grab my (unofficial) updated CoApp release that supports VS2015 here.

Long Version

My fork of CoApp.Powershell is based on the .net 4.5 and the Visual Studio 2015 tool chain, so you will need these installed to build it.  You will also need the Sysinternals Suite added to your path, and WiX 3.9 installed. I built it on Windows 10 with the Windows 10 SDK installed, I'm not sure how things will go on other operating systems (if anyone tries let me know!).  You also need to set the powershell execution policy to unrestricted.

I have setup two example repositories that build and create nuget packages, zlib and libpng (forked from the original CoApp repositories).  My NuGet package feed that has these packages is, note that I haven't actually tried to use them for anything meaningful so if something doesn't work, again please leave a comment.

A couple of notes:

  1. When compiling and debugging your own builds, be sure that the default value of HKLM\Software\Outercurve\CoApp.Powershell\etc\ is set appropriately.
  2. If you want to debug the powershell scripts, instead of attaching the debugger to a powershell process, start powershell from visual studio by setting the project debug action to run C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe  and use noexit -command "& { import-module -name 'E:\coapp.powershell\output\v45\AnyCPU\Release\bin\coapp.powershell.dll'}" as the argument (set for your build location obviously).

| August 30th, 2015 | Posted in Software |

2 Responses to “CoApp for Visual Studio 2015”

  1. edwin martin Says:

    Hi the link to your CoApp version that supports VS2015 does not work the GitHub page is not found, can you send me a link to a copy please. And will Wix 3.11.2 be ok or do i need the Visual Studio extension version? And lastly dare i ask what changes must i do to support VS2019, pretty pretty please i have a new job and this is my task and needless to say its not going well and i need any advice i can get 🙁

  2. Raggles Says:

    Hi, I removed the repo as I didn't think anybody would ever want to use the code again... guess I was wrong! I've put a archive of the code here that will build in vs2019 & .net 4.7.2. But obviously I haven't tested it, and there's no guarantee that it will actually work properly. I'm curious to know what company would want to still be using CoApp given that there are lots of other widely supported package managers for windows these days... good luck

Leave a Reply