Re: [WiX-users] Votive / WiX not releasing handles on extension dlls after build.

2012-05-13 Thread Morten Lemvigh
On 13-05-2012 23:42, Rob Mensching wrote:
> Yeah, pain isn't it. Visual Studio holds lock on MSBuild tasks as well.

!Truly! Have you any experience executing the extension in a new 
separate AppDomain and thereby being able to unload it again? I started 
out but ended up in a dark alley of missing dependencies...

/Morten



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Votive / WiX not releasing handles on extension dlls after build.

2012-05-13 Thread Rob Mensching
Yeah, pain isn't it. Visual Studio holds lock on MSBuild tasks as well.

On Fri, May 11, 2012 at 1:43 AM, Morten Lemvigh <
morten.lemv...@novasoftware.se> wrote:

> When building a setup project using Votive in Visual Studio, a handle is
> kept on any extension dlls even after the build has completed. This
> poses two problems to me:
>
>  1.  Developing extensions is a slow process, because Visual Studio has
> to be restarted every time I have to make a change to the extension. In
> order to release the lock on the extension dll.
>
>  2.  If an extension loads an assembly from the product itself (the
> product being released with the setup project) that assembly is loaded
> into the AppDomain where the extension is running. As a consequence that
> is not released either, after the build has been completed. This means
> the product cannot be rebuild if the setup project has been build
> without restarting Visual Studio.
>
> Is there a way around this and release the locks on the assemblies
> without restarting Visual Studio, or will I have to run WiX manually
> from the command line?
>
> Thanks,
> Morten
>
>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Votive / WiX not releasing handles on extension dlls after build.

2012-05-11 Thread Morten Lemvigh
When building a setup project using Votive in Visual Studio, a handle is 
kept on any extension dlls even after the build has completed. This 
poses two problems to me:

  1.  Developing extensions is a slow process, because Visual Studio has 
to be restarted every time I have to make a change to the extension. In 
order to release the lock on the extension dll.

  2.  If an extension loads an assembly from the product itself (the 
product being released with the setup project) that assembly is loaded 
into the AppDomain where the extension is running. As a consequence that 
is not released either, after the build has been completed. This means 
the product cannot be rebuild if the setup project has been build 
without restarting Visual Studio.

Is there a way around this and release the locks on the assemblies 
without restarting Visual Studio, or will I have to run WiX manually 
from the command line?

Thanks,
Morten



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users