Monday, March 7, 2016

Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.":null

Create app.config and modify it


 <?xml version="1.0" encoding="utf-8" ?>  
 <configuration>  
  <startup useLegacyV2RuntimeActivationPolicy="true">  
   <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />  
  </startup>  
 </configuration>  



C# print file on LAN Printer

If you want to print any file on network printer then you can try with this code block // Change Default Printer System.Ma...