Environment versions
Network:
Windows 2008 Server
>>>>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
>>>
>>>Another little issue I ran into. If I delete a folder from the VS project (e.g. Content), I cannot later add a folder of the same name. As if VS simply "marks" the folder as deleted but it is still somewhere. Anybody knows which file I need to hack to get rid of the folder name so that I can add it again?
>>
>>Doesn't sound right. VS will physically delete the folder and all it's contents and adding back a folder of the same name shouldn't be problem. Using 'Exclude from Project' WILL leave the folder in place and result in the behaviour you describe....
>
>I figured how to "fool" VS. I created a folder of a bogus name (e.g. MyNewFolder), then added folders CSS and files. Then added other subfolders and files. Then I renamed the top folder from MyNewFolder to bootstrap and it works.
Strange :-}
I was going to suggest opening the .csproj file in notepad to see if the a bootstrap folder was referenced but.....
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only