I'm having a different problem with this one:
Fehler bei der Aufgabe. "resgen.exe" wurde nicht gefunden, oder das korrekte Microsoft Windows SDK ist nicht installiert. Die Aufgabe sucht im Unterverzeichnis "bin" des im Wert "InstallationFolder" des Registrierungsschlüssels "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86" angegebenen Speicherorts nach "resgen.exe". Das Problem lässt sich möglicherweise wie folgt beheben: 1) Installieren Sie das Microsoft Windows SDK. 2) Installieren Sie Visual Studio 2010. 3) Legen Sie den obigen Registrierungsschlüssel manuell auf den korrekten Speicherort fest. 4) Übergeben Sie den korrekten Speicherort in den ToolPath-Parameter der Aufgabe. (MSB3091)
Despite my error being in german, the problem is that I've set said registry key to a directory that contains the "bin" folder which contains the "resgen.exe". It still throws that at me.
My "InstallationFolder" key is set to "D:\Coding\SharpDevelop\Tools" and the "resgen.exe" is at "D:\Coding\SharpDevelop\Tools\bin
esgen.exe" so it should find the "bin" folder and the exe.
I also can't really try suggestion 1 because for mysterious reasons the SDK isn't installable on this machine, it always fails and tells me to look in a help file that doesn't exist. Letting aside that I don't fancy having to install 800 MB of SDK just for ONE file...
I don't wanna go for suggestion 2 as what's the point of using SharpDevelop in the first place then, might aswell just use VS then...
I did suggestion 3, obviously without success.
I can't try out suggestion 4 since I have no idea how'd I do that.
This all happens when I try to compile a dll that's targeted for .Net 3.5 and compiled with C# 5.0 (since I updated .Net to 4.5 I lost 4.0 and got 5.0 instead...) and I can't compile it with .Net 3.0 because there are a few dozen functions with optional parameters that'd need to get overloaded versions made just because parameter defaults weren't allowed in .Net 3.0.
So if anyone could help me get this working somehow I'd be very glad.
SharpDevelop Version : 184.108.40.20690-e0365b10
.NET Version : 4.0.30319.17929
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : German (Germany) (de-DE)
Current UI language : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 205760kb
GC Heap Memory : 27815kb
PS: ctrl-a doesn't work in the about info field with this information, but atleast right-click "select all" does.
Also it's not possible to combine \ and r as it converts that to some special char, which is why it shows "\bin esgen.exe" above. Escaping doesn't seem to work either, then it becomes "\bin\
Edit: never mind, I just realized (yeah it took quite a while) that it's a bug in MSBuild itself, duh. Damn it.