DotNet.Hotfix.csproj 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net6.0</TargetFramework>
  4. <RootNamespace>ET</RootNamespace>
  5. <LangVersion>10</LangVersion>
  6. <AssemblyName>Hotfix</AssemblyName>
  7. </PropertyGroup>
  8. <PropertyGroup>
  9. <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  10. <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
  11. </PropertyGroup>
  12. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  13. <DefineConstants>DOTNET</DefineConstants>
  14. <OutputPath>..\..\Bin\</OutputPath>
  15. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  16. </PropertyGroup>
  17. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  18. <DefineConstants>DOTNET</DefineConstants>
  19. <OutputPath>..\..\Bin\</OutputPath>
  20. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  21. </PropertyGroup>
  22. <ItemGroup>
  23. <Compile Include="..\..\Codes\Plugins\*\Hotfix\Server\**\*.cs">
  24. <Link>Server\Plugins\$([System.String]::new(%(RecursiveDir)).Replace('Hotfix\Server', ''))%(FileName)%(Extension)</Link>
  25. </Compile>
  26. <Compile Include="..\..\Codes\Plugins\*\Hotfix\Client\**\*.cs">
  27. <Link>Client\Plugins\$([System.String]::new(%(RecursiveDir)).Replace('Hotfix\Client', ''))%(FileName)%(Extension)</Link>
  28. </Compile>
  29. <Compile Include="..\..\Codes\Plugins\*\Hotfix\Share\**\*.cs">
  30. <Link>Share\Plugins\$([System.String]::new(%(RecursiveDir)).Replace('Hotfix\Share',''))%(FileName)%(Extension)</Link>
  31. </Compile>
  32. <Compile Include="..\..\Codes\Hotfix\Client\**\*.cs">
  33. <Link>Client\%(RecursiveDir)%(FileName)%(Extension)</Link>
  34. </Compile>
  35. <Compile Include="..\..\Codes\Hotfix\Server\**\*.cs">
  36. <Link>Server\%(RecursiveDir)%(FileName)%(Extension)</Link>
  37. </Compile>
  38. <Compile Include="..\..\Codes\Hotfix\Share\**\*.cs">
  39. <Link>Share\%(RecursiveDir)%(FileName)%(Extension)</Link>
  40. </Compile>
  41. </ItemGroup>
  42. <ItemGroup>
  43. <ProjectReference Include="..\..\Codes\Analyzer\Share.Analyzer.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
  44. <ProjectReference Include="..\Model\DotNet.Model.csproj" />
  45. </ItemGroup>
  46. <ItemGroup>
  47. <Folder Include="..\..\Codes\Hotfix\Share\Demo">
  48. <Link>Share\Demo</Link>
  49. </Folder>
  50. </ItemGroup>
  51. </Project>