-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQubic.Toolkit.csproj
More file actions
80 lines (70 loc) · 3.17 KB
/
Qubic.Toolkit.csproj
File metadata and controls
80 lines (70 loc) · 3.17 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<!-- Ensure Photino native libs are bundled inside single-file publish -->
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<!-- Windows exe icon -->
<ApplicationIcon>icon.ico</ApplicationIcon>
<AssemblyName>Qubic.Net.Toolkit</AssemblyName>
<Version>0.3.0</Version>
</PropertyGroup>
<!-- ASP.NET Core global usings (not included by Razor SDK unlike Web SDK) -->
<ItemGroup>
<Using Include="Microsoft.AspNetCore.Builder" />
<Using Include="Microsoft.AspNetCore.Hosting" />
<Using Include="Microsoft.Extensions.DependencyInjection" />
<Using Include="Microsoft.Extensions.Hosting" />
<Using Include="Microsoft.Extensions.Logging" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Photino.Blazor" Version="4.0.13" />
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlcipher" Version="2.1.*" />
</ItemGroup>
<!-- Required for server mode (WebApplication, Blazor Server, etc.) -->
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="deps/Qubic.Net/src/Qubic.Services/Qubic.Services.csproj" />
</ItemGroup>
<!-- Exclude submodule files from Razor/Compile auto-discovery -->
<ItemGroup>
<Compile Remove="deps/**" />
<Content Remove="deps/**" />
<None Remove="deps/**" />
</ItemGroup>
<!-- Re-include ContractGen parsing files for runtime C++ header parsing -->
<ItemGroup>
<Compile Include="deps/Qubic.Net/tools/Qubic.ContractGen/Parsing/ContractModel.cs" Link="Services/ContractParsing/ContractModel.cs" />
<Compile Include="deps/Qubic.Net/tools/Qubic.ContractGen/Parsing/CppHeaderParser.cs" Link="Services/ContractParsing/CppHeaderParser.cs" />
<Compile Include="deps/Qubic.Net/tools/Qubic.ContractGen/Parsing/TypeMapper.cs" Link="Services/ContractParsing/TypeMapper.cs" />
<Compile Include="deps/Qubic.Net/tools/Qubic.ContractGen/Generation/CSharpEmitter.cs" Link="Services/ContractParsing/CSharpEmitter.cs" />
</ItemGroup>
<ItemGroup>
<Content Update="wwwroot\**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Update="icon.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<EmbeddedResource Include="icon.ico">
<LogicalName>icon.ico</LogicalName>
</EmbeddedResource>
</ItemGroup>
<!-- Embed wwwroot as a zip for single-file publish support -->
<Target Name="EmbedWwwrootZip" BeforeTargets="PrepareForBuild">
<MakeDir Directories="$(IntermediateOutputPath)" />
<ZipDirectory SourceDirectory="$(MSBuildProjectDirectory)/wwwroot"
DestinationFile="$(IntermediateOutputPath)wwwroot.zip"
Overwrite="true" />
<ItemGroup>
<EmbeddedResource Include="$(IntermediateOutputPath)wwwroot.zip">
<LogicalName>wwwroot.zip</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Target>
</Project>