Skip to content

Commit 3eb6d2e

Browse files
committed
Debug
1 parent 84cbd70 commit 3eb6d2e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
- name: Install dependencies
2828
run: dotnet restore
2929

30+
- name: Debug NuGet Packages Path
31+
run: dotnet nuget locals global-packages -l
32+
3033
- name: Build
3134
run: dotnet build --configuration ${{ matrix.configuration }}
3235

src/Blazor.Diagrams/Blazor.Diagrams.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,17 @@
3939
</None>
4040
</ItemGroup>
4141

42+
<PropertyGroup>
43+
<NuGetPackageRoot Condition="'$(NuGetPackageRoot)' == ''">$(USERPROFILE)\.nuget\packages\</NuGetPackageRoot>
44+
</PropertyGroup>
45+
4246
<Target Name="TestWebCompiler" AfterTargets="BeforeBuild">
47+
<Message Text="NuGetPackageRoot: $(NuGetPackageRoot)" Importance="high" />
48+
<Exec Command="echo NuGetPackageRoot: $(NuGetPackageRoot)" />
49+
4350
<!-- Run Strong Name Signer -->
4451
<Exec ContinueOnError="false"
45-
Command="&quot;..\..\packages\Brutal.Dev.StrongNameSigner.3.5.1\build\StrongNameSigner.Console.exe&quot; -in &quot;..\..\packages\&quot;" />
52+
Command="&quot;$(NuGetPackageRoot)Brutal.Dev.StrongNameSigner.3.5.1\build\StrongNameSigner.Console.exe&quot; -in &quot;$(NuGetPackageRoot)&quot;" />
4653

4754
<!-- Test if Excubo.WebCompiler is installed (recommended) -->
4855
<Exec Command="webcompiler -h" ContinueOnError="true" StandardOutputImportance="low" StandardErrorImportance="low" LogStandardErrorAsError="false" IgnoreExitCode="true">

0 commit comments

Comments
 (0)