azure-powershell/tools/StaticAnalysis/StaticAnalysis.Netcore.csproj

63 строки
2.1 KiB
XML
Исходник Обычный вид История

<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(MSBuildThisFileDirectory)..\..\Repo.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
<OutputPath>$(RepoArtifacts)StaticAnalysis\</OutputPath>
<PublishDir>$(OutputPath)</PublishDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;DEBUG;NETSTANDARD</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE;NETSTANDARD</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NJsonSchema" Version="10.8.0" />
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="5.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Tools.Common\Tools.Common.Netcore.csproj" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Content Include="Exceptions\**\*.csv" CopyToOutputDirectory="PreserveNewest" />
<Compile Remove="StaticAnalysis.Test\**" />
<EmbeddedResource Remove="StaticAnalysis.Test\**" />
<None Remove="StaticAnalysis.Test\**" />
<Content Include="log4net.config" CopyToOutputDirectory="PreserveNewest" />
<Content Include="UXMetadataAnalyzer\PortalInputSchema.json" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<ItemGroup>
<Reference Include="Markdown.MAML">
<HintPath>lib\Markdown.MAML.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
</Project>