Cant able to edit .net souce code.
-
Hello Friends.. I have one website(asp.net with C#) which have .csproj file. when i open that website it cant convert that website to compatible version until i remove that .csprob file. If i remove the file and open the website than it runs cool but it puts me in one trouble in which i cant able to edit the code. Can any one help me regarding this?? this is very urgent for me.... plz reply ASAP....... thanks in advance KIRANKUMAR ROY. +91-9998847534 kirankumar.roy@gmail.com
-
Hello Friends.. I have one website(asp.net with C#) which have .csproj file. when i open that website it cant convert that website to compatible version until i remove that .csprob file. If i remove the file and open the website than it runs cool but it puts me in one trouble in which i cant able to edit the code. Can any one help me regarding this?? this is very urgent for me.... plz reply ASAP....... thanks in advance KIRANKUMAR ROY. +91-9998847534 kirankumar.roy@gmail.com
Hi Raviraj, Delete that .csproj file. Go to Visual Studio or Visual WebDeveloper Express (whatever you are using). There Go File-> Open Website. Then Browse your website folder (the one having web.config on root). Open the website. Try this. This May work. Thanks, Padmanabh
-
Hi Raviraj, Delete that .csproj file. Go to Visual Studio or Visual WebDeveloper Express (whatever you are using). There Go File-> Open Website. Then Browse your website folder (the one having web.config on root). Open the website. Try this. This May work. Thanks, Padmanabh
Hi Padmanabh I am very thank ful for your reply. I have tried this before. it will allow me to open website But actual problem is when i edit some code and try to debug than it will not allow me. It not give error or message. It simply debug the line which are previously located on my break point. suppose i have below code 1 switch (selectedRole) 2 { 3 case (0): 4 // undefined 5 break; 6 case (1): 7 // member 8 viewControls(false, true, false, false); 9 break; 10 case (2): 11 case (3): 12 case (4): 13 // admin, financial controller & marketing manager 14 viewControls(true, false, false, false); 15 break; 16 } now if i remove the case 2 and 3 from above switch and put new code than it will debug above one only.
-
Hello Friends.. I have one website(asp.net with C#) which have .csproj file. when i open that website it cant convert that website to compatible version until i remove that .csprob file. If i remove the file and open the website than it runs cool but it puts me in one trouble in which i cant able to edit the code. Can any one help me regarding this?? this is very urgent for me.... plz reply ASAP....... thanks in advance KIRANKUMAR ROY. +91-9998847534 kirankumar.roy@gmail.com
-
Hi Padmanabh I am very thank ful for your reply. I have tried this before. it will allow me to open website But actual problem is when i edit some code and try to debug than it will not allow me. It not give error or message. It simply debug the line which are previously located on my break point. suppose i have below code 1 switch (selectedRole) 2 { 3 case (0): 4 // undefined 5 break; 6 case (1): 7 // member 8 viewControls(false, true, false, false); 9 break; 10 case (2): 11 case (3): 12 case (4): 13 // admin, financial controller & marketing manager 14 viewControls(true, false, false, false); 15 break; 16 } now if i remove the case 2 and 3 from above switch and put new code than it will debug above one only.
Hi Raviraj, Strange. I didnt face such behaviour in past. Well, do one thing. If your Website does not have huge number of files then create a new Website project and add your old files one by one. Then try to build the complete website and check what happens. Thanks, Padmanabh
-
Its not a good idea to put your personal details on a forum where everyone can see them.
-
Hi Raviraj, Strange. I didnt face such behaviour in past. Well, do one thing. If your Website does not have huge number of files then create a new Website project and add your old files one by one. Then try to build the complete website and check what happens. Thanks, Padmanabh
-
Hi Padmanabh I have tried this one also. i have created new webpages in my site with same name. it also not working.And my site contain more than 50 pages. So it is difficult to make whole new site. i have very tight dead line. Regards.
Ha Ha Ha No programmer in the world has loose deadlines. Creating the new Web project didnt work. Creating new files in new Web project didnt work. Then I am having a feeling that... May be some of your files have gone corrupt.
-
Ha Ha Ha No programmer in the world has loose deadlines. Creating the new Web project didnt work. Creating new files in new Web project didnt work. Then I am having a feeling that... May be some of your files have gone corrupt.
-
Hi Padmnabh So is there any solution for this.i need to slove this because i dont want to loose my 3rd deadline also. Hope you can understand.
Last thing I can suggest is 1) Create a blank solution. 2)Under it create a new Web Project. 3)The Directory structure will be created. (Have this directory structure seperate from your current structure) 4)Under that copy paste the aspx and aspx.cs files, images files, App_Code files etc. 5)Whatever dll references you have given redo them again in your new Web Project. 6)Do all your web.config coding again either by Configuration tool or by hand. 7)If you have other class liabrary projects for the same Web Project then you have to do the same steps for these projects as well. Build these class liabrary projects individually. 8)Reassign the reference for these projects in your Web Project 9)Build the entire solution and check. If this does not work then only seniors there can help you.