If I compile my project directly from the Ranorex IDE, I do not get any errors or warnings.
But when I use the command line to recompile my project at night, using the following command, I get this warning:
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe MyProject.sln
ResolveAssemblyReferences:
Si possible, remappez app.config de l'assembly "Ranorex.Plugin.RawText, Culture=neutral, PublicKeyToken=b798506b574ebc9a" de la version "5.2.2.21596" [] vers la version "5.3.4.25584" [C:\windows\assembly\GAC_MSIL\Ranorex.Plugin.RawText\5.3.4.25584__b798506b574ebc9a\Ranorex.Plugin.RawText.dll] pour résoudre le conflit et ne plus recevoir l'avertissement.
Si possible, remappez app.config de l'assembly "Ranorex.Core, Culture=neutral, PublicKeyToken=b798506b574ebc9a" de la version "5.2.2.21596" [] vers la version "5.3.4.25584" [C:\windows\assembly\GAC_MSIL\Ranorex.Core\5.3.4.25584__b798506b574ebc9a\Ranorex.Core.dll] pour résoudre le conflit et ne plus recevoir l'avertissement.
C:\windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3247: Des conflits entre différentes versions du même assembly dépendant ont été rencontrés. [W:\2015\2015.7\2015.7_GRFM_PAIE_PO\TestsAppro\GRFM_APPRO\GRFM_APPRO.csproj]
(ResolveAssemblyReferences cible) ->
C:\windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3247: Des conflits entre différentes versions du même assembly dépendant ont été rencontrés. [W:\2015\2015.7\2015.7_GRFM_PAIE_PO\TestsAppro\GRFM_APPRO\GRFM_APPRO.csproj]
1 Avertissement(s)
0 Erreur(s)
===========
TRANSLATION
===========
Basically it tells me that I should remap the app.config file from version 5.2.2 to 5.3.4 to resolve the conflict, How can I do that? If I look at the app.config file from the IDE, this is what I see:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
<supportedRuntime version="v2.0.50727"/>
</startup>
<runtime>
<enforceFIPSPolicy enabled="false"/>
</runtime>
</configuration>
BTW, I wish you would add a global SEARCH function on your forum. Right now the search function is limited to the current forum section. When we want to check if a similar question was asked before, we need to go thru all sections one by one to do a global search.
Warning during compile
-
- Certified Professional
- Posts: 74
- Joined: Mon Aug 14, 2006 7:17 pm
- Location: CH
Re: Warning during compile
Hi,
Just remove the old references and re add them (the new once of course). This should solve the problem, because your project file has some old references, and you are using an newer version of Ranorex.
Regards
Dan
Just remove the old references and re add them (the new once of course). This should solve the problem, because your project file has some old references, and you are using an newer version of Ranorex.
Regards
Dan