Update dotnet.pp

Remove inheritance