Microsoft.WinGet.Configuration.Engine.csproj (2690B)
1 <Project Sdk="Microsoft.NET.Sdk"> 2 3 <PropertyGroup> 4 <!-- Keep in sync with attributes in AssemblyInfo.cs --> 5 <TargetFramework>net8.0-windows10.0.26100</TargetFramework> 6 <GenerateAssemblyInfo>false</GenerateAssemblyInfo> 7 <Nullable>enable</Nullable> 8 <OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\$(MSBuildProjectName)\</OutputPath> 9 <GenerateDocumentationFile>true</GenerateDocumentationFile> 10 <DocumentationFile>$(OutputPath)\$(MSBuildProjectName).xml</DocumentationFile> 11 <RuntimeIdentifier>win</RuntimeIdentifier> 12 <Configurations>Debug;Release;ReleaseStatic</Configurations> 13 </PropertyGroup> 14 15 <PropertyGroup Condition="'$(UseProdCLSIDs)' == 'true'"> 16 <DefineConstants>$(DefineConstants);USE_PROD_CLSIDS</DefineConstants> 17 </PropertyGroup> 18 19 <PropertyGroup Condition="'$(Configuration)'=='Release'"> 20 <TreatWarningsAsErrors>true</TreatWarningsAsErrors> 21 </PropertyGroup> 22 23 <PropertyGroup Condition="'$(Configuration)'=='ReleaseStatic'"> 24 <TreatWarningsAsErrors>true</TreatWarningsAsErrors> 25 </PropertyGroup> 26 27 <ItemGroup> 28 <AdditionalFiles Include="..\..\stylecop.json" Link="stylecop.json" /> 29 </ItemGroup> 30 31 <ItemGroup> 32 <Compile Include="..\CommonFiles\PowerShellCmdlet.cs" Link="PowerShellCmdlet.cs" /> 33 <Compile Include="..\CommonFiles\StreamType.cs" Link="StreamType.cs" /> 34 </ItemGroup> 35 36 <ItemGroup> 37 <PackageReference Include="Newtonsoft.Json" /> 38 <PackageReference Include="PowerShellStandard.Library" PrivateAssets="all" /> 39 <PackageReference Include="StyleCop.Analyzers"> 40 <PrivateAssets>all</PrivateAssets> 41 <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> 42 </PackageReference> 43 </ItemGroup> 44 45 <Import Project="..\..\targets\ReferenceEmbeddedCsWinRTProject.targets" /> 46 47 <ItemGroup> 48 <ProjectReference Include="..\..\Microsoft.Management.Configuration.Processor\Microsoft.Management.Configuration.Processor.csproj" /> 49 <ProjectReference Include="..\Microsoft.WinGet.SharedLib\Microsoft.WinGet.SharedLib.csproj" /> 50 </ItemGroup> 51 52 <ItemGroup> 53 <Compile Update="Resources\Resources.Designer.cs"> 54 <DesignTime>True</DesignTime> 55 <AutoGen>True</AutoGen> 56 <DependentUpon>Resources.resx</DependentUpon> 57 </Compile> 58 </ItemGroup> 59 60 <ItemGroup> 61 <EmbeddedResource Update="Resources\Resources.resx"> 62 <Generator>ResXFileCodeGenerator</Generator> 63 <LastGenOutput>Resources.Designer.cs</LastGenOutput> 64 <CustomToolNamespace>Microsoft.WinGet.Resources</CustomToolNamespace> 65 </EmbeddedResource> 66 </ItemGroup> 67 68 </Project>