Monthly Archives: February 2009

[DSL Tools] VS package load failure? Look for corrupted .prf files!

  For a Visual Studio package developer, one of the most frustrating error messages is the Package Load Failure, that tells that your VS Package was unable to load in the IDE. For some of my projects, including the FeatureModelDSL, … Continue reading

Posted in Software Engineering | 18 Comments

Exporting a XNA Project as a Project Template

  A XNA project contains a nested project: the Content project. If you export your game as a Visual Studio project template, unfortunately such nested Content project doesn’t get exported by default as well. Therefore, when you create project instances … Continue reading

Posted in Games | 23 Comments

[DSL Tools] How to handle a model (diagram) Load event

  Suppose you have a domain concept (class) with a Namespace property, which will be used in code generation. It would be cool if such a property was automatically filled with the value of the project root namespace when the … Continue reading

Posted in Software Engineering | 17 Comments

Input Mapping DSL: add input mappings to your XNA/FlatRedBall game

[Input Mapping DSL: adicione mapeamentos de entrada para seu jogo XNA/FlatRedBall] The SharpLudus project bits are finally getting ironed to release. The ArcadEx game factory, under development, is one of the factories created as part of the project, and it’s … Continue reading

Posted in Games | 16 Comments

Programmatically checking valid identifiers

  Have a string and need to check if it’s a valid C# identifier (to use as a method name in code generation, for example)? Try this code: Microsoft.CSharp.CSharpCodeProvider.CreateProvider("C#").IsValidIdentifier(myString); I recommend checking other useful methods of the CodeDomProvider class as … Continue reading

Posted in Software Engineering | 8 Comments

[echo post] Mobile phone with a built-in projector

  Not bad to have a projector in your pocket! (wait until the end of the video) http://c.brightcove.com/services/viewer/federated_f9/3924348001?isVid=1&publisherID=1274168784   More here. BR,— AFurtado

Posted in Computers and Internet | 13 Comments

SharpGames mini-game competition

  Friends from SharpGames (the Brazilian XNA games community) just released a video with the games that were submitted for the mini-games challenge. All games have less than 100 lines of code, and that makes some of them really impressive! … Continue reading

Posted in Games | 14 Comments