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

	<Import Project="..\..\Version.props" />
	<Import Project="..\..\PackNuget.props" />
	
	<PropertyGroup>
		<TargetFrameworks>net8.0;</TargetFrameworks>

		<DefineConstants>$(DefineConstants);Management</DefineConstants>

		<OutputPath>bin\$(Configuration)\Management</OutputPath>
		<IntermediateOutputPath>obj\Management\$(Configuration)\</IntermediateOutputPath>
		<!--<BaseIntermediateOutputPath>obj\Management\</BaseIntermediateOutputPath>
		<MSBuildProjectExtensionsPath>$(BaseIntermediateOutputPath)</MSBuildProjectExtensionsPath>-->
		<PackageOutputPath>$(MSBuildThisFileDirectory)..\..\..\..\nupkgs1</PackageOutputPath>
	</PropertyGroup>

	

	<PropertyGroup>
		<AssemblyName>ThingsGateway.Plugin.DB</AssemblyName>
		<PackageId>$(MSBuildProjectName)</PackageId>
	</PropertyGroup>



	<ItemGroup>
		<ProjectReference Include="..\..\Foundation\ThingsGateway.Foundation.Razor\ThingsGateway.Foundation.Razor.csproj">
		</ProjectReference>
		<ProjectReference Include="..\..\PluginPro\ThingsGateway.Management.Razor\ThingsGateway.Management.Razor.csproj" >
			<PrivateAssets>contentFiles;compile;build;buildMultitargeting;buildTransitive;analyzers;</PrivateAssets>
		</ProjectReference>
		
		<PackageReference Include="Riok.Mapperly" Version="4.2.1" ExcludeAssets="runtime" PrivateAssets="all" />

	</ItemGroup>

	<ItemGroup>
		<Content Remove="Locales\*.json" />
		<EmbeddedResource Include="Locales\*.json">
			<CopyToOutputDirectory>Never</CopyToOutputDirectory>
		</EmbeddedResource>
	</ItemGroup>

	
	
	<ItemGroup>
		<Compile Remove="QuestDB\Razor\**" />
		<Compile Remove="SqlHistoryAlarm\Razor\**" />
		<Content Remove="QuestDB\Razor\**" />
		<Content Remove="SqlHistoryAlarm\Razor\**" />
		<EmbeddedResource Remove="QuestDB\Razor\**" />
		<EmbeddedResource Remove="SqlHistoryAlarm\Razor\**" />
		<None Remove="QuestDB\Razor\**" />
	    <None Remove="SqlHistoryAlarm\Razor\**" />
	</ItemGroup>

	
	
	<ItemGroup>
	  <Compile Remove="SqlDB\Razor\SqlDBPage.razor.cs" />
	  <Compile Remove="TDengineDB\TDengineDBPage.razor.cs" />
	  <Content Remove="SqlDB\Razor\SqlDBPage.razor" />
		<Content Remove="TDengineDB\TDengineDBPage.razor" />
	</ItemGroup>








</Project>