... and my hero of the day: Larry
 
Worked like a charm!
 
mcs option is:
 
-resource:/path/to/AccessProfile.xml,BudgetModel.DataMapper,AccessProfile.xml
 
and I refer to it in sqlmap.config as:
 
<sqlMaps>
<sqlMap embedded="AccessProfile.xml, BudgetModel.DataMapper"/>
</sqlMaps>
 
Thanks Larry.. Now I have to figure out how to embed sglmap.config and providers.config if this is posible....
 
/morten

>>>[EMAIL PROTECTED] 06/08/05 4:49 pm >>>
I think that you will need to pass the optional ID
(-resource:RESOURCE[,ID]) to the -resource flag.

The csc command nant creates for building my dll has

/resource:D:\projects\ngts.net\Vendor
Inquiry\Database.config,vendorinquiry.Database.config

My guess is that mcs needs something similar, try this:

-resource:(path to AccessProfile.xml),BudgetModel.DataMapper.AccessProfile.xml

I bet that will work.

Larry

Reply via email to