Skip to content

Commit 662620a

Browse files
committed
Fix ShowBuildMenu.sh
Signed-off-by: maca88 <[email protected]>
1 parent 28ecfdc commit 662620a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

ShowBuildMenu.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,14 +193,14 @@ getAsyncGeneratorPath(){
193193
cd Tools
194194

195195
async_generator_version="$(cat packages.csproj | grep Include=\"CSharpAsyncGenerator.CommandLine | cut -d\" -f4)"
196-
async_generator_path="Tools/csharpasyncgenerator.commandline/$async_generator_version/tools"
196+
async_generator_path="csharpasyncgenerator.commandline/$async_generator_version/tools"
197197

198198
if [ ! -d $async_generator_path ]
199199
then
200-
dotnet restore "./packages.csproj"
200+
dotnet restore "./packages.csproj" --packages .
201201
fi
202202

203-
async_generator_path="$async_generator_path/netcoreapp2.1/AsyncGenerator.CommandLine.dll"
203+
async_generator_path="Tools/$async_generator_path/netcoreapp2.1/AsyncGenerator.CommandLine.dll"
204204
cd ..
205205
}
206206

Tools/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ vswhere/
44
csharpasyncgenerator.commandline/
55
gitreleasemanager/
66
SQLitePCLRaw.core.*
7-
obj/
7+
obj/
8+
microsoft.*

0 commit comments

Comments
 (0)