:(

Import-Module : Could not load file or assembly 'T4Scaffolding' or one of its d ependencies. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER)) At C:\CodeForceSystem\packages\T4Scaf...

Id #56 | Release: None | Updated: Jun 3 at 12:22 AM by compmks | Created: Jun 3 at 12:22 AM by compmks

Accented letters in T4 templates are changed when scaffolding

We have several T4 templates which contain accented letters. When these templates are scaffolded, the accents are changed to gibberish. Example: "Retour à la liste" becomes "Retour à la liste" w...

Id #55 | Release: None | Updated: Jan 22 at 6:25 PM by HungryLikeTheWolf | Created: Jan 22 at 6:25 PM by HungryLikeTheWolf

Multiple properties appear to be primary keys

MVCScaffolding gives "Cannot find primary key property for type 'SampleMvcApp.Models.TeamMember'. Multiple properties appear to be primary keys: TeamId, EmployeeId" error for following entity. pub...

Id #54 | Release: None | Updated: Jan 18 at 10:14 AM by Saigiridhark | Created: Jan 18 at 10:14 AM by Saigiridhark

Installing MvcScaffolding causes Controller scaffolding to show error message

Brand new installation of VS2012 express web on Win7 x64 Create a brand new MVC3 project package manager console << Install-Package MvcScaffolding right-click on Controllers folder select Add > C...

Id #53 | Release: None | Updated: Dec 15, 2012 at 9:38 AM by TWolverson | Created: Dec 14, 2012 at 12:39 PM by TWolverson

Add-ProjectItemViaTemplate fails silently for Sql Server Database Project

To recreate (not certain all of these are necessary): Add new Sql Server Database Project to solution (eg "SQL") Add new Class Library to solution (eg "DAL") Add new ASP.NET MVC 4 Web Application...

Id #52 | Release: None | Updated: Dec 13, 2012 at 3:33 PM by jostevenson | Created: Nov 13, 2012 at 2:55 AM by jostevenson

MVC Scaffolding stopped working

I was using mvc scaffolding for a while now and last week I did a few updates for VS extensions and packages. I now get an error when I create a controller. See attachment

Id #51 | Release: None | Updated: Nov 2, 2012 at 10:52 AM by JohannBlais | Created: Jul 24, 2012 at 12:15 PM by gbelzile

Singular DbSet in Controller

Scaffolding creates dbcontext and controllers. DbSet are plural in the DbContext and singular in controllers. Needless to say, it doesn't compile and I have to fix either context or controller. Sho...

Id #50 | Release: None | Updated: Mar 12, 2012 at 11:48 AM by GiorgioBozio | Created: Mar 12, 2012 at 11:48 AM by GiorgioBozio

Default Pluralization Culture

As described in this issue: http://mvcscaffolding.codeplex.com/workitem/9, there is no way to set a default pluralization culture to Get-PluralizedWord and Get-SingularizedWord commands, even if th...

Id #49 | Release: None | Updated: Sep 28, 2012 at 6:52 PM by LeonelSanches | Created: Mar 1, 2012 at 1:50 AM by LeonelSanches

Use MetaData buddy classes

Be great if you could either via the MetadataType attribute, or by convention (<entity>MetaData), pick up meta data from a buddy class to support where using existing model classes that have been g...

Id #48 | Release: None | Updated: May 27 at 12:33 AM by VeXHarbinger | Created: Jan 26, 2012 at 2:17 PM by bakesteve

Scaffold controller crashes Visual Studio when recursive foreign key is present

Given the following model, the command "scaffold controller Subject" will crash visual studio, presumably due to a stack overflow. Removing the ParentId and Parent properties resolves the issue. ...

Id #47 | Release: None | Updated: Nov 13, 2012 at 3:21 AM by jostevenson | Created: Jan 18, 2012 at 2:22 AM by kbaltrinic

Custom ControllerWithRepository.cs.t4 is ignored

Hi, It appears that the custom T4 template ControllerWithRepository.cs.t4 is ignored when scaffolding. The controller that is generated is based off the default template. Thanks, Chris

Id #46 | Release: None | Updated: Nov 13, 2012 at 3:23 AM by jostevenson | Created: Jan 14, 2012 at 1:31 PM by ChrisLotter

Children of Parent not saving

Hi, I set up an mvc application using the EF4 model and POCO T4 template. As you probably know this result in me having class with children defined in them. I then generate the controller for the...

Id #45 | Release: None | Updated: Jan 14, 2012 at 5:33 AM by cossy74 | Created: Jan 14, 2012 at 5:33 AM by cossy74

Flexibility on pluralize

I've recently used the AjaxGridScaffolder which adopts a good approch to the problem of pluralization. It use the model class name (like Pizza) for objects singular names and the DbSet<T> names fro...

Id #44 | Release: None | Updated: Dec 19, 2011 at 5:32 PM by gilbertoc | Created: Dec 19, 2011 at 5:32 PM by gilbertoc

MvcScaffolding stopped working.

Hi, I've been using MvcScaffolding in my project since October ( this year's october ) and it did a great job ( with NuGet Package Manager 1.5.* ). However, today I've updated version of NuGet P...

Id #43 | Release: None | Updated: Jan 9 at 10:00 PM by simonandre | Created: Dec 13, 2011 at 12:26 PM by klusi0

Creating separate T4Scaffolding.Core package with base functionality

I'm building scaffolding packages for building Silverlight, WinRT, Windows Phone business applications and I need base T4Scaffolding package, that have the base classes from T4Scaffolding package a...

Id #42 | Release: None | Updated: Apr 30, 2012 at 7:13 PM by tbmihailov | Created: Dec 6, 2011 at 8:39 AM by tbmihailov

Template should default to ViewName

When generating a single view the -Template paramater should default to the -ViewName parameter instead of "Empty". Since the template and view name are typically the same it seems silly to have to...

Id #41 | Release: None | Updated: Oct 28, 2011 at 7:16 PM by jfrench | Created: Oct 28, 2011 at 7:16 PM by jfrench

Doesn't work in MVC4 Projects

D:\Projects\Hagerman\packages\MvcScaffolding.1.0.4\tools\Controller\MvcScaffolding.Controller.ps1 : Project 'Hagerman.W eb' is not an ASP.NET MVC 3 project. At line:1 char:16 param($c, $a) . <<...

Id #40 | Release: None | Updated: Aug 21, 2012 at 3:13 PM by sgtobin | Created: Oct 20, 2011 at 6:57 PM by LDumond

Failed to render template

I have a simple model like this: public class AccountType { public int AccountTypeId { get; set; } public string AccountTypeName { get; set; } public bool IsMainAccount { get; set; } ...

Id #39 | Release: None | Updated: May 5, 2012 at 4:39 PM by AndreyTS | Created: Oct 7, 2011 at 1:10 PM by maveraa

Error in Get-RelatedEntities cmdlet

I had an error in the scaffold with some classes this is the error Get-RelatedEntities : Unable to cast COM object of type 'System.__ComObject' to interface type 'EnvDTE.CodeClass'. This operat...

Id #38 | Release: None | Updated: Jul 18, 2012 at 8:06 PM by chadit | Created: Aug 26, 2011 at 7:54 PM by luizfbicalho

Support of related entities without Id property

I use EF CodeFirst and I specifiy my relations with a class property like public class Product { public int ProductId { get; set; } public Category Category { get; set; } } Is it possible to ...

Id #37 | Release: None | Updated: Jan 4, 2012 at 6:07 AM by eranov | Created: Aug 23, 2011 at 7:09 AM by TobiasSchittkowsi

Model's properties are not generated when inherited from another class

If our model inherited from another class (for example : InvoiceViewModel : Invoice) the code generator does not generate any properties of the parent class. As I checked the following function th...

Id #36 | Release: None | Updated: Feb 24 at 2:37 PM by leblanc | Created: Aug 21, 2011 at 11:24 AM by mahmoud690

Pluralization

It seems to be an issue with which version of the Entity framework is used.

Id #35 | Release: None | Updated: Aug 18, 2011 at 5:43 PM by tuve | Created: Aug 17, 2011 at 2:16 PM by tuve

How to specify the encoding of the generated files

I have problems with umlauts in my generated views (compile errors). The files are generated as ANSI, if I convert them to UTF-8, everything works fine. Is it possible to add a command line pa...

Id #34 | Release: None | Updated: Jan 16 at 2:10 PM by gius | Created: Aug 16, 2011 at 2:37 PM by TobiasSchittkowsi

Installing MVCScaffolding 1.02 produces errors

PM> Install-Package MvcScaffolding Attempting to resolve dependency 'T4Scaffolding (≥ 1.0.2)'. Attempting to resolve dependency 'EntityFramework (≥ 4.1.10311.0)'. Successfully installed 'MvcScaf...

Id #33 | Release: None | Updated: Apr 22, 2012 at 7:56 PM by putrtek | Created: Aug 7, 2011 at 4:39 PM by putrtek

1.0.2 T4Scaffolding requires NuGet (Package Manager Console) 1.4 or later

When Installing MvcScaffolding via NuGet package command line I get the following error and the MvcScaffolding does not complete successfully: I do have the latest nuget Successfully installed '...

Id #32 | Release: None | Updated: Aug 3, 2011 at 4:44 PM by DougReid | Created: Aug 3, 2011 at 2:17 PM by DougReid

Scaffolding fails when entity has a complex primary key

for entities that have several properties decorated with [Key] attribute Scaffolding results in Get-PrimaryKey : Cannot find primary key property for type 'Art.Web.Models.Domain.Vote'. Multiple ...

Id #31 | Release: None | Updated: Aug 15, 2012 at 1:44 PM by mohitsws | Created: Jul 8, 2011 at 7:18 AM by taran

Get-PluralizedWord returns "ProductMediums" for "ProductMedium" instead of "ProductMedia"

Get-PluralizedWord works correctly for the word "Medium": PM> Get-PluralizedWord Medium Media But not for words like "ProductMedium": PM> Get-PluralizedWord ProductMedium ProductMediums

Id #30 | Release: None | Updated: Jul 4, 2011 at 11:08 AM by frankvaneykelen | Created: Jul 4, 2011 at 9:22 AM by frankvaneykelen

Use metadata to determine column headers on index views

To respect display name metadata, e.g.: [Display(Name = "First name")] public string Name { get; set; } ... use a LabelFor helper in the Index views, e.g.: @Html.LabelFor(model => model.First...

Id #29 | Release: None | Updated: Jul 16, 2012 at 6:50 PM by phil2 | Created: Jun 14, 2011 at 10:06 AM by SteveSanderson

Library not registered error when running scaffolder

I am just trying out the MVCScaffolder. Installation using "Install-Package MvcScaffolding" works fine and without errors, but when I try to scaffold a Controller using either the UI or using the...

Id #28 | Release: None | Updated: Aug 8, 2012 at 6:23 PM by jackukleja | Created: Jun 13, 2011 at 2:29 PM by tnsprivat

MvcScaffolding NuGet installation: “An item with the same key has already been added”

I'm getting an error when installing MvcScaffolding through NuGet. Has anyone got any suggestions for how to fix the problem? PM> install-Package MvcScaffolding -Verbose Dependency 'T4Scaffoldin...

Id #27 | Release: None | Updated: Oct 15, 2012 at 8:18 AM by Tronex | Created: Jun 8, 2011 at 3:31 PM by tjrobinson

Error creating new controller using the repositories template

'm trying to add a new controller with template "MvcScaffolding: Controller with read/write action and views, using repositories". This has worked in a previous project, but I'm now getting the fol...

Id #26 | Release: None | Updated: May 18, 2011 at 3:26 AM by pfrench | Created: May 18, 2011 at 3:26 AM by pfrench

Installation problem

PM> install-package mvcscaffolding 'T4Scaffolding (≥ 1.0.0)' not installed. Attempting to retrieve dependency from source... Done. Successfully installed 'T4Scaffolding 1.0.0'. Successfully ins...

Id #25 | Release: None | Updated: May 31 at 7:00 PM by tarr11 | Created: May 16, 2011 at 5:38 AM by Piquet

Problem with Multiple Foreign Keys with Same Parent

Hey there, I've got a scenario where I'm trying to get multiple foreign keys tied into the same table. Scaffolding is failing to create the relationships as described below, but generates an exce...

Id #24 | Release: None | Updated: May 3, 2011 at 3:07 PM by MisterJames | Created: May 2, 2011 at 9:57 PM by MisterJames

get-help text for scaffold missing -Repository flag in syntax

The flag works, but the get-help doesnt show its availability in the syntax NAME Invoke-Scaffolder SYNTAX Invoke-Scaffolder [-Scaffolder] <String> [-Project <String>] [-OverrideTemplateFolders ...

Id #23 | Release: None | Updated: Apr 27, 2011 at 5:10 PM by RickHodder | Created: Apr 27, 2011 at 5:10 PM by RickHodder

Generate the both Service Class Repository Class

Basically I want both Service and Repository classes generated, and the service class has methods to use the methods in repository class. And the Controller uses the service class instead of repos...

Id #22 | Release: None | Updated: Feb 23, 2012 at 8:54 AM by cja100 | Created: Apr 22, 2011 at 8:16 PM by ziangsong

Error window after creating scaffold.

I get the attached error window at the end of the scaffolding creating. Any thoughts? This doesn't occur with the built in scaffolders.

Id #21 | Release: None | Updated: Apr 20, 2011 at 6:50 PM by Webjedi | Created: Apr 20, 2011 at 6:50 PM by Webjedi

Empty Views for EF Entity with Complex Type

i have an Entity with a Complex Type "Address" , the generated views includes all the properties of the entity Except for the Complex Type "Address". what changes i have to make in the template t...

Id #19 | Release: None | Updated: Sep 27, 2012 at 10:02 AM by gluip | Created: Apr 18, 2011 at 8:20 AM by buaziz

Update fails when model contains a Timestamp

Using the VB generated code. The view doesn't keep the timestamp in a hidden field and when the updated data is posted back to the controller the timestamp column is empty causing the context.SaveC...

Id #17 | Release: None | Updated: Apr 1, 2011 at 11:35 PM by ZippyV | Created: Mar 27, 2011 at 6:56 PM by ZippyV

-Verbose output should specify whether or not a model class was found

Some scaffolders can infer a model type if not specified. In this case, if they can't find a model, their -Verbose output should say so.

Id #14 | Release: None | Updated: Mar 24, 2011 at 3:54 PM by SteveSanderson | Created: Mar 24, 2011 at 3:54 PM by SteveSanderson

Format generated code according to VS settings

From Mark: Is it possible for the generated scaffolded code to obey my code editor settings (e.g., curly brace on same line for method declaration) or will I just need to do a "format document" on ...

Id #13 | Release: None | Updated: Aug 26, 2011 at 9:48 AM by TobiasSchittkowsi | Created: Mar 24, 2011 at 12:48 PM by SteveSanderson

Support enum properties

Enum properties should be shown as text on index, details, and delete screens, and should be shown as drop-down lists on create and edit screens. Suggestions for text to display (thanks to Diego Vi...

Id #10 | Release: None | Updated: Nov 21, 2012 at 11:33 PM by StaIma | Created: Mar 18, 2011 at 11:05 AM by SteveSanderson

Take [ScaffoldColumn(false)] into consideration

I am having issues making MvcScaffold ignore some properties. I tried the obvious [ScaffoldColumn(false)] but doesnt seem to work. Any ideas?

Id #8 | Release: None | Updated: Jan 31, 2012 at 2:06 PM by bakesteve | Created: Feb 28, 2011 at 11:05 AM by Korayem

  • 1-42 of 42 Work Items
    • Previous
    • 1
    • Next