Sorry for asking. I found the problem as soon as I pressed the button ;-)
I had to upgrade the ToolsVersion from 3.5 to 4.0 in the file that executes the these statements, then it worked.
/Ulf
I had to upgrade the ToolsVersion from 3.5 to 4.0 in the file that executes the these statements, then it worked.
/Ulf