My template creates an instance of the DBContext used by the default project to customize the template output based on the data in the database, not the schema of the database.
To create the inst...
Id #62 | Release:
| Updated: Feb 21 at 2:18 PM by TonesNotes | Created: Feb 21 at 4:03 AM by TonesNotes
I'm trying to reference a solution generated assembly from a T4 template that I'm invoking from the Package Manager Console using the pattern of .ps1 and .cs.t4 template files created by "scaffold ...
Id #61 | Release:
| Updated: Feb 21 at 2:53 PM by TonesNotes | Created: Feb 21 at 3:59 AM by TonesNotes
I've attached a sample solution that reproduces the issue.
If you open that solution you will see that it has 3 projects and all projects have the T4Scaffolding.Core package.
What I found is tha...
Id #60 | Release:
| Updated: Feb 27 at 8:53 AM by barmyarmy | Created: Oct 9, 2013 at 11:53 PM by johnsimons
Hi, I found an issue with Visual Studio hanging when generating templates. Is anyone else having this issue? It would take 2 minutes for a template with just Id and Name, and sometimes even that...
Id #59 | Release:
| Updated: Sep 25, 2013 at 3:05 PM by xrklvs | Created: Sep 9, 2013 at 3:50 PM by robwafle
When I call Scaffold ControllerName -Repository and all views are created, the _CreateOrEdit.cshtml looks like the T4 template.
But when I modify the template, and I call Scaffold View Controller...
Id #58 | Release:
| Updated: Jul 28, 2013 at 6:34 AM by albertoleonTis | Created: Jul 28, 2013 at 6:34 AM by albertoleonTis
Our solution and project were both initially named MyApp1. We renamed both using the Solution Explorer to MyApp (without the "1") several weeks ago. When we used the Scaffolder, it created referenc...
Id #57 | Release:
| Updated: Jul 15, 2013 at 4:08 PM by sachelis | Created: Jul 15, 2013 at 4:08 PM by sachelis
Import-Module : Could not load file or assembly 'T4Scaffolding' or one of its d
ependencies. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER))
Id #56 | Release:
| Updated: Jun 3, 2013 at 12:22 AM by compmks | Created: Jun 3, 2013 at 12:22 AM by compmks
We have several T4 templates which contain accented letters. When these templates are scaffolded, the accents are changed to gibberish.
"Retour à la liste" becomes "Retour Ã la liste" w...
Id #55 | Release:
| Updated: Jan 22, 2013 at 6:25 PM by HungryLikeTheWolf | Created: Jan 22, 2013 at 6:25 PM by HungryLikeTheWolf
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.
Id #54 | Release:
| Updated: Jan 18, 2013 at 10:14 AM by Saigiridhark | Created: Jan 18, 2013 at 10:14 AM by Saigiridhark
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:
| Updated: Dec 15, 2012 at 9:38 AM by TWolverson | Created: Dec 14, 2012 at 12:39 PM by TWolverson