Skip to content

Commit 52394f4

Browse files
committed
Fix ShowBuildMenu.sh
Signed-off-by: maca88 <[email protected]>
1 parent ec9455c commit 52394f4

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
@@ -197,14 +197,14 @@ getAsyncGeneratorPath(){
197197
cd Tools
198198

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

202202
if [ ! -d $async_generator_path ]
203203
then
204-
dotnet restore "./packages.csproj"
204+
dotnet restore "./packages.csproj" --packages .
205205
fi
206206

207-
async_generator_path="$async_generator_path/netcoreapp2.1/AsyncGenerator.CommandLine.dll"
207+
async_generator_path="Tools/$async_generator_path/netcoreapp2.1/AsyncGenerator.CommandLine.dll"
208208
cd ..
209209
}
210210

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)