开发者

VS C# 2010, debug(f5) shows older version of code buil(f6) runs correct code

I haven't been able to find a working solution online for this problem. Maybe because I'm using the express edition? But when I for example add a button to my form en press f5 It does not appear. But when building with f6 I works fine.

Does it have anything to do with pointing it in the right direction via "directory's containing source code? ifso where should it point to?

or is it something else alltogether?

hope someone can 开发者_StackOverflow社区help. I've run into other related question from other programmers but without working solutions..

thnx in advance!


Try going to Tools->Options

Then select the Project & Solutions Catagory, find the sub-catagory 'Build and Run' and change the 'Only build startup projects and dependencies on Run' if it's selected.

It might be in a slightly different place, this is the VS2008 location but it is similar.


Try right clicking on the Solution and running the Clean command, then rebuilding:

VS C# 2010, debug(f5) shows older version of code buil(f6) runs correct code

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜