wabbajack/Wabbajack.App.Blazor/Wabbajack.App.Blazor.csproj

71 lines
3.4 KiB
XML
Raw Permalink Normal View History

<Project Sdk="Microsoft.NET.Sdk.Razor">
2022-01-09 13:33:22 +00:00
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<PublishSingleFile>True</PublishSingleFile>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2022-01-09 13:33:22 +00:00
</PropertyGroup>
<ItemGroup>
<SupportedPlatform Include="browser" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Blazored.Modal" Version="6.0.1" />
<PackageReference Include="Blazored.Toast" Version="3.2.2" />
2022-02-09 04:09:44 +00:00
<PackageReference Include="DynamicData" Version="7.4.11" />
2022-01-30 05:47:49 +00:00
<PackageReference Include="Fizzler.Systems.HtmlAgilityPack" Version="1.2.1" />
<PackageReference Include="GitInfo" Version="2.2.0" />
2022-01-29 06:15:17 +00:00
<PackageReference Include="MahApps.Metro" Version="2.4.9" />
2022-01-30 05:47:49 +00:00
<PackageReference Include="MahApps.Metro.IconPacks" Version="4.11.0" />
<PackageReference Include="Microsoft-WindowsAPICodePack-Shell" Version="1.1.4" />
2022-02-09 04:09:44 +00:00
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Wpf" Version="6.0.200-preview.12.2441" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="6.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="6.0.2" />
<PackageReference Include="NLog" Version="5.0.0-rc2" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.0.0-rc2" />
<PackageReference Include="PInvoke.User32" Version="0.7.104" />
2022-01-29 22:32:46 +00:00
<PackageReference Include="ReactiveUI" Version="17.1.17" />
<PackageReference Include="ReactiveUI.Fody" Version="17.1.17" />
<PackageReference Include="ReactiveUI.WPF" Version="17.1.17" />
2022-02-09 04:09:44 +00:00
<PackageReference Include="Silk.NET.DXGI" Version="2.13.0" />
2022-01-21 13:41:37 +00:00
<PackageReference Include="System.Reactive" Version="5.0.0" />
2022-01-09 13:33:22 +00:00
</ItemGroup>
<PropertyGroup>
<ApplicationIcon>Resources\Icons\wabbajack.ico</ApplicationIcon>
</PropertyGroup>
2022-01-09 13:33:22 +00:00
<ItemGroup>
2022-01-12 08:45:30 +00:00
<Content Update="wwwroot\index.html">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
2022-01-09 13:33:22 +00:00
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Wabbajack.Common\Wabbajack.Common.csproj" />
<ProjectReference Include="..\Wabbajack.Compiler\Wabbajack.Compiler.csproj" />
<ProjectReference Include="..\Wabbajack.Installer\Wabbajack.Installer.csproj" />
<ProjectReference Include="..\Wabbajack.Paths.IO\Wabbajack.Paths.IO.csproj" />
<ProjectReference Include="..\Wabbajack.Services.OSIntegrated\Wabbajack.Services.OSIntegrated.csproj" />
2022-01-09 13:33:22 +00:00
</ItemGroup>
2022-01-29 06:15:17 +00:00
<ItemGroup>
<Compile Remove="Browser\BrowserWindow.xaml.cs" />
</ItemGroup>
2022-01-20 08:34:38 +00:00
<!-- dotnet tool install Excubo.WebCompiler -g -->
<Target Name="TestWebCompiler" BeforeTargets="PreBuildEvent">
<Exec Command="webcompiler -h" ContinueOnError="true" StandardOutputImportance="low" StandardErrorImportance="low" LogStandardErrorAsError="false" IgnoreExitCode="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>
</Target>
<Target Name="CompileStaticAssets" AfterTargets="TestWebCompiler" Condition="'$(ErrorCode)' == '0'">
<Exec Command="webcompiler -r .\ -c webcompilerconfiguration.json" StandardOutputImportance="high" StandardErrorImportance="high" />
</Target>
2022-01-09 13:33:22 +00:00
</Project>