Update dotnet.pp

Moved implementation into platform specific class