Pergunta

I have a LightSwitch HTML client (Visual Studio 2013) which I like to automate deployment using Octopus, but I'm not sure how to get this working.

Octopus is already set up and working for MVC sites, using the Octopack package, but there doesn't seem to be a similar project to add this to for LightSwitch. I've tried the HTMLClient project but the package doesn't get created.

Does anyone know if is this possible or have any suggestions?

Thanks

Foi útil?

Solução

Are you releasing your current MVC nuget packages to Octopus through a build server?

The other alternative is to use NuGet.exe which is a command line tool to create packages (Ocotopack is a wrapper around this).

If you're using something like TeamCity then this is wrapped up in the NuGet Pack runner - it just needs a path to the NuSpec file. If you're not using a build server then you may be able to run some post build command to fire up NuGet.exe. Here's the link to the command line reference for the Pack Command

Also, ensure that you've also got the usual NuSpec definition within your project too.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top