-
Notifications
You must be signed in to change notification settings - Fork 0
/
YarnSpinnerJS.csproj
28 lines (23 loc) · 1.18 KB
/
YarnSpinnerJS.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<EmitSourceMap>true</EmitSourceMap>
<Nullable>enable</Nullable>
<YarnSpinnerDevelopmentPath>../YarnSpinner</YarnSpinnerDevelopmentPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DotNetJS" Version="0.7.3" />
</ItemGroup>
<!-- If Yarn Spinner doesn't exist at YarnSpinnerDevelopmentPath, then pull
the most recent version from NuGet. -->
<ItemGroup Condition="!Exists('$(YarnSpinnerDevelopmentPath)')">
<PackageReference Include="YarnSpinner" Version="3.0.0-beta.1" />
<PackageReference Include="YarnSpinner.Compiler" Version="3.0.0-beta.1" />
</ItemGroup>
<!-- If Yarn Spinner DOES exist at YarnSpinnerDevelopmentPath, use that. -->
<ItemGroup Condition="Exists('$(YarnSpinnerDevelopmentPath)')">
<ProjectReference Include="$(YarnSpinnerDevelopmentPath)/YarnSpinner/YarnSpinner.csproj" />
<ProjectReference
Include="$(YarnSpinnerDevelopmentPath)/YarnSpinner.Compiler/YarnSpinner.Compiler.csproj" />
</ItemGroup>
</Project>