Frustrated with Ms VS

aewarnick

Senior Contributor
Joined
Jan 29, 2003
Messages
1,031
I have had many instances where I save files as or move the source files and when I do I can open only the source files and cannot veiw the designer.

Is it possible to veiw the design with just the source file?
 
I believe you will need the resx file as well as the form (vb, cs).
Click the 'Show All Files' button in the Toolbar and check to see if
the form file has a little plus beside it, with a resx file under it when
expanded. If it doesn't, you will have to make sure that yourForm.resx
is in the same folder, and has the same name as your form.

I don't know for sure if this is the cause, but it could very well be.
 
Yes, I do have those files and they are named the same and in the same folder.

Before I would just double click on the sln file and it would bring up my project visually but now the cs files aren't even there.

But the cs files are in the same folder as the sln file. I tried adding the cs files to the solution explorer but I still cannot go to (as I did before) veiw, Designer and see my project.
 
If the resx file was missing, it is re-created when you run the app.
Maybe you're missing the original.

Is this an asp application using C#?
 
What is the icon beside the form in the solution explorer? Is it a picture
of a small page with the letters 'CS' written on it, or does it look like a
little form? If it's a page, then the IDE is not recognizing the file as
a Windows Form.
 
Got it fixed. They did not make that easy!

In the right hand pane in the Solution Explorer I had to add a project (the csproj file) to the list.

Then I had to add all the forms (cs files) individually as items. Then it worked.
 
Back
Top