Click here to Skip to main content
15,921,226 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: how to programmatically get a list of resource file names in solution explorer Pin
Alan N3-Apr-10 10:21
Alan N3-Apr-10 10:21 
GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
fjparisIII3-Apr-10 10:46
fjparisIII3-Apr-10 10:46 
GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
Alan N3-Apr-10 13:32
Alan N3-Apr-10 13:32 
GeneralYour code works (SOLVED) Pin
fjparisIII4-Apr-10 14:36
fjparisIII4-Apr-10 14:36 
AnswerRe: how to programmatically get a list of resource file names in solution explorer Pin
Luc Pattyn3-Apr-10 10:35
sitebuilderLuc Pattyn3-Apr-10 10:35 
GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
fjparisIII3-Apr-10 10:56
fjparisIII3-Apr-10 10:56 
GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
Luc Pattyn3-Apr-10 11:06
sitebuilderLuc Pattyn3-Apr-10 11:06 
GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
fjparisIII3-Apr-10 11:45
fjparisIII3-Apr-10 11:45 
Okay, my memory failed me slightly. It must have been one of my other experiments that returned the name of my executable. However, I did try the one you suggested and it didn't return anything obviously useful either. It returned the following two strings:

PhdBetaInstall.g.resources
PHDInstallation.Properties.Resources.resources



What am I supposed to do with those? I want strings returned like this:

Resources/InterestingFile1.dll
Resources/InterestingFile2.dll



etc. etc. To get those, I'd have two DLL's embedded with the specified names. Now maybe you can tell me what I'm supposed to do with the two strings that GetManifestResourceNames() did return that would produce what I want. But the MSDN reference you provided wasn't very helpful and I'd found it and tried it before starting this thread.

The code that produced the two strings from GetManifestResourceNames() is the following:

Assembly assembly = Assembly.GetExecutingAssembly();
string[] resourceNames = assembly.GetManifestResourceNames();

GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
Luc Pattyn3-Apr-10 12:08
sitebuilderLuc Pattyn3-Apr-10 12:08 
GeneralRe: how to programmatically get a list of resource file names in solution explorer Pin
fjparisIII3-Apr-10 12:55
fjparisIII3-Apr-10 12:55 
QuestionError: Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized. Pin
Nafiseh Salmani2-Apr-10 22:51
Nafiseh Salmani2-Apr-10 22:51 
AnswerRe: Error: Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized. Pin
Luc Pattyn3-Apr-10 11:30
sitebuilderLuc Pattyn3-Apr-10 11:30 
Questionstrange error "could not load devenv.exe or some of its dependencies" ( Unit testing /unit testing framework/NServiceBus.Testing.Test ) Pin
Tiju John2-Apr-10 3:30
Tiju John2-Apr-10 3:30 
AnswerRe: strange error "could not load devenv.exe or some of its dependencies" ( Unit testing /unit testing framework/NServiceBus.Testing.Test ) Pin
Luc Pattyn2-Apr-10 4:02
sitebuilderLuc Pattyn2-Apr-10 4:02 
AnswerRe: strange error "could not load devenv.exe or some of its dependencies" ( Unit testing /unit testing framework/NServiceBus.Testing.Test ) Pin
Tiju John6-Apr-10 21:04
Tiju John6-Apr-10 21:04 
Questionwho handles error while writing the source code???. Pin
Isaac Gordon1-Apr-10 20:50
Isaac Gordon1-Apr-10 20:50 
AnswerRe: who handles error while writing the source code???. Pin
pdnet1-Apr-10 21:53
pdnet1-Apr-10 21:53 
AnswerRe: who handles error while writing the source code???. Pin
Not Active2-Apr-10 2:02
mentorNot Active2-Apr-10 2:02 
QuestionDoes capFileSaveDIB work Pin
jacket601-Apr-10 9:12
jacket601-Apr-10 9:12 
QuestionHow to get the number displayed in the text which is changing randomly Pin
jaimo1-Apr-10 1:14
jaimo1-Apr-10 1:14 
AnswerRe: How to get the number displayed in the text which is changing randomly Pin
Not Active1-Apr-10 1:39
mentorNot Active1-Apr-10 1:39 
AnswerRe: How to get the number displayed in the text which is changing randomly Pin
jaypatel51211-Apr-10 1:57
jaypatel51211-Apr-10 1:57 
Questionconnection between matlab and Vb6 Pin
G. S. Doiphode31-Mar-10 19:12
G. S. Doiphode31-Mar-10 19:12 
AnswerRe: connection between matlab and Vb6 Pin
Richard MacCutchan31-Mar-10 23:02
mveRichard MacCutchan31-Mar-10 23:02 
AnswerRe: connection between matlab and Vb6 Pin
Dave Kreskowiak1-Apr-10 3:12
mveDave Kreskowiak1-Apr-10 3:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.