Embedding Resource in C# without Visual Studio -


i have question similar this. however, not using visual studio (yeah, know should don't want to, don't use visual studio). how embed text file exe using notepad , csc.exe?

according website: building embedded resources using csc

using kb article , docs vs.net's csharp compiler options arrived @ this:

csc.exe /out:resources.dll /target:library /res:image.png,resources.image.png resources.cs 

the tricky thing here ms docs /res option mention using .resources files, compiled resx files. in fact can embed sort of file in there. "resources.image.png" part identifies resource , puts under resources namespace, vs.net when specify default namespace project.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -