Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VS 2012 Adding folders and file to project
Message
 
 
À
18/06/2013 09:25:19
Information générale
Forum:
ASP.NET
Catégorie:
Visual Studio
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01576612
Message ID:
01576615
Vues:
34
>>Hi,
>>
>>I added a folder to my project (e.g. Content). Then I manually copies some .css files to this folder (outside of VS). But when I view the project in the VS Solution Explorer I don't see the symbol (to the left of the folder name) indicating that there are files in this folder. And if I click on the Folder name, it won't open (showing the files). Even thought the files inside the folder Content are recognized in .cshtml files.
>>I realize that I probably should have added the folder and the file - all - from the VS solution explorer. And I can probably delete and restart the entire process. But I am wondering, is there a way to "force" VS to recognize the folders and the files inside them?
>>TIA
>
>You need to add the individual files to the project. Assuming you've manually placed them in the relevant folder as above:
>
>Right click on the folder, choose 'Add' , 'Existing Item' and select the files (you can add multiple files in one go)

The problem I see is that I cannot add a folder the way you describe. That is, if I have another folder underneath the Content (e.g. css) and inside this folder file, I cannot add them from the VS. The 'Add Existing Item' only allows for adding files and not folder with files.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform