Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Ok, I feel like an idiot. I'm building a website w/ Umbraco 8; I've downloaded the files for Umbraco to an empty project and created a layout file and a homepage file and their corresponding editor files. The layout I've created shows up in the browser. However, when I look at VS, I don't see any of the files that I've created in the Solution Explorer nor can I access the database that was created locally.
I CAN see these files in the file explorer but they're not showing up in VS.
They were easier to locate in Umbraco 7.
I found that templates created in Umbraco's back-office don't automatically get included in Visual Studio's project file. In VS, you'll need to show hidden files and include them. As for getting access to the SQL CE database, I use the "SQLite/SQL Server Compact Toolbox" VS extension. Seems to work pretty well for my needs. You can find the extension here: https://marketplace.visualstudio.com/items?itemName=ErikEJ.SQLServerCompactSQLiteToolbox
You need to reload the folder where the files are located in visual studio.
richtclick the folder and refresh
Tried that, and still wasn't seeing the files. But what did work was clicking on the 'Solutions and Folders' button above the Solution Explorer panel, it looks like it's switching between two different folder types, one being the solution (not showing the Umbraco folder), the other the folder that contains all the files (where I found the Umbraco folder). I can run the files in the browser for the former but I don't have that option for the latter. Any particular reason why it's set up this way?
Make sure to show hidden files. That will cause a ghosted folder to show up and you can right click and say include in project.
VS only shows files in a project.
Do you have a screenshot of what you are working with?
I had the same issue when installing U8 with the sample project in VS. I saw this old post, so not sure if the issue is still there for you but for others it might.
Somehow the solution view does not show all folders as they're excluded from the project. If you select your project in the solution explorer and choose Project - Show all files from the menu, the files appear. The ones that you are missing and want to update those in VS, you can include them in your project by right clicking the file or folder and select 'Include in Project'.
I don't know why installing Umbraco in VS (I used the NuGet option) excludes files from the solution view. They're not hidden files. Maybe someone from the Umbraco sample project can explain this. I use VS Community Edition by the way.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted