Resolved How to Embed a Resource

aaaron123@roadrunner.com

Well-known member
Joined
Jan 23, 2011
Messages
110
Programming Experience
10+
I'm looking at Net 5 build Action in Properties and it looks like Embedded Resource is not there.

I spent much of yesterday looking for an Internet hit to explain but most hit show how to use a resource not how to embed it.

Is the embed concept gone?

Is there a way in Net 5 to embed a text file for example?
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,538
Location
Norway
Programming Experience
10+
I see lots of build actions including that. Is your VS updated?

Also, have you considered using the application resources?
 
Solution

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,447
Location
Sydney, Australia
Programming Experience
10+

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,447
Location
Sydney, Australia
Programming Experience
10+
The better question is do you prefer that way.
That's the same question you already asked and I already answered. Mind you, it's not necessarily that I evaluated both and decided one was better but rather that I have always used that option and have found it to be simple and effective and so have seen no reason to do anything else.
 
Top Bottom