Click here to Skip to main content
15,890,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Error	1	Cannot find type System.Windows.Automation.Peers.FrameworkElementAutomationPeer in module System.Windows.dll.	
test_demo




but when i added this they are saying reference automatically added no nedd of this...

how can fix this?
Posted
Comments
DamithSL 25-Sep-15 3:42am    
System.Windows.Automation.Peers namespace resides in PresentationFramework.dll
[no name] 25-Sep-15 4:46am    
yes its works fine but when i build detecting error

i gave Any CPU option but...
Error 1 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Microsoft.Expression.VisualStudioAutomation", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. test_demo

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900