Upgrade dotnet framework and add batch file.