winforms/pkg/Microsoft.Dotnet.WinForms.P.../Microsoft.Dotnet.Winforms.P...

88 строки
2.7 KiB
XML

<Project InitialTargets="BuildPackage">
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" />
<PropertyGroup>
<EnableDefaultItems>false</EnableDefaultItems>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<UsingToolTemplateLocalizer>true</UsingToolTemplateLocalizer>
<!-- Suppress some nuget warnings that are breaking our build until https://github.com/dotnet/arcade/issues/4337 is resolved -->
<NoWarn>$(NoWarn);NU5131;NU5128</NoWarn>
<!-- Opt-out repo features -->
<UsingToolXliff>false</UsingToolXliff>
</PropertyGroup>
<!-- This is a Packaging Project -->
<PropertyGroup>
<IsPackable>true</IsPackable>
<IsShipping>false</IsShipping>
</PropertyGroup>
<PropertyGroup>
<IncludeBuildOutput>false</IncludeBuildOutput>
<PublishWindowsPdb>false</PublishWindowsPdb>
<IncludeSymbols>false</IncludeSymbols>
</PropertyGroup>
<PropertyGroup>
<!-- Disable a VS-specific target that is failing when building this csproj -->
<GenerateDependencyFile>false</GenerateDependencyFile>
</PropertyGroup>
<!-- nuspec properties -->
<PropertyGroup>
<PackageId>Microsoft.Dotnet.WinForms.ProjectTemplates</PackageId>
<Description>Project templates for .NET Core Windows Forms projects</Description>
<Authors>Microsoft</Authors>
<RepositoryUrl>https://github.com/dotnet/winforms</RepositoryUrl>
<PackageTags>Windows Forms WinForms Project Templates .NET Core</PackageTags>
</PropertyGroup>
<PropertyGroup>
<!-- Suppress creation of contentFiles directory -->
<ContentTargetFolders>.\</ContentTargetFolders>
</PropertyGroup>
<ItemGroup Condition="'$(PackageTargetRuntime)' == ''">
<Content Include="content\**\*" />
<Content Update="@(Content)">
<!-- Suppress creation of content directory -->
<PackagePath>.\</PackagePath>
<SkipPackageFileCheck>true</SkipPackageFileCheck>
</Content>
</ItemGroup>
<Target Name="BuildPackage">
<ItemGroup>
<ProjectReference>
</ProjectReference>
</ItemGroup>
</Target>
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<ItemGroup>
<IntermediateAssembly Remove="@(IntermediateAssembly)" />
<IntermediateRefAssembly Remove="@(IntermediateRefAssembly)" />
</ItemGroup>
<ItemGroup>
<None Include="readme.md" />
</ItemGroup>
<PropertyGroup>
<!--
This property must be overridden to remove a few targets that compile assemblies
-->
<CoreBuildDependsOn>
BuildOnlySettings;
PrepareForBuild;
PreBuildEvent;
ResolveReferences;
GetTargetPath;
PrepareForRun;
IncrementalClean;
PostBuildEvent
</CoreBuildDependsOn>
</PropertyGroup>
</Project>