68 строки
2.7 KiB
XML
68 строки
2.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<AssemblyName>Microsoft.PSRule.EditorServices</AssemblyName>
|
|
<PackageId>Microsoft.PSRule.EditorServices</PackageId>
|
|
<RootNamespace>PSRule.EditorServices</RootNamespace>
|
|
<OutputType>Exe</OutputType>
|
|
<OutputPath>../../bin/</OutputPath>
|
|
<ProjectGuid>{061dd38a-b9e9-4ef1-b5b7-d0a484db74d1}</ProjectGuid>
|
|
<LangVersion>12.0</LangVersion>
|
|
<Nullable>enable</Nullable>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<StartupObject>PSRule.EditorServices.Program</StartupObject>
|
|
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
|
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
|
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
<NeutralLanguage>en-US</NeutralLanguage>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>portable</DebugType>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
|
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.6" />
|
|
<!-- <PackageReference Include="System.Management.Automation" Version="7.4.1" /> -->
|
|
<PackageReference Include="Microsoft.PSRule.SDK" Version="3.0.0-B0275" />
|
|
<PackageReference Include="Microsoft.PSRule.CommandLine" Version="3.0.0-B0275" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
|
|
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
|
|
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Resources\CmdStrings.Designer.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>CmdStrings.resx</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Resources\CmdStrings.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>CmdStrings.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
</Project>
|