diff --git a/packages/dotnet/5.0.201/compile b/packages/dotnet/5.0.201/compile index 1500acb..8bfcc27 100644 --- a/packages/dotnet/5.0.201/compile +++ b/packages/dotnet/5.0.201/compile @@ -3,10 +3,13 @@ export DOTNET_CLI_HOME=$PWD export HOME=$PWD +rename 's/$/\.cs/' "$@" # Add .cs extension + dotnet build --help > /dev/null # Shut the thing up dotnet new console -o . --no-restore rm Program.cs + dotnet restore --source $DOTNET_ROOT/.nuget/packages dotnet build --no-restore \ No newline at end of file