Sign in to follow this  
Alex Melbourne

Code generation (VS2012)

Recommended Posts

I'm going through and learning how to use Visual Studio properly and I've recently discovered its modelling tools (hooray!). I already knew UML so I've set about creating the layout of the engine/game I'm building.

 

Now I found it's possible to generate code from these diagrams but the code is always in a C# project. I'm happy to write out the T4 files to generate C++ and not C# but I can't find a way to simple dump the files in a directory.

 

I know how to write MSBuild files fairly well but I don't know how to achieve what I want...

 

To summaries: Does anyone know how to prevent the generation of a C# project file and simply dump the generated header files in a different project directory.

 

I want to make the engine project dependent on modelling project so that I can regenerate structure quickly and simply.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this