Token replacement in Content files.

Sep 3, 2010 at 7:34 PM

I would like to see the concept of token replacement in the content files. I am thinking of something equivilent to the Project Item functionality in VS.  As I am adding content or code files to a project, I can do token replacement in the namespace construct, to add the safe project name or the projects Default Namespace to that line in the code file.  I can get some more examples of this, but I think this will open up some more advanced scenerios to allow some more perscriptive packages to be created.

Sep 3, 2010 at 9:48 PM

I agree this can be useful.  I think it in fact came up from ScottGu as a suggestion, but it hasn't been properly tracked.  Can you open an issue for it?

I think the scenario Scott brought up was installing a package like EF CTP4, and having that include a sample model for learning purpose.  Whatever class that's in would need to be in the proper namespace.

Sep 3, 2010 at 10:18 PM

I will create an issue for it.

Sep 3, 2010 at 10:19 PM

I created a issue