Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
csproj just with package reference #11
Browse files Browse the repository at this point in the history
tesar-tech committed Oct 10, 2024
1 parent 9ddffee commit ab42a4b
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions BlazorStaticMinimalBlog.csproj
Original file line number Diff line number Diff line change
@@ -6,29 +6,9 @@
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>


<PropertyGroup>
<!-- Serve for Conditional logic for template instantiation -->
<!-- You can put the version inside the PackageReference -->
<BlazorStaticVersion>1.0.0-beta.13</BlazorStaticVersion>
</PropertyGroup>

<!--#if (UseInTemplate)-->
<ItemGroup>
<PackageReference Include="BlazorStatic" Version="$(BlazorStaticVersion)"/>
</ItemGroup>
<!--#else-->
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
<!-- for debugging when running from BlazorStaticWebsite.sln-->
<ProjectReference Include="../../../../src/BlazorStatic.csproj"/>
<ItemGroup >
<PackageReference Include="BlazorStatic" Version="1.0.0-beta.13"/>
</ItemGroup>

<ItemGroup Condition="'$(Configuration)' == 'Release'">
<!--When building the page on ci/cd-->
<PackageReference Include="BlazorStatic" Version="$(BlazorStaticVersion)"/>
</ItemGroup>
<!--#endif-->


<ItemGroup>
<None Update="Content/**/*">

0 comments on commit ab42a4b

Please sign in to comment.