I will try the plugin, but not everyone on my team has ReSharper. The only way that I can think of detecting this is to inspect the project file, but given that tests are executed from a variety of locations it makes relative paths to the project file difficult. I could list a number of relative paths where the project file might be, that's the best I can come up with.
Stefan On Tue, Nov 18, 2008 at 2:24 PM, Gustavo Ringel <[EMAIL PROTECTED]>wrote: > If you use resharper and the nh plugin it alerts you if the hbm is not an > embedded resource. > > You can take one of the options without mappings also (fluen interface, > fabio's example in his blog) > > Gustavo. > > On Wed, Nov 19, 2008 at 12:14 AM, Stefan Moser <[EMAIL PROTECTED]>wrote: > >> I can't count the number of times that I've forgotten to set an hbm file >> as an embedded resource. Has anyone ever written a test to ensure that all >> of the hbm files in a project are embedded resources? Any tips on how to >> write such a test? >> >> Stefan >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
