Merge branch 'release/2.1' into dev
This commit is contained in:
commit
fd9e886eac
|
|
@ -7,14 +7,36 @@
|
||||||
<IncludeBuildOutput>false</IncludeBuildOutput>
|
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||||
<EnableApiCheck>false</EnableApiCheck>
|
<EnableApiCheck>false</EnableApiCheck>
|
||||||
<GenerateDocumentationFile>false</GenerateDocumentationFile>
|
<GenerateDocumentationFile>false</GenerateDocumentationFile>
|
||||||
|
<NuspecFile>$(MSBuildProjectName).nuspec</NuspecFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="$(MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion)" />
|
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="$(MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion)" PrivateAssets="All" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<Target Name="PopulateNuspec" BeforeTargets="GenerateNuspec" DependsOnTargets="Build">
|
||||||
<None Include="$(OutputPath)$(AssemblyName).dll" Pack="true" PackagePath="analyzers\dotnet\cs\" />
|
|
||||||
</ItemGroup>
|
<PropertyGroup>
|
||||||
|
<!-- Make sure we create a symbols.nupkg. -->
|
||||||
|
<IncludeSymbols>true</IncludeSymbols>
|
||||||
|
|
||||||
|
<NuspecProperties>
|
||||||
|
id=$(PackageId);
|
||||||
|
version=$(PackageVersion);
|
||||||
|
authors=$(Authors);
|
||||||
|
description=$(Description);
|
||||||
|
tags=$(PackageTags.Replace(';', ' '));
|
||||||
|
licenseUrl=$(PackageLicenseUrl);
|
||||||
|
projectUrl=$(PackageProjectUrl);
|
||||||
|
iconUrl=$(PackageIconUrl);
|
||||||
|
repositoryUrl=$(RepositoryUrl);
|
||||||
|
repositoryCommit=$(RepositoryCommit);
|
||||||
|
copyright=$(Copyright);
|
||||||
|
|
||||||
|
OutputBinary=$(OutputPath)$(AssemblyName).dll;
|
||||||
|
OutputSymbol=$(OutputPath)$(AssemblyName).pdb;
|
||||||
|
</NuspecProperties>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||||
|
<metadata>
|
||||||
|
<id>$id$</id>
|
||||||
|
<version>$version$</version>
|
||||||
|
<authors>$authors$</authors>
|
||||||
|
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||||
|
<licenseUrl>$licenseUrl$</licenseUrl>
|
||||||
|
<projectUrl>$projectUrl$</projectUrl>
|
||||||
|
<iconUrl>$iconUrl$</iconUrl>
|
||||||
|
<description>$description$</description>
|
||||||
|
<copyright>$copyright$</copyright>
|
||||||
|
<tags>$tags$</tags>
|
||||||
|
<repository type="git" url="$repositoryUrl$" commit="$repositoryCommit$" />
|
||||||
|
<dependencies>
|
||||||
|
<group targetFramework=".NETStandard1.3" />
|
||||||
|
</dependencies>
|
||||||
|
</metadata>
|
||||||
|
|
||||||
|
<files>
|
||||||
|
<file src="$OutputBinary$" target="analyzers\dotnet\cs\" />
|
||||||
|
<file src="$OutputSymbol$" target="analyzers\dotnet\cs\" />
|
||||||
|
</files>
|
||||||
|
</package>
|
||||||
|
|
@ -42,6 +42,7 @@
|
||||||
tags=$([MSBuild]::Escape($(PackageTags)));
|
tags=$([MSBuild]::Escape($(PackageTags)));
|
||||||
serviceable=$(Serviceable);
|
serviceable=$(Serviceable);
|
||||||
repositoryUrl=$(RepositoryUrl);
|
repositoryUrl=$(RepositoryUrl);
|
||||||
|
repositoryCommit=$(RepositoryCommit);
|
||||||
targetframework=$(TargetFramework);
|
targetframework=$(TargetFramework);
|
||||||
MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion=$(MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion);
|
MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion=$(MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion);
|
||||||
MicrosoftAspNetCoreRazorRuntimePackageVersion=$(MicrosoftAspNetCoreRazorRuntimePackageVersion);
|
MicrosoftAspNetCoreRazorRuntimePackageVersion=$(MicrosoftAspNetCoreRazorRuntimePackageVersion);
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
<copyright>$copyright$</copyright>
|
<copyright>$copyright$</copyright>
|
||||||
<tags>$tags$</tags>
|
<tags>$tags$</tags>
|
||||||
<serviceable>$serviceable$</serviceable>
|
<serviceable>$serviceable$</serviceable>
|
||||||
<repository type="git" url="$repositoryUrl$" />
|
<repository type="git" url="$repositoryUrl$" commit="$repositoryCommit$" />
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<group targetFramework=".NETStandard2.0">
|
<group targetFramework=".NETStandard2.0">
|
||||||
<dependency id="Microsoft.AspNetCore.Mvc.ViewFeatures" version="$version$" exclude="Build,Analyzers" />
|
<dependency id="Microsoft.AspNetCore.Mvc.ViewFeatures" version="$version$" exclude="Build,Analyzers" />
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFrameworks>$(StandardTestTfms)</TargetFrameworks>
|
<TargetFrameworks>$(StandardTestTfms)</TargetFrameworks>
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Mvc.Analyzers\Microsoft.AspNetCore.Mvc.Analyzers.csproj" />
|
<ProjectReference Include="..\..\src\Microsoft.AspNetCore.Mvc.Analyzers\Microsoft.AspNetCore.Mvc.Analyzers.csproj" />
|
||||||
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Testing" Version="$(MicrosoftAspNetCoreTestingPackageVersion)" />
|
<PackageReference Include="Microsoft.AspNetCore.Testing" Version="$(MicrosoftAspNetCoreTestingPackageVersion)" />
|
||||||
|
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="$(MicrosoftCodeAnalysisCSharpWorkspacesPackageVersion)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue