Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

design tab vanished

$
0
0

Hello Community,

I am a starter with c# but played around with it and created a windows forms program using the designer to create the GUI. This worked pretty well but suddenly, after adding 2 radio buttons, and recompiling I received tons of strange errors like "invalid token { ..." pointing to part in the code where I did not change anything.

I think somehow some "includings" required for the forms are missing since I also am not able anymore to open the design tab. The design tab simply vanished!

It is also strange that if I open the project again the view looks different, it shows an app.config file first whith not much inside

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <startup>
        <supportedRuntime version="v4.0"sku=".NETFramework,Version=v4.0" />
    </startup>
</configuration>

I experienced the same behaviour some weeks ago and now again.

I have an older copy of the project (unfortunaltey I do not use source code version management so far) and if I load this it looks good (with the design tab). So I need to redo my changes from this last save and should be able to work again. Not nice but should be ok.

But anyhow I would be interested to know why this happened, how to prevent that this happens again and If i can repair it somehow? Any ideas?

 

Thank you

Michael


Viewing all articles
Browse latest Browse all 1764

Trending Articles