OliverKingCN / mybatisnet

Automatically exported from code.google.com/p/mybatisnet
0 stars 0 forks source link

Unable to load embedded resource from assembly "MyBatis.SqlMap.config, MyBatis". #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Good Morning All,
Firsty, I want to say thanks to all. And I have an issue with small app.
Currently, I'm a beginner at MyBatis. I have a project demo. 
And when I run application, It always show a error.
I'm using SQL Server 2012 and Visual 2010.
About my demo, please view attach file:

Thank all very much

Original issue reported on code.google.com by anhdungc...@gmail.com on 29 Dec 2014 at 3:53

Attachments:

GoogleCodeExporter commented 9 years ago
The problem is that you are trying to load the SqlMap.config file as embedded 
resource, but it's not declared as such.

Click on properties for the file, and in "Build Action" select "Embedded 
resource". Check the attached image for a reference.

Greetings

Original comment by juanpabl...@gmail.com on 16 Mar 2015 at 8:15

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by juanpabl...@gmail.com on 16 Mar 2015 at 8:20