Size of an .NET executable

5 messages Options
Embed this post
Permalink
andersoxie-2

Size of an .NET executable

Reply Threaded More More options
Print post
Permalink
Hej

What size can one expect when on ecreate a .NET exe file including EiffelVision2? I took the check_button_select_actions_test example from the Eiffel Vison2 demo program and the exe became about 13 MB (Finalized)

Regards

Anders

Emmanuel Stapf

RE: Size of an .NET executable

Reply Threaded More More options
Print post
Permalink
> What size can one expect when on ecreate a .NET exe file including
> EiffelVision2? I took the check_button_select_actions_test example from
> the Eiffel Vison2 demo program and the exe became about 13 MB (Finalized)

That's sounds about right. You can make your executable smaller by creating a
finalized precompiled of EiffelVision and using it in your project. The other
benefit is that if you have several EiffelVision applications they will share the
same assembly for EiffelVision, so saving a lot more space.

Regards,
Manu

------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------  
andersoxie-2

Re: Size of an .NET executable

Reply Threaded More More options
Print post
Permalink
Hej

I have tried to build precompiled libraries via the precompilation wizard. It fails and gives warnings. Where can I read more about how to precompile.
The wizard does not have options to build a finalized system, or?

Regards

Anders

--- In [hidden email], "Emmanuel Stapf [ES]" <manus@...> wrote:

>
> > What size can one expect when on ecreate a .NET exe file including
> > EiffelVision2? I took the check_button_select_actions_test example from
> > the Eiffel Vison2 demo program and the exe became about 13 MB (Finalized)
>
> That's sounds about right. You can make your executable smaller by creating a
> finalized precompiled of EiffelVision and using it in your project. The other
> benefit is that if you have several EiffelVision applications they will share the
> same assembly for EiffelVision, so saving a lot more space.
>
> Regards,
> Manu
>


Emmanuel Stapf

RE: Re: Size of an .NET executable

Reply Threaded More More options
Print post
Permalink
> I have tried to build precompiled libraries via the precompilation
> wizard. It fails and gives warnings. Where can I read more about how to
> precompile.
> The wizard does not have options to build a finalized system, or?

You do not have to go through the wizard. Open your project without compiling it
first then display the project settings to add the precompiled library you need.
Compile your project. If the precompiled is not yet built, it will built it
automatically including the finalized version, and then compile your project.

Regards,
Manu

------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------  
andersoxie-2

Re: Size of an .NET executable

Reply Threaded More More options
Print post
Permalink
OK

I made as described below, and it now precompiles and then tries to compile my project. I then get several compile errors saying for example "Type is based on unknown class Unknown class EV_CELL".  But the vision library seems to be included in the project. At least if one looks in the Groups window and Libraries the missing classes are listed.

Regards

Anders

--- In [hidden email], "Emmanuel Stapf [ES]" <manus@...> wrote:

>
> > I have tried to build precompiled libraries via the precompilation
> > wizard. It fails and gives warnings. Where can I read more about how to
> > precompile.
> > The wizard does not have options to build a finalized system, or?
>
> You do not have to go through the wizard. Open your project without compiling it
> first then display the project settings to add the precompiled library you need.
> Compile your project. If the precompiled is not yet built, it will built it
> automatically including the finalized version, and then compile your project.
>
> Regards,
> Manu
>