Frequent Contributor.
Frequent Contributor.
1272 views

framework ".NETFramework,Version=v4.5" were not found error though it is installed in system

Hi All,

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=2.6.0.165, 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.  "

Thanks,

Rony

 

0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.