Is there a way to export the tree structure from Umbraco media section?
I have managed to do the same for "Content" section building a package on developer tab but I cannot do the same for "Media".
I'm using Umbraco 4.
Related
How would i import a legacy website into Team Foundation Server (2015)?
A few websites are classic asp and some other websites are static websites and documents.
Within the collection admin there is an option to add files... but these are just listed in the code window with the existing folder structure no longer maintained....
I want to import an exact copy of the existing folder structure for each website.
Even though the import window shows a list of files, they will be imported with structure in tact.
I know Twitter bootstrap has several templates rolled with mvc 4 when creating a new project, but does one using Semantic UI exist? Google searches returns little of relevance to me, neither am I able to find any when searching amongst the online templates in VS2012.
No, it doesn't exist out-of-box, but you are free to create your own template. The templates for MVC in both 5 (VS 2013) and 6 (VS 2015 preview) are also using Bootstrap.
Alternatively, you can add the NuGet package to your project (though, it does not seem to be an official project package):
PM> Install-Package SemanticUI.ASP.NET.MVC
I am working on custom multi solution project structure having
1. 4 class library projects
2. One MVC 4 Web application.
I have built multi solution structure into VSIX package.Till here everything is fine.
Upon VSIX installation,I can see my multi solution project type in Visual studio 2012 projects.
When I try to create on out of it, it will display a following error while creating for every images present in "\Content\themes\base\images" in MVC 4 application
"The file ui-bg_flat_75_ffffff_40x100.png could not be found within the project templates.Continuing to run, but resulting project may not be build properly"
Although I have all the images as a apart of WEb Project templates.
Any suggestions
Verify that the images within the project template have Build Action set to Content and Include in VSIX set to True. Also, verify in your vstemplate file that the image is included as a ProjectItem and within the proper folder.
Or, if you have JQuery UI included as a Nuget package you can just install the package as a part of your template. Then, you don't even need to include the images with your vsix. http://docs.nuget.org/docs/reference/packages-in-visual-studio-templates
This question is related to this one.
I’m trying to build a Vs package that’ll add context menu to the project of a specific type. Actually, I’m trying to achieve the exact thing MVC3 has. MVC3 project shows different context menus depending on which folder within the project is currently selected. For “Controllers” folder you’ll get a menu item to create Controller, and for “Views” folder you’ll get a menu item that triggers wizard for Views.
Maybe someone knows if MVC3 Vs Package sources are open? I thought they are as MVC itself is open and one can get sources easily. But I couldn’t find sources for MVC3 Vs Package…
Thank you SO in advance.
The features you describe are a bit more than simple VSPackages. Those are actually implemented in a separate binary, which can be downloaded, it is called ASP.NET MVC3 Tools Update. You can read more about it here.
The custom context menus are all defined and associated with the project type GUID. The MVC3 GUID is
{E53F8FEA-EAE0-44A6-8774-FFD645390401}
and the MVC2 project type GUID is
{F85E285D-A4E0-4152-9332-AB1D724D3325}.
So if you want to do such customizations, you do not have the MVC3 Tools binary's source for reference. I do not see it in Codeplex MVC sources anyway. You have to go to the pain of creating a ProjectType and this may help you do just that
ASP.NET MVC has a bunch of custom item templates to create controllers, views, etc. Those item templates appear to only show up in the Add New Item dialog box when you are inside an ASP.NET MVC project (or more specifically when the MVC project type guid is in the .csproj file). How do they manage to do this? I've looked through the .vstemplate files and there doesn't appear to be anything related to the project type guid.
Thanks,
Nathan
I believe I figured it out. It looks like the TemplateGroupID node in the .vstemplate file specifies the name of the VS Project (as read from the registry) to show this template for.
The logic for these is in the T4 templates.
The Add Controller and Add View dialogs both perform code generation that use T4 templates behind the scenes. These templates can be modified to customize the generated code from these tools. You can find the templates at the following location:
[Visual Studio Install Directory]\Common7\IDE\ItemTemplates[CSharp | VisualBasic]\Web\MVC\CodeTemplates\