-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added <EnableWindowsTargeting> to Windows csprojs, so we can build th…
…ese projects on Linux as well
- Loading branch information
Showing
2 changed files
with
45 additions
and
43 deletions.
There are no files selected for viewing
29 changes: 15 additions & 14 deletions
29
src/20-Services/Wtq.Services.WinForms/Wtq.Services.WinForms.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<AssemblyName>Wtq.Services.WinForms</AssemblyName> | ||
<RootNamespace>Wtq.Services.WinForms</RootNamespace> | ||
|
||
<TargetFramework>net8.0-windows</TargetFramework> | ||
|
||
<UseWindowsForms>true</UseWindowsForms> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\10-Core\Wtq\Wtq.csproj" /> | ||
<ProjectReference Include="..\Wtq.Services.Win32\Wtq.Services.Win32.csproj" /> | ||
</ItemGroup> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<AssemblyName>Wtq.Services.WinForms</AssemblyName> | ||
<RootNamespace>Wtq.Services.WinForms</RootNamespace> | ||
|
||
<TargetFramework>net8.0-windows</TargetFramework> | ||
<EnableWindowsTargeting>true</EnableWindowsTargeting> | ||
|
||
<UseWindowsForms>true</UseWindowsForms> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\10-Core\Wtq\Wtq.csproj" /> | ||
<ProjectReference Include="..\Wtq.Services.Win32\Wtq.Services.Win32.csproj" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,30 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<AssemblyName>wtq</AssemblyName> | ||
<RootNamespace>Wtq.Host.Windows</RootNamespace> | ||
|
||
<TargetFramework>net8.0-windows</TargetFramework> | ||
<OutputType>WinExe</OutputType> | ||
|
||
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\..\..\schema\wtq.schema.2.json" Link="wtq.schema.2.json"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\..\wtq.jsonc" Link="wtq.jsonc"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\10-Core\Wtq\Wtq.csproj" /> | ||
<ProjectReference Include="..\..\20-Services\Wtq.Services.Win32\Wtq.Services.Win32.csproj" /> | ||
<ProjectReference Include="..\..\20-Services\Wtq.Services.WinForms\Wtq.Services.WinForms.csproj" /> | ||
</ItemGroup> | ||
</Project> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<AssemblyName>wtq</AssemblyName> | ||
<RootNamespace>Wtq.Host.Windows</RootNamespace> | ||
|
||
<TargetFramework>net8.0-windows</TargetFramework> | ||
<OutputType>WinExe</OutputType> | ||
<EnableWindowsTargeting>true</EnableWindowsTargeting> | ||
|
||
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\..\..\schema\wtq.schema.2.json" Link="wtq.schema.2.json"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\..\wtq.jsonc" Link="wtq.jsonc"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\10-Core\Wtq\Wtq.csproj" /> | ||
<ProjectReference Include="..\..\20-Services\Wtq.Services.Win32\Wtq.Services.Win32.csproj" /> | ||
<ProjectReference Include="..\..\20-Services\Wtq.Services.WinForms\Wtq.Services.WinForms.csproj" /> | ||
</ItemGroup> | ||
</Project> |