-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathPSRule.CommandLine.csproj
More file actions
54 lines (47 loc) · 1.9 KB
/
PSRule.CommandLine.csproj
File metadata and controls
54 lines (47 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>Microsoft.PSRule.CommandLine</AssemblyName>
<PackageId>Microsoft.PSRule.CommandLine</PackageId>
<RootNamespace>PSRule.CommandLine</RootNamespace>
<ProjectGuid>{9a556814-8e9d-4c76-8f6d-1af2da23a9e0}</ProjectGuid>
<LangVersion>12.0</LangVersion>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<PackageReadmeFile>README.md</PackageReadmeFile>
<NoWarn>NU5104</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NuGet.Protocol" Version="7.3.0" />
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.13" />
<PackageReference Include="System.CommandLine" Version="2.0.5" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ModuleFiles Include="..\PSRule.SDK\PSRule.psd1;" />
</ItemGroup>
<Target Name="CopyModuleFiles" BeforeTargets="Build">
<Copy SourceFiles="@(ModuleFiles)" DestinationFolder="$(TargetDir)Modules\PSRule" />
</Target>
<ItemGroup>
<ProjectReference Include="..\PSRule.SDK\PSRule.SDK.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Update="Resources\Messages.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Messages.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Resources\Messages.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Messages.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
</Project>