Why isn't my revised .NET Windows Form not showing new changes after running the program again?
In my desktop application, previously I have designed the form and ten execute it but then I went for slight changes in my form.But even afte开发者_JAVA百科r changing, while I run the program now the previously created form is getting displayed.
What might be the problem...could anyone help me?
Try:
Delete all the \BIN directories in your solution
Build->Clean project
Rebuild All
Another place to check is the solution build configuration.
Make sure your project is being built. If it is not being built, then your changes wont show up.
- Right click solution.
- Configuration Manager.
- Verify your project is selected.
When you make changes to, say, Form1, in the visual designer, Visual Studio will reflect those in the code found in the file called Form1.Designer.cs, in the method called InitializeComponent(). That's one place you can check for errors.
精彩评论