When I create a new project with sub folders, the sub folders disappear from the parent folder. Does anyone have a solution for this?
Related
I am trying to add an image to drawable in xamarin forms app in visual studio 2019 I am getting an error as the system cannot find the path specified.
Just had the same problem. Looks like the folder is there but in fact it isn't (Still a bug in visual studio for windows). Just delete the folder and add the folder yourself. Now you are able to add your image for your icon.
If not already exists. Create a folder drawable in XAML.Android\Resources directory and try again. If already exists then delete it and recreate it.
If all of above does not work then grant same permission to drawable folder
which has XAML.Android\Resources folder.
I had this problem when I had the folder but adding the image file didn't work, what I had to do was to right-click of each folder and select Add -> Existing Item
I am working on a ASP.Net project and I unloaded a folder "Reports" that had subfolders and RDLC files in it. The folder I un-loaded is from this path:
"C:\Users\TestUser\Documents\Project1\changerapp\Content\reports"
The folder Reports has some sub folders and RDLC files. Now I want to load the Reports folder like the same way it was before. But when I select "Add existing item" , it is not letting me add the folder (with all its contents). Rather it is making me select files inside that Reports folder. Any way to achieve this?
Figured out in 2 minutes after posting the question.
So we have to click the "Show all files" icon on top and select the folder we want to add back. Right click the folder and select "Include in the project" and the folder will be included.
I have deleted an app_data folder accidentally from my project in Visual Studio 2015. It was generated automatically and the database files was there in it. Now I want that folder back,so can you help me how to get that back in my project.
I'm leaning on a more positive side, so I assume you've only removed the folder from the vs project solution explorer.
You could add it back by clicking on the show all file button Show all file
and include back the app_data folder.
Currently my VS 2013 project template is appearing in the "Visual C#" folder of the Add New Project dialog. How can I move it into a subfolder of that dialog?
One option is to physically create a new folder inside the template folder and move the template into it. For example:
C:\Users\jonathanallen\Documents\Visual Studio 2013\Templates\ProjectTemplates\Visual C#\My Templates
Still looking for an option that doesn't rely on the users happening to put the file in the right place. Maybe a VSIX package?
The question says it all: where is the group and where is the "physical" folder?
So, to get the Resources group back, do this:
Right-click on your project icon in the navigation view on the left (blue icon).
Rename the group to "Resources."
That's it.
But what if you also want the Resources folder on your disk? Easy:
Open Finder.
Navigate to your project folder and create a new folder on the same level of the .xcodeproj directory, named "Resources".
Back in Xcode, select the Resources group and activate the "Utilities" view (all the way in the top right corner next to the Organizer icon).
Under the "Location" drop down box you see a small white-ish icon: Click it: A dialog called "Choose a directory this group represents" will come up.
Choose the Resources folder you created in step 2.
That's it. Now you can drag resources into the Resources group in Xcode and they will end up in the Resources folder on your disk.
I had the same problem by accidentally deleting the folder in the project.
For my environment (XCode v11), right click on the project in the project navigator and select "Add Files to ...
This will bring up your current project folder (if not, simply navigate to that directory) and then select the Assets.xcassets folder and click Add.
This will bring the assets folder back to your project.