Use the GenerateResource Task task to convert .txt and .resx files to and from common language runtime binary .resources files.