How to resolve conflicts between versions?

Hi all

I have an application that uses the NI VISA drivers.  Recently, I've updated the MAX and drivers NI 488. 2 (I use GPIB) and since them, I get the following warning when I build the application:

No way to solve conflicts between "NationalInstruments.Common.Native, Version = 9.1.40.159, Culture = neutral, PublicKeyToken = dc6ad606294fc298" and "NationalInstruments.Common.Native, Version = 9.0.40.362, Culture = neutral, PublicKeyToken = dc6ad606294fc298". Choose "NationalInstruments.Common.Native, Version = 9.1.40.159, Culture = neutral, PublicKeyToken = dc6ad606294fc298" arbitrarily.

No way to solve conflicts between "NationalInstruments.NiLmClientDLL, Version = 9.1.40.159, Culture = neutral, PublicKeyToken = dc6ad606294fc298" and "NationalInstruments.NiLmClientDLL, Version = 9.0.40.362, Culture = neutral, PublicKeyToken = dc6ad606294fc298". Choose "NationalInstruments.NiLmClientDLL, Version = 9.1.40.159, Culture = neutral, PublicKeyToken = dc6ad606294fc298" arbitrarily.

Consider app.config remapping of Assembly' NationalInstruments.Common.Native, Culture = neutral, PublicKeyToken = dc6ad606294fc298"Version"9.0.40.362"[] to Version"9.1.40.159"[C:\Program NIUninstaller Instruments\MeasurementStudioVS2010\DotNET\Assemblies\Current\NationalInstruments.Common.Native.dll] to solve conflict and get rid of the warning.

Consider app.config remapping of Assembly' NationalInstruments.NiLmClientDLL, Culture = neutral, PublicKeyToken = dc6ad606294fc298"version"9.0.40.362"[C:\Windows\Microsoft.Net\assembly\GAC_MSIL\NationalInstruments.NiLmClientDLL\v4.0_9.0.40.362__dc6ad606294fc298\NationalInstruments.NiLmClientDLL.dll]"9.1.40.159"version [C:\Program NIUninstaller Instruments\MeasurementStudioVS2010\DotNET\Assemblies\Current\NationalInstruments.NiLmClientDLL.dll] to solve conflict and get rid of the warning.

Consider app.config remapping of Assembly' NationalInstruments.Common, Culture = neutral, PublicKeyToken = dc6ad606294fc298"version"9.0.40.362"[C:\Windows\Microsoft.Net\assembly\GAC_MSIL\NationalInstruments.Common\v4.0_9.0.40.362__dc6ad606294fc298\NationalInstruments.Common.dll]"9.1.40.159"version [C:\Program NIUninstaller Instruments\MeasurementStudioVS2010\DotNET\Assemblies\Current\NationalInstruments.Common.dll] to solve conflict and get rid of the warning.

c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.common.targets(1360,9): warning MSB3247: found conflicts between different versions of the same dependent assembly.

The app.config file is essentially empty - just the .net framework SKU is given.

How can I get rid of these questions?

Thank you

Ben

Hi Ben,

The app.config file is the right solution. What is happening is that you have a higher version of NationalInstruments.Common.dll on your system some of the dependencies of your application in such a way in the world were built against. This is quite normal. NationalInstruments.Common.dll is compatible with the to the front, so your application will work very well with a more recent version of the Common (this is the reason why messages are not errors and warnings). The reason for which it was designed this way is common as a component of all the libraries of National Instruments .NET. It contains common features that are universal to all of our libraries. However, each library is built against a particular version of the Common. In many cases, this leads to a scenario where you can use both libraries, such as the world and DAQmx, resting against the different versions of the Common. In this case, you can build your application using the superior version of the Common and everything will work ok because it's compatible to the front.

What that the app.config file is it is for you the application runs using the superior version. He says that all the dependencies that require the common version 9.0.40.362 is better to use 9.1.40.159. You need this because you build your application against this version because some other components require this version (in some cases this may also be because it's the version installed on your development system, but none of your dependencies require it). In this way, when you run the application, dependencies will pick up the 9.1.40.159 version rather than the 9.0.40.362 version (your application can load only one version of an assembly). This is important when running on systems that can have several versions.

I don't know if you have manually created the app.config file or not, but if you double-click the warning in Visual Studio, automatically generates the app.config for you.

Tags: NI Software

Similar Questions

  • my security system says I have to fitrewalls of operation and conflict between them how can I close an and will clearly be my treatment slow exremely (of many gurus aslledged on my computetr)

    my computer is tellking me I have two firewalls running adding that they can / will conflict with each other.  This will slow down the speed of my computer and if so, how do I close one as you can tell I'm learning but too useful? gurus with own ideas thanks bob

    Hello

    Having a firewall protects your computer can cause problems system, slow, etc., such that there is a conflict between them.

    This normally happens if you have an Internet Security Suite, which includes its own firewall, protecting your computer and have Windows Firewall enabled, too.

    What Antivirus program you have installed?

    And what program give you this advice?

    And you are using a 3rd party Firerwall?

    Zone Alarm is an example of a 3rd party firewall.

    You can disable the firewall of a Suite Internet security within this program.

    Here's how to disable the Windows Firewall:

    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-Windows-Firewall-on-or-off

    But before you let do us know what Antivirus you are using to ensure that you receive a message authentic on this firewall problem.

    And you must also have an antivirus installed for the same reasons.

    See you soon.

  • How can I change the Version Code in Flash Android from the Android market app settings?

    I recently tried to update my app on the Android app market and when I downloaded it I got the following message:

    "News of the apk (1000000) VersionCode already exists."

    In Flash Adnroid settings I changed the version label, but that did not help.

    So I have two questions:

    1. How can I change the Version code in Flash Android settings? I changed the version number and the version label, but it does not work.
    2. What is the difference between the version number and version label?

    1.1.0

    That should fix it, you must download the wrong file. I got this error before, by simply changing the flash version number and reexporting solves the problem. Flash can sometimes reroute your destination the exit .apk file folder, when your double apk download check that it has been created when you think it is, best way to do so is to publish and then transfer it, and after download be sure that it has been created a minute ago or so not on 30 March. Also try without the version label, it would be in conflict with something.

  • just downloaded firefox 8 and disabled mcafee site Advisor how to get back to version 7

    just downloaded firefox 8 and it disabled the Advisor site on my mcafee security suite. How to get back to version 7 until the site Advisor is compatible with version 8?

    Although I gave up on it for now, if you don't have a lot of extension, you can run it in Version 8, actually if you ran it 7, you're probably doing something else that activate. As their website says you a version number you suggest to reinstall and restart Firefox twice, see

    I have reactivated it as I had turned it off and it works, guess I'll try it for a few days now that I'm on 8.0. While the difference between what I ran on 7.0.1 this is I have reactivated earlier "McAfee Site Advisor" but then the main reason that I have no problems is that I avoid bad extensions.

    I see that it is not marked as compatible with 8.0 but many of my extensions are not anyway. I have

    extensions.checkCompatibility.8.0 set to false

    and my McAfee Site Advisor is 3.4.0

    The extensions that I use are listed hereand I actually have links with the compatibility reports it for each extension, but were not check things there for several months.

  • How to choose which language version of Windows to use?

    In Finland Toshiba Satellite L670-128 comes with pre-installed Windows 7 Home Premium and the user must be able to choose between versions of Windows in English, Swedish, Finnish, Norwegian and Danish. However, when I started the computer for the first time, he began to make a few final installations and configurations in Swedish. She is most recent asked which language version of Windows, I like to use, so now I have Swedish Windows in my computer. It is however version of Windows I want to use, then, how can I change language of operating system?

    Hello

    As I know you can change the language in Windows 7 Ultimate or business

    http://www.webtlk.com/2009/05/29/how-to-change-language-in-Windows-7/

    http://www.mydigitallife.info/2009/05/28/change-display-language-for-Windows-7-UI-welcome-screen-system-and-new-accounts/

  • How to compare the 2 versions of the same document in Pages?

    How to compare the 2 versions of the same document on Pages?

    There is no OS X Visual tool which can open two Pages document and show the differences between them - other than the human eye.

    What information are you interested in identify as different between the two documents? What specific version of Pages?

  • How to resolve event id 333?

    How to resolve event id 333?

    I have 2 GB of RAM with P4 proc in XP SP2 x 84 machine. How to solve the problem?

    Hello

    I got this very convenient next article...

    Hope will help you.

    Topic: Memory nonpaged or Paged Pool memory is temporarily insufficient. Windows

    XP - an operation of e/s initiated by the registry failed irreparably

    = Connected to the computer and the viwer checked event.
    = Find the id event 6008, 333, 2019 and 2020. These events indicate that there are problems of memory on the server.
    = WE need to follow the below action plan mentioned on the computer.

    NTFS.sys 5.2.37 http://support.microsoft.com/kb/973870 90.4766
    Volsnap.sys http://support.microsoft.com/kb/979457 5.2.3790.4650
    Ntoskrnl.exe http://support.microsoft.com/kb/ 2280732 5.2.3790.4771

    = Couple of reg entries as well.

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Configuration Manager]
    "RegistryLazyFlushInterval' = dword:0000003 C

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Memory Management]
    "DynamicMemory" = DWORD: 00000001
    "PoolUsageMaximum' = dword:00000 028
    "PagedPoolSize" = DWORD

    I recommend you to install the XP SP3 on the computer.

    There's a wonderful article about that:

    http://blogs.technet.com/b/askperf/archive/2007/10/30/troubleshooting-event-ID-333-errors.aspx

  • Printer J4680 and G4050: conflict between g4050 and J4680

    I just bought a new computer and before I have to charge the HP G4050 Scanner slide, I wonder if anyone has had this problem. I already have installed jet J4680 printer.  When I tried to install the G4050 besides the J4680 would not. They seemed like they confilict.  Any help would be good. Thank you

    I just wanted you to know that I installed the slide G4050 scanner and loaded OK. I think I have the Windows 7 resolved the problem of conflict between the two. Thank you.

  • How do I know what version of Media Player is installed?

    original title: version of Windows Media Player?

    I have windows 7 Premium installed on my computer.  How can I tell what version of Windows Media Player I have installed?  I have a new device that requires Windows Media Player 10 or higher to use my new camera, which is an mp3 player.

    Hi Cathy,.

    Thanks for posting your query in Microsoft Community!

    I understand you want to know what version of Windows Media Player you are using. I will help you with that.

    How to determine the version of Windows Media Player

    http://support.Microsoft.com/kb/190990#appliesTo

    Please report if you are still having the problem. I will be happy to provide you with the additional options that you can use to get the problem resolved.

    We can't wait to hear back on your part.

  • Conflicts between the 'Éléments' and 'CC '.

    When installing CC, I came across serious problems. The German support he blames to my network, but this was not true. My admin has discovered that there is a conflict between 'Photoshop Elements' and CC. As a precaution, we also uninstalled 'First 11 Elements'. After the installation of CC has worked well.

    There is of course no need to have 'Éléments' as well as 'CC Photoshop"on a single computer, but for my a few videos YouPorn 'Premiere Elements' was quite enough. Anyone know if it is possible to reinstall 'First Elements 11' on the same computer with 'Photoshop CC' and "Lightroom CC"?

    Thank you and best regards.

    Normally, there is no conflict between different adobe products and versions (except acrobat).

  • How to check latency between the ESX host and SAN

    How to check latency between the ESXi host and SAN

    Hi friend

    Below KB will solve your need:

    VMware KB: Using esxtop to identify problems of performance of storage to ESX / ESXi (several versions)

    Under discussion can help you get more insight:

    Best values LVAD/cmd (ESXTOP)?

    Learn ESXTOP @ latency:

    vCenter and Esxtop to storage i/o bottlenecks to avoid

    Very detailed blog on ESXTOP:

    http://www.yellow-bricks.com/ESXTOP/

  • How to resolve the message "the Installer database is corrupt" when trying to install CS4 on Win 8.1?

    I bought a set of CS4 disks a few years back and have recently bought a new computer. When you try to install CS4 on the new computer, I received an error message saying "the Installer database is corrupt. Please contact Adobe customer support. "Called 'customer service' and after a VERY long period and three transfers, I was told" both worse, we cannot help you. " Maybe download a new copy? "So I did. When you try to install the new download, I got the exact same error message: "Installer database is corrupt. Please contact Adobe customer support. "This seems to be a conflict between the database install CS4 and 8.1 Win. Is this a known issue? How can I fix it? Thanks for any help. ~ Evey

    Error «...» The Installer database is corrupt... "when you install Adobe Creative Suite 4 or point product

  • thumbs.DB conflicts in version control

    Hi 11.1.1.5.0 - adfbc-versioning jdev

    I had a conflict in thumbs.db, shown in the following image:

    http://www.4shared.com/photo/WNdmQf6j/Sps1.html


    Step 1:

    I choose the thumbs.db file and give resolve conflict. two boxes are open

    a: an unexpected error.

    Two: Complete merger

    following image shows that

    http://www.4shared.com/photo/877NOdrP/sps2.html


    Step 2:

    I chose to continue in the box of unexpected behavior, and then click ok.
    the following pictures show that.
    http://www.4shared.com/photo/nupQqKrZ/sps3.html


    Step 3:
    then I click ok the box full of fusion
    http://www.4shared.com/photo/AeT7B_fM/sps5.html


    Step 4:
    then I click on save and Finish button merge.
    then it asks confirmation and save box of fusion that I click on ok.
    http://www.4shared.com/photo/u73vTHSk/sps6.html


    Step 5:
    Once again evil: it displays an unexpected error and I choose to continue
    http://www.4shared.com/photo/PssqeiBW/sps7.html

    Step 6:
    Re-once again, he finishes and record merge request confirmation. I click. Ok
    http://www.4shared.com/photo/wXWOAtXL/sps8.html



    ATLAST I have form as tourniquet process ;) I can't jump from there. and I press ways to escape project close without any waring.

    what I would do. What this thumbs.db?

    ADF 7,.
    cwallet. SSO contains the identification information that you have defined for example db connections and you should not remove it (it will be recreated anyway the next time that you open a connection dialog box of the workspace).
    I do not see records mdsys or mdx (jdev 11.1.1.4.0 or 11.1.2.1.0) they have should be created my your environment. SDM sounds like "Meta Data Service": go on http://www.oracle.com/technetwork/developer-tools/jdev/adfmds-128339.pdf page 28...

    Timo

  • How to keep the 2 versions of a synchronized book?

    I'm working on a project that will be 2 different versions of a book (several docs in a container of book).  The two versions will be very similar, except there will be differences in the text and one of the books will also have some documents not included.

    I'm trying to understand the best way to organize this project.  If we create two different sets of documents, then whenever we do a general change, then do it two times in the two sets of documents, potentially doubling our work.  If we have a set of documents, then we could create two layers in these documents for the difference in the text, but then going questions building the book because the pagination is different between the two books, and going to remember to enable the correct layers in individual documents.

    Someone has had experience with a situation like this, or do you have advice on how we might handle this?

    Thank you.

    Hesadanza3 wrote:

    I'm working on a project that will be 2 different versions of a book (several docs in a container of book).  The two versions will be very similar, except there will be differences in the text and one of the books will also have some documents not included.

    I'm trying to understand the best way to organize this project.  If we create two different sets of documents, then whenever we do a general change, then do it two times in the two sets of documents, potentially doubling our work.  If we have a set of documents, then we could create two layers in these documents for the difference in the text, but then going questions building the book because the pagination is different between the two books, and going to remember to enable the correct layers in individual documents.

    Someone has had experience with a situation like this, or do you have advice on how we might handle this?

    Thank you.

    Have you looked at conditional text?

    Different pagination between versions will always be a problem if the text flow is different. You can manage this with paragraph styles that start at the top of a page, "Resync" the departure of the portions of the documents; However, this can leave awkward spaces. If you just wanted to say that repagination would be necessary to take into account absent or present files-chapters or parts of content, automatic page numbering takes care of itself.

    You will need to remember to toggle a specific condition or set.

    For more information, use Google to use terms like "InDesign tutorial of conditional text" without the quotes.

    HTH

    Kind regards

    Peter

    _______________________

    Peter gold

    Know-how ProServices

  • How place of content between the header and tabs?

    I have the header part which must be constant through the portal but below that I have 3 links
    as I AM an employee, employer, broker...

    which showed that in the homepage above the tabs...
    How can I do this...

    How place of content between the header and tabs...: () kindly help...

    Hey djo
    Try these approaches and see if it works.

    1. in the header Section, page footer you shell header and add a Portlet header. This JSP file associated header Portlet will be all static content in the upper part. In the lower part, add these 3 links say right. Show these links only based on certain properties of the query as isHome. Now for the main book House and another page associate a BackingFile. In this backup file in the lifecycle methods preRender or handlePostBack, get BookManager instance and all pages and see which page is active. For this page, see its page definition label which will be always unique. IF the page def label is like home_page_def (it is the wording of the page def you give to the homepage), then set the value of the key in the request as isHome = true property. The only doubt is after book backingfile is triggered, the header needs to be reloaded, because only then can he pick up the attributes of the request.

    2. create a new portlet as HomePageLinks portlet. Its title property is not Visible and other properties of the UI as NoBorder, etc. NoTheme. The associated JSP will be the 3 links you mentioned fixed right. You can use css styles to make it right. Now dropping this portlet in the header Shell box. You have already HeaderPortlet in the upper part, lower than that, you will have this portlet HomePageLinks. Now associate a backup file for this Portlet show, only if the current active page of books is the home page comparing the label def etc. as mentioned above.

    In both scenarios, only concern is when clicked on different Pages, the entire portal is to be made directly from the header at the top. Only then the backup file will be set the key and the portlet HomePageLinks can show or hide as a result.

    Try to raise an event when the user clicks on the homepage. This port listening for that event can be HomePageLinks Portlet. I guess the event mechanism should work regardless of where the portlet is placed. In the event listner, see if you can show/hide this portlet.

    The only challenge is reloaded must section header whenever you click on a tab.

    Start putting a few files of backup and System.out.printlns to see if the header section gets recharged on, click on the tabs.

    These are just my thoughts on the top of my head. Other users of the forum may have better alternatives or a different version of the above approaches.

    Thank you
    Ravi Jegga

Maybe you are looking for