WuBuild preferences

Hi,

I'm a WyBuild user since few weeks and it's really a great product ! But now, i would like to optimize my use of wybuild and i look at the preferences, i have two question about that :- i have a project in v2.12 now (i use wybuild since the v2), but the preference in the wybuild project was "framework .net 2.0". What is the impact, if i change this to "framework .net 4.0" (which is the target framework for my software) for the next update ?- why the parameter "optimize with NGEN" isn't check by default ? What is the problem or impact if i check this now ?

Thanks a lot. Gilles

Oops, I answered this yesterday and somehow my post didn't submit. Sorry.

- i have a project in v2.12 now (i use wybuild since the v2), but the preference in the wybuild project was "framework .net 2.0". What is the impact, if i change this to "framework .net 4.0" (which is the target framework for my software) for the next update ?

That's just the version of wyUpdate you'll be including with your app. Either the .NET 2.0 version or the .NET4.0 version. The impact of changing it is the wyUpdate.exe file will be different and the "self update" sites stored in the client.wyc file will be different.

The functionality of both versions is identical.

- why the parameter "optimize with NGEN" isn't check by default ? What is the problem or impact if i check this now ?

NGENing improves performance for some types of apps. Sometimes it's only a negligible performance increase. So test it out and see if it makes your app faster. If it does, enable it. If not, leave it disabled.

Thanks for your answer

> That's just the version of wyUpdate you'll be including with your app. Either the .NET 2.0 version or the .NET4.0 > version. The impact of changing it is the wyUpdate.exe file will be different and the "self update" sites stored in the > client.wyc file will be different.

What is the impact for a customer who update is application with wyUpdate.exe .NET 2.0 if i change this preference for the next update with .NET 4.0 ? wyUpdate.exe will be updated to the .NET 4.0 version ?

Thanks a lot, Gilles

It depends. If your existing users has the .NET 2.0 version of wyUpdate installed then they'll still have the .NET 2.0 version installed even after you changed that setting. There's one exception. That is, when you rebuild wyUpdate (i.e. click the "Build wyUpdate" button again) and include the client.wyc file in your updates, then wyUpdate will self-update to the .NET 4.0 version instead of the .NET 2.0.

Regardless of what you do, switching versions of wyUpdate is a benign operation. Nothing bad happens.

I'm not sure if I'm asking the same question (I think I am) or whether it has been answered (I don't think so) so here goes...

My current product release uses .net 3.5 CP; for a future release we will need to use .net 4.0 Full Profile. Is there a way we can get that dependency updated through wyUpdate, or do I need to get the customer to download/install .net 4.0 separately?

ThanksMarcin

One option is to include a simple "bootstrap" app in the temporary update folder and execute it before or after your update to install the .NET 4.0 framework.