C#项目依据 x86 x64 配置不同的引用


详细内容在微软官网. 以下只是一个实例,亲测可用.

<?xml version="1.0" encoding="utf-8"?>

  
    Debug
    x86
    8.0.30703
    2.0
    {C0B54F6D-B4A5-4E4A-B60F-61AA11C9AD0B}
    WinExe
    Properties
    AvlNet4_12Project1
    AvlNet4_12Project1
    v4.0
    512
    
  
  
    x86
    true
    full
    false
    bin\x86\Debug\
    DEBUG;TRACE
    prompt
    4
    Win32
  
  
    x86
    pdbonly
    true
    bin\x86\Release\
    TRACE
    prompt
    4
    Win32
  
  
    true
    bin\x64\Debug\
    DEBUG;TRACE
    full
    x64
    prompt
    x64
  
  
    bin\x64\Release\
    TRACE
    true
    pdbonly
    x64
    prompt
    x64
  
  
    
      $(AVL_PATH4_12)\bin\$(PlatformCppName)\Avl.Net.dll
      True
    
    
      $(AVL_PATH4_12)\bin\$(PlatformCppName)\Avl.Net.TS.dll
      True
    
    
      $(AVL_PATH4_12)\bin\$(PlatformCppName)\Avl.Net.Designers.dll
      True
    
    
      $(AVL_PATH4_12)\bin\$(PlatformCppName)\Avl.Net.Amr.dll
      True
    
    
      $(AVL_PATH4_12)\bin\$(PlatformCppName)\Genicam.Net.dll
      True
    
    
    
    
    
  
  
    
      Form
    
    
      Form1.cs
    
    
    
    
      Form1.cs
    
    
      ResXFileCodeGenerator
      Resources.Designer.cs
      Designer
    
    
      True
      Resources.resx
      True
    
    
      SettingsSingleFileGenerator
      Settings.Designer.cs
    
    
      True
      Settings.settings
      True
    
  
  
  
    
	xcopy /D /Y "$(AVL_PATH4_12)\bin\$(PlatformCppName)\AVL.dll" "$(TargetDir)"
	xcopy /D /Y "$(AVL_PATH4_12)\bin\$(PlatformCppName)\Genicam_Kit.dll" "$(TargetDir)"
	
  
  

C