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

	<PropertyGroup>
		<TargetFramework>netcoreapp2.1</TargetFramework>
		<Version>3.0.4.759</Version>
		<Description>https://github.com/serset/Sqler</Description>
		<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
		<PreserveCompilationContext>true</PreserveCompilationContext>
		<MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish>
	</PropertyGroup>


	<PropertyGroup>
		<DocumentationFile>bin\Debug\netcoreapp2.1\Sqler.xml</DocumentationFile>
	</PropertyGroup>


	<ItemGroup>
		<PackageReference Include="Microsoft.AspNetCore.App" />

		<PackageReference Include="Vit.WebHost" Version="2.1.5" />
		<PackageReference Include="Vit.Orm.EntityFramework.Dynamic" Version="2.2.2" />
		<PackageReference Include="Vit.Db.DbMng" Version="2.2.2" />
	</ItemGroup>


	<!--<ItemGroup>
	  <ProjectReference Include="..\..\..\Vit.Library\Vit\Vit.Db\Vit.Db.DbMng\Vit.Db.DbMng.csproj" />
	  <ProjectReference Include="..\..\..\Vit.Library\Vit\Vit.Orm.EntityFramework\Vit.Orm.EntityFramework.Dynamic\Vit.Orm.EntityFramework.Dynamic.csproj" />
	</ItemGroup>-->



	<ItemGroup>

		<Content Update="appsettings.json">
			<CopyToOutputDirectory>Always</CopyToOutputDirectory>
		</Content>

		<Content Update="contentTypeMap.json">
			<CopyToOutputDirectory>Always</CopyToOutputDirectory>
		</Content>

		<Content Update="Data\sqler.SqlVersion.table.json">
			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
		</Content>

		<Content Update="Data\sqler.DataEditor.json">
			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
		</Content>

		<Content Update="Data\sqler.json">
			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
		</Content>

		<Content Update="Data\SqlVersion\Demo.json">
			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
		</Content>

	</ItemGroup>


	<ItemGroup>
		<None Update="Data\db.sqlite">
			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
		</None>
		<None Update="Data\MySqlBackup\readme.txt">
			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
		</None>
		<None Update="Data\SqlServerBackup\readme.txt">
			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
		</None>
		<None Update="Data\Temp\readme.txt">
			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
		</None>
	</ItemGroup>

	<!--<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
    <Exec Command="xcopy  &quot;$(ProjectDir)wwwroot&quot; &quot;$(TargetDir)\wwwroot&quot; /e /i /r /y" />
  </Target>-->

	<!--<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
    <Exec Command="xcopy  &quot;$(ProjectDir)Data&quot; &quot;$(TargetDir)\Data&quot; /e /i /r /y" />
  </Target>-->

</Project>
