42 lines
1.9 KiB
XML
42 lines
1.9 KiB
XML
<Project>
|
|
<Import Project="..\Directory.Build.props" />
|
|
|
|
<PropertyGroup>
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
<EnableDefaultItems>False</EnableDefaultItems>
|
|
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
|
|
<IncludeBuildOutput>False</IncludeBuildOutput>
|
|
<IncludeSource>False</IncludeSource>
|
|
<NoWarn>2008;8021</NoWarn>
|
|
<PackageVersion Condition="'$(VersionSuffix)' == ''">$(VersionPrefix)</PackageVersion>
|
|
<PackageVersion Condition="'$(VersionSuffix)' != ''">$(VersionPrefix)-$(VersionSuffix)</PackageVersion>
|
|
<PackageOutputPath Condition="'$(PackageOutputPath)' == ''">$(MSBuildThisFileDirectory)..\artifacts\tmp\</PackageOutputPath>
|
|
<NuspecProperties>version=$(PackageVersion)</NuspecProperties>
|
|
<AspNetCoreVersionFromLineup>@(PackageReference->WithMetadataValue('Identity', 'Microsoft.AspNetCore.All')->Metadata('Version'))</AspNetCoreVersionFromLineup>
|
|
|
|
<!--
|
|
These are not regular projects. They are just wrappers for the .nuspec files in each
|
|
of the template directories. The project files just provide a convenient way to package
|
|
the template .nupkgs from MSBuild.
|
|
|
|
As such, the projects don't have any dependencies and don't even produce any
|
|
.NET assemblies on build. So it's not relevant to participate in KoreBuild's lineup
|
|
system. The following line bypasses lineup verification.
|
|
-->
|
|
<KoreBuildRestoreTargetsImported>true</KoreBuildRestoreTargetsImported>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="$(MSBuildThisFileDirectory)../tools/DependencyUpdater/DependencyUpdater.csproj" />
|
|
<None Include="Content/**" />
|
|
|
|
<!--
|
|
Having this package reference causes KoreBuild to pick the applicable
|
|
ASP.NET Core version from the lineup, making it possible to declare
|
|
the AspNetCoreVersionFromLineup variable above.
|
|
-->
|
|
<PackageReference Include="Microsoft.AspNetCore.All" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|