简体   繁体   中英

Difference in embedded resources naming in VB.NET and C# projects

I have a test project in c #, which I read the embedded resources and returns separated by folders just as I have in the project.

Project C#

And I have another one in vb, which I do the same as the previous one but does not read separated by folders. I don't understand why in one yes, the other not,

Project VB.NET

Help me, and thanks in advance.

In Short:

Embedded resources follows this standard

For C'#'

(RootNameSpace).(PathToResource)

RootNameSpace DatabaseMigrationsTest.DbUp

Path "Clients > 001_CreatePersonTable.sql"


For VB.NET

(RootNameSpace).(ResourceItem)

RootNameSpace DatabaseMigrationsTest.DbUp

ResourceItem "001_CreatePersonTable.sql"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM