Clean Solution
-
Hi My Friends, In the Microsoft Visual Studio .Net sometimes when you change your source code and run your project the changes not effect. In this cases you should from the Build menu select Clean Solution and run again. My question is : 1. Why ? 2. How can prevent from this action ? Best Regards, Reza Shojaee
-
Hi My Friends, In the Microsoft Visual Studio .Net sometimes when you change your source code and run your project the changes not effect. In this cases you should from the Build menu select Clean Solution and run again. My question is : 1. Why ? 2. How can prevent from this action ? Best Regards, Reza Shojaee
1 - I've never seen this happen to a C# solution, but the main reason is that the compiler tries to be intelligent and only build what has changed. If it gets confused, it may not build your code, saw this in VC6 all the time 2 - you can't, if you could, then why would you need the option in the first place.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
1 - I've never seen this happen to a C# solution, but the main reason is that the compiler tries to be intelligent and only build what has changed. If it gets confused, it may not build your code, saw this in VC6 all the time 2 - you can't, if you could, then why would you need the option in the first place.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Thank you I use C# 2005 and sometimes haven't this problem but sometimes have problem, I think perhaps one option exists that prevent intelligent compiling, and I search for this option. Best Regards, Reza Shojaee
-
Hi My Friends, In the Microsoft Visual Studio .Net sometimes when you change your source code and run your project the changes not effect. In this cases you should from the Build menu select Clean Solution and run again. My question is : 1. Why ? 2. How can prevent from this action ? Best Regards, Reza Shojaee
Do you use project or file references for your projects in your solution to reference each other? Project references are preferable. Just a guess though :)
-^-^-^-^-^-^-^- no risk no funk