Build information

Add-in Express™ Support Service
That's what is more important than anything else

Build information
Warnings during build 
Michael Kaden


Guest


Dear Andrei & Dmitry,

During rebuild I get the following warnings. So far they do not seem to be a problem, but could it create problems on different user machines?

What is your advise

WARNING: File 'adxloader64.alera.dll' targeting 'x64' is not compatible with the project's target platform 'x86'

WARNING: The target version of the .NET Framework in the project does not match the .NET Framework launch condition version '4.0.30319

In the project Compile properties I use:
Configuration = all Configurations
Platform Active(Any CPU)

In the Solution Configuration Manager I use:

http://www.alerasoftlib.de/images/Error/ConfigMan.jpg

Thank you and kind regards

Michael
Posted 12 Sep, 2019 05:06:31 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Michael,

Thank you for the detailed description.

WARNING: File 'adxloader64.alera.dll' targeting 'x64' is not compatible with the project's target platform 'x86'


It is a "normal" warning, you can ignore it.

WARNING: The target version of the .NET Framework in the project does not match the .NET Framework launch condition version '4.0.30319


1. Select your setup project in the Visual Studio Solution Explorer.
2. Click the Launch Conditions Editor button in the Solution Explorer toolbar.
3. Select the .NET Framework condition in the opened editor.
4. Update its Version and InstallUrl properties in the Properties window.
Posted 12 Sep, 2019 09:56:37 Top
Michael Kaden


Guest


Dear Dmitry,

thank you for your reply, but where do I find the correct InstallURL (now = http://go.microsoft.com/fwlink/?LinkId=1310009 and which Version to select?

thank you & kind regards

Michael
Posted 16 Sep, 2019 02:24:14 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Michael,

See https://docs.microsoft.com/en-us/dotnet/framework/install/guide-for-developers.


Andrei Smolin
Add-in Express Team Leader
Posted 16 Sep, 2019 05:18:40 Top
Michael Kaden


Guest


Dear Andrei,

thank you very much for your reply.

According to my registry I have Net Framework 4.7.2 installed on my developing machine. But the list in the launch conditions only goes to Version 4.6.1 So do I select 4.6.1?

What happens when a user has for example Net Framework 4.4 installed, will he be prompted to install 4.6.1 if I specify this in launch conditions?

Would it therefore not be better to specify a lower Version to avoid that prompt and live with the warning on building the solution?

I have an InstallURL in my launch conditions as http://go.microsoft.com/fwlink/?LinkId=131000 but that does not lead anywhere. I searched the internet. Would I use https://dotnet.microsoft.com/download/dotnet-framework/net461 for Version 4.6.1?

Thanks' again for you help & kind regards

Michael
Posted 16 Sep, 2019 05:49:29 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Michael,

Please check https://stackoverflow.com/questions/43558607/how-to-add-net-framework-prerequisite-to-setup-install?noredirect=1&lq=1 and https://docs.microsoft.com/en-us/dotnet/framework/deployment/deployment-guide-for-developers#redistributable-packages. Note how developers copy prerequisites from a folder to another folder. On my machine I have three prerequisite folders:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\SDK\Bootstrapper
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper
C:\Program Files (x86)\Microsoft SDKs\ClickOnce Bootstrapper

Visual Studio gets prerequisites from one of them; supposedly from the last one. You can verify this by checking the content of the Bootstrapper folder.


Andrei Smolin
Add-in Express Team Leader
Posted 16 Sep, 2019 06:59:52 Top