Follow by Email

Tuesday, 30 April 2013

Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0'. This can happen if the target framework is not installed or if the framework moniker is incorrectly formatted.

Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0'. This can happen if the target framework is not installed

I faced The Below Problem Few Days Back With The follwing Error .

"Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0'. This can happen if the target framework is not installed or if the framework moniker is incorrectly formatted."


OR

Build Failed Without Errror Description

Solution :


As I as Using XP It was MAX_PATH I just Kept the Path below "240".
Means :-

C://MyProject/Folder/Foder..

The path Should be Under "256 Character".







Example :- C://Project/Myproject/serviceRefernce/Myservice/Mysvc.svc

The complete path is More then 240 char long..
when I was Using Xp this Sucking error Arrived and it used throw error when u used to Properties page of Project.

and some time on running solution


That Solved It.

Hope It Help Somebody.

0 comments:

Post a Comment


                                                            

 
Design by Abhinav Ranjan Sinha