framework ".NETFramework,Version=v4.5" were not found error though it is installed in system
In Loadrunner 12.5, during compilation I am getting the below error even though I have installed .Net Framework version 4.5 in the system. I checked the Installed programs and .Net V 4.5 was available. Can anyone tell what is the solution for this.
"The reference assemblies for framework ".NETFramework,Version=v4.5" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
o There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Activation, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null", "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. "