question

LPthatsMe-7328 avatar image
0 Votes"
LPthatsMe-7328 asked karenpayneoregon commented

Visual Studio

After I am done editing files and save the project and exit, no sub folders root folders or anyting within the project are showing up when I go to zip the folder to turn in for school. How can I ensure all files are there and not just the sln for my teacher to view?

dotnet-visual-basic
· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

You mean that you don't have the usual files/directories (mainly "My Project"), like for example, for a random VB project ? :

83342-vb-project.jpg



0 Votes 0 ·
vb-project.jpg (74.0 KiB)

Correct, when I try to zip down, I should have all the files within the project im working but they dont show in the folder like in the picture you just posted and I cant figure out why

0 Votes 0 ·

If you have the .sln, is the path to the .vbproj correct inside ?

0 Votes 0 ·

I apologize, I'm really not sure, how would I check that?

0 Votes 0 ·
Show more comments

Let me specify, this is not happening when creating a brand new project, this is happening when I download a file from the school site, and then attempt to exit and save. It only leaves me with the sln file.

0 Votes 0 ·
Show more comments

1 Answer

karenpayneoregon avatar image
0 Votes"
karenpayneoregon answered karenpayneoregon commented

Best way is to use GitHub which is part of Visual Studio. The only caveat is that files that only resides in the bin\debug folder are not included but if you do have files there there are ways to handle them, just ask me.

The basic instructions are on the following page.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

That still really doesn't make sense to me, why can I just save as, and all the folders save to the project folder? I've never used git hub and it requires sign up among other things. I just dont remember having this issue before

0 Votes 0 ·

GitHub is meant to be source control so it's not just for sharing code. So if you don't want to go that route

  1. Right click on the top node of Solution folder

  2. Select Open Folder in Explorer (if using an earlier version of Visual Studio then VS2019, install DPack which give you this for VS2013 and higher)

  3. Create your .zip file

83260-qqqq.png


0 Votes 0 ·
qqqq.png (53.5 KiB)