It did take me a few days of work, which could be broken down like this:
- Writing my own class for building the compilation commands
- Testing this class
- Studying the SharpDevelop command
- Studying
Microsoft.Common.targets
The picture shows a program compiled by me..its icon is loaded from EmbeddedResources and the CASD image comes from the default Resources.resx. The last problem was that it could not find the resources.. I solved it by first running my own resgen command and then the SD command csc, and when I saw that it could not find the resource files, I noticed that my resgen was saving the resources with the same extension .resx instead of .resources..such a small mistake, and it cost me so much effort and above all time…
but I am definitely not done with this yet, next I still need to enable compiling to the release configuration as well and above all learn how to send commands to the console and parse their output, so that I can show the user the compiler errors, warnings and messages. 🙂