Export to GitHub

mybatisnet - issue #60

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


Posted on Dec 29, 2014 by Happy Giraffe

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

Attachments

Comment #1

Posted on Mar 16, 2015 by Helpful Monkey

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

Attachments

Comment #2

Posted on Mar 16, 2015 by Helpful Monkey

(No comment was entered for this change.)

Status: Invalid

Labels:
Type-Defect Priority-Low