tangible modeling tools now available for VS2010

We are proud to announce the immediate availability of tangible modeling tools for VS2010 RTM. The new combined installer will install T4 Editor and modeling tools at once.

Get it here

T4 Editor V1.701 – Update for VS 2010RTM plus Speed Enhancement

A short notice that we did improve performance again and and also did add the item templates and template gallery and adjusted them to match VS2010 RTM bits. Same is true for the #pragmas we support now.

Stay tuned for more to come.

Get it here http://visualstudiogallery.msdn.microsoft.com/en-us/60297607-5fd4-4da4-97e1-3715e90c1a23

tangible T4 Editor for VS2010 RTM Available!

Yes it is done! tangible T4 editor now works for VS2010 RTM. It is an important milestone for us.  The free Edition is also updated. The commercial PRO Edition offering is also available with support and
12 months of updates for buyers.

image

We are very pleased to announce our support at the launch day and we are looking forward to many exciting new features we are adding over the next couple of weeks based on this new foundational release.

Get it now from the Visual Studio Gallery or Extension Manager

tangible T4 Editor V1.6 for VS2008 and Visual Studio 2010 RC available!

A nice “Hello back” from the development team. We have been quite busy the last weeks to do side-by-side versions of tangible T4 Editor for VS 2010 and  VS2008. Today we will ship V1.6 for VS2008.

What are the new features? Any fixes?

1. We do support T4MVC now!
We did fix a compatibility issues with the well known and loved T4MVC project. The Editor now works nicely with it.

2. We do support Code Libraries in T4 (Referenced Assemblies)

Many people have been using T4 plus C# DLL together to do code generation. When you import a C# DLL from T4 the DLL gets locked however when the T4 executed. To unlock it you must simply close the solution and reopen it. We do not lock the assembly anymore but VS still needs this little open/close play with your solution to unlock. We also now find the DLLs that are in your Output Dir (means referenced from your project that contains the T4).

      >>Remember: To Unlock DLLs locked by VS IDE
                             used in a T4 template just
                        close and reopen  the solution. <<<

Note we did redesign the whole assembly resolution and loading to make this happen.

3. Enhanced IntelliSense for C# 3.5 constructs

4. We do support the .t4 file ending better

We had a couple of issues with the .t4 ending they have all been resolved. Thanks for reporting!

5. We did a fix for users who wanted to generate “.js” code. This scenario crashed often before. Thanks for reporting!

6. A couple of minor enhancements and fixes to quality and speed.

You can get the band new bits here:

http://t4-editor.tangible-engineering.com/ (VS2008 and VS2010)

tangible T4 Editor (Alpha) in VS2010 Beta 2 shows up… (Updated)

Speedy development – awesome design. With no code changes betwen Beta1 and Beta 2 the tangible T4 Editor in its current alpha bits form brings light to “.tt” files in Beta 2 right from the start.

Download and install instructions(Click here)

Go get it from the extension manager to start customizing code generation and wizrards in VS2010 Beta 2 – Code Gen from the new cool Team System UML Diagrams, Entity Framework 2.0 and more…

In Visual Studio just goto Tools->Extension Manager and search for tools online. If you are an admin do not forget to click on the “Allow loading user extensions button".

Update: Here is a list of useful How-Tos from Tim Fischer

How To: Migrate T4 Text Templates from VS2008 to VS2010 Beta 2

How-To: Generate Code from Team System UML Diagrams in VS 2010 Team System Beta 2

How-To: Transform Team System UML Class Diagrams into Database Diagrams and actual ORM-Classes with T4

tangible T4 Editor now listed in Visual Studio 2010 Extension Manager

>> For Product Homepage & Support and VS2008 click here  <<

We have made a small update 1.5.02 for VS 2010 which is now available from Visual Studio Extension Manager. You can start the Extension Manager from inside VS 2010 via Tools Menu->Extension Manager.  Then Click “Online Gallery” select the T4 Editor and Download. The restart VS 2010.

Alternatively: If you want it the old way, then you can download via download button from here. Then double click the VSIX file when VS2010 is closed. Note: .VSIX is a replacement for .msi for new VS2010 Addins.

image

Make sure that if you run VS as Admin or under XP that you do set the following checkboxes in the Tools->Options plus “Load Extensions from my local applications folder” – if you run VS as Admin.

image

I think we are again the first 3rd Party tool ;-)

Have fun!

Tim

tangible T4 Editor, tangible architect and Sparx Systems Enterprise Architect

Yes we are Sparx Systems partners and we do sell their tool in addition to our modelling tools. Sparx has a great UML2.1 compliant tool that nicley integrates with Visual Studio and TFS. It can be used as a replacement of our free modelling tools. Both T4 Editor and tangible architect work with it and understand it's models. So if you need an advanced modeling tool than check out Sparx Systems Enterprise Architect. Note that it is also included in the Enterprise Edition of tangible architect.

tangible T4 Editor and tangible architect - what is what and how do they fit together?

We certainly get this question a lot.

Short answer is: These are different products with a different price point on our price list. However they share a few components such as the modeling tools and that's the reason why they can be used together efficiently.

Here is the long answer: tangible architect is a complete Software Factory. This means it consists of the same modeling tools that come with T4 Editor but also brings it's own code generation (templates) capabilities to generate Business Objects, SQL-Server Schema and a schema management component that can upgrade schemas with a changed model. It also has a Drag and Drop UI-Designer. Besides it can do reverse engineering from code. The only functional limitation is that you cannot change the existing code generators we have. However you can add additional code to the partial classes being generated by using T4 Editor. As tangible architect maintains model, code and database schema in sync automatically it is a good match for Rapid Prototyping and mid-sized projects.

tangible T4 Editor plus modeling tools is the foundation you can build your own Software Factory with or add additional code generation to a tangible architect project. Note that the code generation logic we ship with tangible architect as well as the UI-Designer and Schema-Management are not part of tangible T4 Editor plus modeling tools. You would need to write our own templates or reuse templates from the online gallery to generate business objects, db schema and write your own schema management component and eventually reverse-engineering capabilities if you want the same level of functionality for your architecture that tangible architect provides.

The T4 Editor is used when you need a different target architecture than tangible architect provides. E.g. if you want to use LINQ-to-SQL or Entity Framework you would need to use T4 Editor plus Modeling tools as tangible architect is based on SQL-Server-Meta-Data-Services as ORM, only.

Here is a 1 hour video on how our customers use tangible architect during the envisioning phase of a project for rapid prototyping and later on switch to tangible T4 Editor plus modeling tools to target a different architecture.

image 

Video: Team-Play - tangible architect and T4 Editor in large Projects

If you are interested to trial Tangible Architect VS2008 please contact us via the contact form. We have a version ready for you.

tangible T4 Editor 1.5.02 available – better Intelli-Sense for inner classes

We updated both the VS2010 Beta1 and VS2008 Version to fix a known issue with intelli-sense when using inner classes. So make sure you get the latest build – also available from within VS2010 Beta 1 as an Update in the Extension Manager. Enjoy!

tangible T4 Editor for Visual Studio 2010 Beta1 available (FREE + PRO)

As Somasegar pointed out VS 2010 Beta 1 ships now
and we are thrilled to announce the immediate availability of
tangible T4 Editor 1.5 for Visual Studio 2010 Beta1 – which was released today – so same day as VS 2010 Beta 1 did release – yes!

You can install from the Visual Studio Extension Manager

Alternatively: If you want it the old way, then you can download via download button from here. Then double click the VSIX file when VS2010 is closed. Note: .VSIX is a replacement for .msi for new VS2010 Addins.

For more info about the features of the T4 Editor see this page. Note, that only the T4 editor is included - not the modeling tools.

In VS2010 Beta 1 Microsoft uses T4 now also in Entity Framework 4.0 and in the new Modeling Support of the Architecture Edition. Note VS2010 Beta1 now brings it’s own T4 item templates – so we did not put ours inside for now.

As usual you can find a sample T4 template for generating from the new VS2010 Use Case Diagrams in the build-in template gallery (VS 2010 Beta1 Section). Here are some cool screenshots and examples…

1. VS 2010 Beta 1 includes a ADO.NET EntityObject Generator

EntityGenerator

2. VS 2010 Beta 1 includes Modeling Diagrams which work with T4

Dev10Modelling

3. Certainly also our template gallery works from within VS2010

Dev10TangibleT4InProductGallery

Enjoy!

T4 Editor for Visual Studio 2010 CTP 2 VPC and beyond… (Updated)

We just re-released our tangible T4 Editor only release for Visual Studio 2010 CTP2 and beyond – now this is updated with version 1.4.01 of the editor.

You can download VS2010 CTP here
Then you should disable the timeout of VS2010
CTP before starting it. see here for details.

Then just start the VM copy the tangible T4 Editor For Dev10.zip there, extract it and run setup.bat. Note, that the license agreement is still to be accepted to complete setup.bat.

Have fun. ;-)

tangible T4 Editor 1.4 – Support for ASP.NET MVC T4 Template Editing with Intelli-Sense in FREE EDITION & more

We are excited to announce FREE T4 Editor with Intelli-Sense for all namespaces and MVC Host used in standard MS MVC 1.0 RTM Templates. In addition V1.4 added .t4 extension support for GAT/GAX users as well as an other number of performance improvements for large projects using #include statements.

Here are the screenshots of the FREE edition editing MVC T4 Templates with Intelli-Sense for those namespaces and the MVC Host build-in.

Here is the download of the tangible T4 Editor

FreeMVCT4Editor

FreeMVCT4Editor2


Learn here how to customize T4 Templates for MVC.

How to call GAX-based T4 Templates (that have a Property Directive) from standard T4 Templates

The property directive is one of the most discussed features of T4. By Microsoft it is implemented in the GAX Host not in the standard Visual Studio Host. This means that when you run a template by saving it with the standard mechanism (DSLTools) in Visual Studio it will fail.

Although there are other good mechanism for making reusable templates users of GAX/GAT and Blueprints need to rely on this mechanism.

But how can can  work with GAX  templates and call them from standard Text Templates, then?

1. You need to install GAX from here.

2. You need to get the T4GAXRunner.ttinclude template

Luckily tangible published a TT-Include File that provides the necessary code. You find it in the in-product template gallery of tangible’s T4 Editor. You can read about the gallery here.

The Code to use T4GAXRunner looks like this. The anonymous object encapsulates the parameters and values you want to pass as members.

<#@ include file="T4GAXRunner.ttinclude" #>
<#   GetT4GAXRunner().Render("GAXSample.t4",
        new {ClassName="MyClass", Namespace="ns"}); #> <

This would then call a typical GAX.tt file like this one.

<#@ template language="C#" #>
<#@ output extension=".cs" #>
<#@ property processor="PropertyProcessor" name="ClassName" type="System.String" #>
<#@ property processor="PropertyProcessor" name="Namespace" type="System.String" #>
namespace <#= Namespace #>
{
    class <#= ClassName #> {
     // more…
   }
}

Conclusion

You can run your GAX based files from a standard T4 files. Just download tangible’s T4 Editor and get the template from the gallery.

T4 Text Template “How-Do-I?” Videos

We just posted a great series of “how do i?” videos about T4. They show the value of the in-product  Online Template Gallery and Drag and Drop features very well.

image

Check out the videos

- T4 Video: Generate Data Transfer Objects

- T4 Video: Custom LINQ-to-SQL Classes via Drag and Drop

- T4 Video: Image Gallery via T4

- T4 Video: Generate multiple output Files with T4

- T4 Video: Generate Stored Procedures

- T4 Video: .NET Data Services Change Tracking

- T4 Video: T4 Editor #include-Directive

- T4 Video: Generate from XML File

- T4 Video: Generate from Diagram Files (DSLs)

- T4 Video: Share templates online with the build-in online T4 Gallery

We hope this helps.

tangible modeling tools plus T4 Editor 1.1 released - tons of new features!

What is new in T4 Editor V1.1? Improved Syntax-Highlighting, Outlining & Smart Indenting, Snippet-Support (VS Snippets are used), Bracket Highlighting for T4 Blocks,   Copy Selection as HTML for Bloggers, Intelli-Prompt for Pragmas, #include support, Full support for Oleg's T4 Toolbox, Extensible Drag&Drop Magic for Xml, Xsd & Diagrams to easily create generators from models/files - just via Drag and Drop.

image

You can now take advantage of #include directive support. Just create a reusable template from the AddItem Dialog and add it to your project. You can then call this templates body by calling this.Template1_Render()

image

Have fun with structured templates.

If you want even more control about templates like multiple output files you should also install Oleg’s T4 Toolbox.

T4 Editor V1.3 – Serious Performance Improvements implemented

Hello T4 Community! We thank you for your support and feedback. We are happy to announce T4 Editor V1.3 which solves the performance issues some of you experienced in the past. This release is a performance only release. We did nothing else than performance engineering. Check it out!

tangible T4 Editor V1.2 introduces an in-product T4 Online Template Gallery

So we just announced V1.2 - but what is new in T4 Editor? We added a lot of stability and smaller features to the editor – but most importantly we added the ability to work with the Template Gallery from within product. You can now share your templates with the world by publishing them or you can just organize them for yourself.

image

To activate the feature just click on the editor with right mouse button and select “Insert Code from Gallery” from the Context Menu. Then select any template and press Insert Code Button to get this inserted.

Alternatively you can just drag and drop a file with a know extension e.g. an Activity Diagram from the Project Explorer onto the T4 Editor to show related Snippets. For .tt and .ttinclude files we just automatically add <@# include #> directives.

You can then also Click on “Search Online Templates” to get thee latest templates. To Create a new template use the Clone Feature on one of the existing templates. You will then be prompted for email and password. You can specify any password. We only store a hash of it in the xml file locally on your disk. The file is located in <userdir>\appdata\TangibleT4Editor\DragAndDropActions.xml.

Then you can use the Edit button to enter editing mode for your template. You will need to authorize yourself again (against the xml file only). If and only if you want to share your template with the world you can do so using the Publish Template button. Then we will transfer the template on our server with the secret hash of your keywords only. So we can protect your template against other users modifying it.

Please make your indications about license etc in the corresponding files shown in edit mode in the Tab Metadata at the bottom of the screen.

We hope this feature helps to build a vital T4 community.

Have fun !
Regards, tangible engineering development team.

T4 Editor and Modelling Tools for VS2008 SP1 released


After several years of support for T4 tangible now has its own Intelli-Sense aware Edtior for T4 that helps you create custom code generators baes on your models, xml or DB-files.

With tangible's T4 Editor you can author your own Code Generator via Text-Templates (TT-Files) with IntelliSense, Syntax-Highlighting. T4 is a Microsoft Language for writing Code Generators which is similar to ASP.NET and is used by the Microsoft internally to build software and new features for .NET 4.0. The T4 Code Generation Engine is already built into Visual Studio - so the only thing that was missing is a good Editor and some free UML-style modeling tools.. so we shipped it.
Now it is up to you to accelerate your projects and start saving your company money by adopting T4 today and generate the code you need directly form diagrams, database schemas or xml files.

Crosslink to Nicos Blog

A link to Nico's Blog

Reporting on Business Objects with C#3.0 and ReportViewer

Most of you remember that ReportViewer is a real pain when it comes to working with business objects.

I totally agree with that. In the past it has been a pain as you either had to use the Subreport (which is not well supported)
or List approach (which would involve to create a joined view of data first) which were both not very handy.

Now with the new LINQ Features of C#3.0 you can much easier report against business objects (once they support linq - as TA4.0SP1 does).