<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <Description>Distributed Resources Platform</Description>
    <Copyright>Ahmed Kh. Zamil</Copyright>
     <PackageProjectUrl>http://www.esiur.com</PackageProjectUrl>
    <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
    <Version>2.1.1</Version>
    <RepositoryUrl>https://github.com/esiur/esiur-dotnet</RepositoryUrl>
    <Authors>Ahmed Kh. Zamil</Authors>
    <AssemblyVersion></AssemblyVersion>
    <Company>Esiur Foundation</Company>
    <FileVersion></FileVersion>
    <AssemblyName>Esiur</AssemblyName>
    <RootNamespace>Esiur</RootNamespace>
    <PackageId>Esiur</PackageId>
    <Product>Esiur</Product>
    <LangVersion>latest</LangVersion>
    <PackageLicenseFile>LICENSE</PackageLicenseFile>
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
    <DefineConstants>TRACE;DEBUG;NETSTANDARD</DefineConstants>
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
  </PropertyGroup>

  <ItemGroup>
    <Compile Remove="obj\**" />
    <EmbeddedResource Remove="obj\**" />
    <None Remove="obj\**" />
  </ItemGroup>

  <ItemGroup>
    <Compile Remove="Core\AsyncBagAwaiterGeneric.cs" />
    <Compile Remove="Core\AsyncBagGeneric.cs" />
    <Compile Remove="Core\AsyncReplyNon.cs" />
    <Compile Remove="Core\IAsyncReply.cs" />
    <Compile Remove="Data\DataType.cs" />
    <Compile Remove="Resource\ResourceEvent.cs" />
    <Compile Remove="Resource\ResourceFunction.cs" />
    <Compile Remove="Resource\ResourceProperty.cs" />

  </ItemGroup>

  <ItemGroup>
    <Folder Include="Net\DataLink\Sources\" />
  </ItemGroup>

  <ItemGroup>
    <None Include="Core\AsyncBagAwaiterGeneric.cs" />
    <None Include="Core\AsyncReplyNon.cs" />
    <None Include="Core\IAsyncReply.cs" />
    <None Include="Data\DataType.cs" />
    <None Include="Resource\ResourceEvent.cs" />
    <None Include="Resource\ResourceFunction.cs" />
    <None Include="Resource\ResourceProperty.cs" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.0.1" />
    <PackageReference Include="System.Collections" Version="4.3.0" />
    <PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
    <PackageReference Include="System.Diagnostics.StackTrace" Version="4.3.0" />
    <PackageReference Include="System.Dynamic.Runtime" Version="4.3.0" />
    <PackageReference Include="System.Interactive.Async" Version="5.1.0" />
    <PackageReference Include="System.Net.NameResolution" Version="4.3.0" />
    <PackageReference Include="System.Net.NetworkInformation" Version="4.3.0" />
    <PackageReference Include="System.Net.Security" Version="4.3.2" />
    <PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
    <PackageReference Include="System.Text.Json" Version="6.0.1" GeneratePathProperty="true" />
    <PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />

    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.0.1" PrivateAssets="all" />
    <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.3" PrivateAssets="all" />

  </ItemGroup>


  <ItemGroup>
    <None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
    <!-- Package the Newtonsoft.Json dependency alongside the generator assembly -->
    <None Include="$(PkgSystem_Text_Json)\lib\netstandard2.0\*.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
    <None Include="Tools/*" Pack="true" PackagePath="tools/" />
  </ItemGroup>


  <ItemGroup>
    <None Include="Core\AsyncBagGeneric.cs" />
  </ItemGroup>


  <ItemGroup>
    <None Include="LICENSE" Pack="true" PackagePath="">
    </None>
  </ItemGroup>


  <ItemGroup>
    <Page Include="Core\AsyncBagAwaiterGeneric.cs" />
    <Page Include="Core\AsyncBagGeneric.cs" />
  </ItemGroup>

 

</Project> 