MegaBites-AI/Windows-powershell
0372
1<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">2 <Import Project="..\..\PowerShell.Common.props" />3 <PropertyGroup>4 <Description>PowerShell's System.Management.Automation project</Description>5 <NoWarn>$(NoWarn);CS1570;CS1734;CA1416;CA2022</NoWarn>6 <AssemblyName>System.Management.Automation</AssemblyName>7 </PropertyGroup>8 9 <PropertyGroup>10 <!-- we persist source generator files under 'gen' folder so that they are visible to IDEs -->11 <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>12 <CompilerGeneratedFilesOutputPath>gen\SourceGenerated</CompilerGeneratedFilesOutputPath>13 </PropertyGroup>14 15 <ItemGroup>16 <!-- these properties are declared in 'PowerShell.Common.props' and used by source generator -->17 <CompilerVisibleProperty Include="ProductVersion" />18 <CompilerVisibleProperty Include="PSCoreBuildVersion" />19 <CompilerVisibleProperty Include="PowerShellVersion" />20 <CompilerVisibleProperty Include="ReleaseTag" />21 22 <ProjectReference Include="SourceGenerators\PSVersionInfoGenerator\PSVersionInfoGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />23 </ItemGroup>24 25 <ItemGroup Condition=" '$(IsWindows)' == 'true' ">26 <ProjectReference Include="..\Microsoft.PowerShell.CoreCLR.Eventing\Microsoft.PowerShell.CoreCLR.Eventing.csproj" />27 </ItemGroup>28 29 <ItemGroup>30 <!-- the following package(s) are from https://github.com/JamesNK/Newtonsoft.Json -->31 <PackageReference Include="Newtonsoft.Json" Version="13.0.4" />32 <!-- the Application Insights package -->33 <PackageReference Include="Microsoft.ApplicationInsights" Version="2.23.0" />34 <!-- the following package(s) are from https://github.com/dotnet/corefx -->35 <PackageReference Include="Microsoft.Win32.Registry.AccessControl" Version="11.0.0-preview.2.26159.112" />36 <PackageReference Include="System.Configuration.ConfigurationManager" Version="11.0.0-preview.2.26159.112" />37 <PackageReference Include="System.DirectoryServices" Version="11.0.0-preview.2.26159.112" />38 <PackageReference Include="System.Management" Version="11.0.0-preview.2.26159.112" />39 <PackageReference Include="System.Security.Cryptography.Pkcs" Version="11.0.0-preview.2.26159.112" />40 <PackageReference Include="System.Security.Permissions" Version="11.0.0-preview.2.26159.112" />41 <!-- the following package(s) are from the powershell org -->42 <PackageReference Include="Microsoft.Management.Infrastructure" Version="3.0.0" />43 <PackageReference Include="Microsoft.PowerShell.Native" Version="700.0.0-rc.1" />44 <!-- Signing APIs -->45 <PackageReference Include="Microsoft.Security.Extensions" Version="1.4.0" />46 </ItemGroup>47 48 <PropertyGroup>49 <DefineConstants>$(DefineConstants);CORECLR</DefineConstants>50 </PropertyGroup>51 52 <ItemGroup>53 <!-- exclude code of source generators from compilation and IDEs (e.g. vscode and visual studio) -->54 <Compile Remove="SourceGenerators\**\*.cs" />55 56 <Compile Remove="cimSupport\cmdletization\xml\cmdlets-over-objects.objectModel.autogen.cs" />57 <Compile Remove="cimSupport\cmdletization\xml\cmdlets-over-objects.xmlSerializer.autogen.cs" />58 <Compile Remove="engine\TransactedString.cs" />59 <Compile Remove="engine\TransactionManager.cs" />60 <Compile Remove="engine\hostifaces\NativeCultureResolver.cs" />61 <Compile Remove="engine\hostifaces\RunspaceInvoke.cs" />62 <Compile Remove="engine\remoting\commands\ResumeJob.cs" />63 <Compile Remove="engine\remoting\commands\SuspendJob.cs" />64 <Compile Remove="namespaces\SafeTransactionHandle.cs" />65 <Compile Remove="namespaces\SafeRegistryHandle.cs" />66 <Compile Remove="namespaces\TransactedRegistry.cs" />67 <Compile Remove="namespaces\TransactedRegistryKey.cs" />68 <Compile Remove="namespaces\TransactedRegistrySecurity.cs" />69 <Compile Remove="utils\BackgroundDispatcher.cs" />70 <Compile Remove="utils\perfCounters\CounterSetInstanceBase.cs" />71 <Compile Remove="utils\perfCounters\CounterSetRegistrarBase.cs" />72 <Compile Remove="utils\perfCounters\PSPerfCountersMgr.cs" />73 <Compile Remove="gen\CoreMshSnapinResources.cs" />74 <Compile Remove="gen\ErrorPackageRemoting.cs" />75 <Compile Remove="gen\EventResource.cs" />76 77 <EmbeddedResource Remove="resources\CoreMshSnapinResources.resx" />78 <EmbeddedResource Remove="resources\ErrorPackageRemoting.resx" />79 </ItemGroup>80 81 <ItemGroup Condition=" '$(IsWindows)' != 'true' ">82 <Compile Remove="engine\COM\**\*.cs" />83 <Compile Remove="engine\ComInterop\**\*.cs" />84 <Compile Remove="engine\ExtraAdapter.cs" />85 <Compile Remove="engine\Interop\Windows\**\*.cs" />86 <Compile Remove="engine\ManagementObjectAdapter.cs" />87 <Compile Remove="engine\remoting\commands\ConnectPSSession.cs" />88 <Compile Remove="engine\remoting\commands\CustomShellCommands.cs" />89 <Compile Remove="engine\remoting\commands\DisconnectPSSession.cs" />90 <Compile Remove="engine\remoting\commands\ReceivePSSession.cs" />91 <Compile Remove="engine\remoting\commands\TestPSSessionConfigurationFile.cs" />92 </ItemGroup>93 94 <ItemGroup Condition=" '$(IsWindows)' == 'true' ">95 <Compile Remove="engine\Interop\Unix\**\*.cs" />96 </ItemGroup>97</Project>98 