Introduction

Compiling transformation metadata file entityframework.dll could not be found, this issue turns out while our answer indicating entityframework.dll on wrong area. It needs correct to right location. I have clarified all strides one by one after way. Prior I have as of now clarified substance system mistake. Earlier I have already explained entity framework error Store update insert or delete statement affected an unexpected number of rows (0).

Error Description

Error 1 Compiling transformation: Metadata file 'C:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE..\IDE\EntityFramework.dll' could not be found F:\EF\WebApplication1\WebApplication1\Model1.tt 1 1 WebApplication1

Computer Properties

First of all click on your computer properties which directs to your system variable variables.
Advanced System settings
Now you have to select Advanced System settings from left side of system properties
Computer Properties

Advanced System settings

Now you have to select Advanced System settings from left side of system properties.

Advanced System settings

Environment Variables

While you click on Advanced System settings then a new windows will appear, now you have to click on Environment Variables.

Environment Variables

Edit Environment Variables

After click on Environment Variables, now you need to take risk to Edit Environment Variables with following location. One thing keep in mind necessarily put slash “\” at the end otherwise it will come up with the same issue.

Old Location:

C:\Program Files\Common7\Tools\

Corrected Location:

C:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE\

System Properties

Corrected Location

C:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE\

Edit System Properties

Conclusion

The issue compiling transformation metadata file entityframework.dll could not be found resolved with above given steps. If anyone still find same issue let me know.

Suggested Reading