Valdiralita
Custom msbuild task
after inspecting the generated files it was clear that my msbuild task sometimes produced wrong output. the task calls another binary that creates the file and waits for its exit. then it opens the file and reads the content. sometimes the file seems to be empty. placing a sleep(5000) after process.WaitForExit() seems to make it work ...
37 replies
Custom msbuild task
so my log output looks like this:
CSC : warning SG0001: processed: A [/..../...csproj]
CSC : warning SG0001: processed: B [/..../...csproj]
CSC : warning SG0001: processed: C [/..../...csproj]
CSC : warning SG0001: processed: D [/..../...csproj]
/..../....cs(116,75): error CS0117: 'E_Generated' does not contain a definition for 'mystruct' [/..../....csproj]
/..../....cs(116,111): error CS0117: 'F_Generated' does not contain a definition for 'mystruct' [/..../....csproj]
Build FAILED.
CSC : warning SG0001: processed: E [/..../....csproj]
CSC : warning SG0001: processed: F [/..../....csproj]
37 replies