Is it possible to build wrap from VS?

7 views
Skip to first unread message

Konstantin

unread,
Oct 8, 2011, 1:04:57 PM10/8/11
to openwra...@googlegroups.com
What I'd like to achieve:
1. Application plugins are provided as wraps
2. Plugin VS solution differs from application solution 
3. When plugin is build and ran from VS (F5) the wrap is generated and application executable is executed with command line param "-withPlugin plugin-1.0.0.0.wrap"

problem is in building wrap on F5 key press in VS...

Alternatively I could make application to build wrap when passed smth like "-withPlugin c:/plugin/plugin.wrapdesc". Application should build wrap at run time in this case. 
So the hint on building package at run time will also help. (i believe Process.Start(new ProcessStartInfo("o", "build-wrap -quiet -incremental -debug") is not the right way)

Sebastien Lambla

unread,
Oct 9, 2011, 11:42:38 AM10/9/11
to openwra...@googlegroups.com

The way we’ve done that in the past is simply to use a custom shell that reuses http://github.com/openrasta/openwrap-bootstrap, and locate the packages and find an entrypoint in them and run the entrypoint. The F5 experience is difficult to customize without a custom project type, which requires admin rights to install and is a whole lot of work for very little benefit, so we simply have a class lib with a custom action on F5 that calls the shell, which lets you debug the package in one pop (win!)

Konstantin

unread,
Oct 12, 2011, 5:38:02 AM10/12/11
to openwra...@googlegroups.com
Thanks, will try this
Reply all
Reply to author
Forward
0 new messages