Click here to Skip to main content
14,577,432 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have visual studio 2013 installed on my machine and i am trying to load a project developed on visual studio 2010.The project is built successfully. However, whenever i try to view the master page file in design view it shows the error master page file cannot be loaded....

I googled but no outcome.

Please Help!!

Thanks in advance.
Posted
Comments
stibee 23-Feb-15 5:00am
   
Please show some code
[no name] 23-Feb-15 5:36am
   
can u show ur code ? chk ur master page path.
[no name] 23-Feb-15 6:05am
   
There might be some unfinished tags in your master page code or the file path might be different. Please check the tags once and the file path for loading the pasterpage.
Member 11472226 24-Feb-15 1:17am
   
MasterPageFile="~/UI/WebAPI/Pages/CoreMaster.master" this is the path.....
Rate this:
Please Sign up or sign in to vote.

Solution 1

Just check your masterpage path.It might be the issue.
   
Comments
Member 11472226 24-Feb-15 1:19am
   
MasterPageFile="~/UI/WebAPI/Pages/CoreMaster.master" this is the master page path..... and as per the tree view of solution explorer it is correct...
Rajat_RJT 26-Feb-15 1:59am
   
try 2 solutions-
1. just use master file like- MasterPageFile="CoreMaster.master"
2. open the solution as website(File->Open->Website)

HTH!!
Rate this:
Please Sign up or sign in to vote.

Solution 2

HI,
it is because of loading the lower version 2010 file to higher version 2013 Visual Studio, some of the assemblies are not supported in the 2012 and higher version visual studio.
   
Comments
BloodBaz 10-Oct-17 6:33am
   
which 'file' are you referring to? The Master file or the Page file? Is there a way to determine if this is the case and is there a process that can applied to 'upgrade' which ever files are old?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100