From d20fdf2fccbfdd4a5ac2e6e79523a9558b9a2b51 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 18 七月 2024 15:44:27 +0800 Subject: [PATCH] 初始化GDAL --- SimuTools/SimuTools.csproj | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/SimuTools/SimuTools.csproj b/SimuTools/SimuTools.csproj index 41ab085..2999351 100644 --- a/SimuTools/SimuTools.csproj +++ b/SimuTools/SimuTools.csproj @@ -45,6 +45,8 @@ <SpecificVersion>False</SpecificVersion> <HintPath>dlls\log4net4.dll</HintPath> </Reference> + <Reference Include="ogr_csharp, Version=3.5.2.0, Culture=neutral, PublicKeyToken=db5a52b08dc5b321, processorArchitecture=MSIL" /> + <Reference Include="osr_csharp, Version=3.5.2.0, Culture=neutral, PublicKeyToken=db5a52b08dc5b321, processorArchitecture=MSIL" /> <Reference Include="System" /> <Reference Include="System.Configuration" /> <Reference Include="System.Core" /> @@ -71,6 +73,7 @@ </Compile> <Compile Include="Program.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Tools\GdalHelper.cs" /> <Compile Include="Tools\Handle.cs" /> <Compile Include="Tools\LogOut.cs" /> <EmbeddedResource Include="FrmMain.resx"> @@ -560,6 +563,12 @@ <Content Include="dlls\ogr_wrap.dll" /> <Content Include="dlls\osr_csharp.dll" /> <Content Include="dlls\osr_wrap.dll" /> + <EmbeddedResource Include="gdalconst_wrap.dll"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </EmbeddedResource> + <EmbeddedResource Include="gdal_wrap.dll"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </EmbeddedResource> <EmbeddedResource Include="gdal-data\bag_template.xml"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </EmbeddedResource> -- Gitblit v1.9.3