You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							64 lines
						
					
					
						
							2.4 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							64 lines
						
					
					
						
							2.4 KiB
						
					
					
				
								<Project Sdk="Microsoft.NET.Sdk">
							 | 
						|
								
							 | 
						|
								    <Import Project="..\Apewer\Apewer.props" />
							 | 
						|
								
							 | 
						|
								    <PropertyGroup>
							 | 
						|
								        <NoWarn>CS0108;CS0612</NoWarn>
							 | 
						|
								        <TargetFrameworks>net461;net40;net20;netcoreapp3.1</TargetFrameworks>
							 | 
						|
								    </PropertyGroup>
							 | 
						|
								
							 | 
						|
								    <!-- 打包 -->
							 | 
						|
								    <PropertyGroup>
							 | 
						|
								        <Description>实现 Windows 程序功能。</Description>
							 | 
						|
								    </PropertyGroup>
							 | 
						|
								
							 | 
						|
								    <ItemGroup>
							 | 
						|
								        <ProjectReference Include="..\Apewer\Apewer.csproj" />
							 | 
						|
								    </ItemGroup>
							 | 
						|
								
							 | 
						|
								    <!-- .NET Core 3.1 -->
							 | 
						|
								    <PropertyGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'">
							 | 
						|
								        <!-- <UseWPF>true</UseWPF> -->
							 | 
						|
								        <!-- <UseWindowsForms>true</UseWindowsForms> -->
							 | 
						|
								    </PropertyGroup>
							 | 
						|
								    <ItemGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'">
							 | 
						|
								        <!-- <FrameworkReference Include="Microsoft.AspNetCore.App" /> -->
							 | 
						|
								        <FrameworkReference Include="Microsoft.WindowsDesktop.App" />
							 | 
						|
								        <!--<PackageReference Include="System.ServiceProcess.ServiceController" Version="4.4.0" />-->
							 | 
						|
								        <PackageReference Include="System.ServiceProcess.ServiceController" Version="6.0.0" />
							 | 
						|
								    </ItemGroup>
							 | 
						|
								
							 | 
						|
								    <!-- .NET Framework 4.6.1 -->
							 | 
						|
								    <ItemGroup Condition="'$(TargetFramework)'=='net461'">
							 | 
						|
								        <Reference Include="CustomMarshalers" />
							 | 
						|
								        <Reference Include="PresentationCore" />
							 | 
						|
								        <Reference Include="System.Drawing" />
							 | 
						|
								        <Reference Include="System.Management" />
							 | 
						|
								        <Reference Include="System.ServiceProcess " />
							 | 
						|
								        <Reference Include="System.Speech" />
							 | 
						|
								        <Reference Include="System.Windows.Forms" />
							 | 
						|
								        <Reference Include="WindowsBase" />
							 | 
						|
								    </ItemGroup>
							 | 
						|
								
							 | 
						|
								    <!-- .NET Framework 4.0 -->
							 | 
						|
								    <ItemGroup Condition="'$(TargetFramework)'=='net40'">
							 | 
						|
								        <Reference Include="CustomMarshalers" />
							 | 
						|
								        <Reference Include="PresentationCore" />
							 | 
						|
								        <Reference Include="System.Drawing" />
							 | 
						|
								        <Reference Include="System.Management" />
							 | 
						|
								        <Reference Include="System.ServiceProcess " />
							 | 
						|
								        <Reference Include="System.Speech" />
							 | 
						|
								        <Reference Include="System.Windows.Forms" />
							 | 
						|
								        <Reference Include="WindowsBase" />
							 | 
						|
								    </ItemGroup>
							 | 
						|
								
							 | 
						|
								    <!-- .NET Framework 2.0 -->
							 | 
						|
								    <ItemGroup Condition="'$(TargetFramework)'=='net20'">
							 | 
						|
								        <Reference Include="CustomMarshalers" />
							 | 
						|
								        <Reference Include="System.Configuration" />
							 | 
						|
								        <Reference Include="System.Management" />
							 | 
						|
								        <Reference Include="System.ServiceProcess " />
							 | 
						|
								        <Reference Include="System.Windows.Forms" />
							 | 
						|
								    </ItemGroup>
							 | 
						|
								
							 | 
						|
								</Project>
							 |