Search code examples
.netsilverlightresourcespre-build-event

Add custom resource to Silverlight application with pre-build event


I want to add source code of my silverlight project to resource as flat text files (for use in run-time with Application.GetResourceStream()). How I can do it without pre-build event of my project?


Solution

  • Unfortunately, it's impossible. You should use pre-build events.