Browse Source

修改为dll引用

luo 10 months ago
parent
commit
c9e66e00f0
36 changed files with 103 additions and 27 deletions
  1. 7 1
      IntegrationControlSystem/ColorPicker/ColorPicker.csproj
  2. BIN
      IntegrationControlSystem/Import/AWSSDK.Core.dll
  3. BIN
      IntegrationControlSystem/Import/AWSSDK.SecurityToken.dll
  4. BIN
      IntegrationControlSystem/Import/DnsClient.dll
  5. BIN
      IntegrationControlSystem/Import/DocumentFormat.OpenXml.Features.dll
  6. BIN
      IntegrationControlSystem/Import/DocumentFormat.OpenXml.Linq.dll
  7. BIN
      IntegrationControlSystem/Import/DocumentFormat.OpenXml.dll
  8. BIN
      IntegrationControlSystem/Import/GongSolutions.WPF.DragDrop.dll
  9. BIN
      IntegrationControlSystem/Import/HarfBuzzSharp.dll
  10. BIN
      IntegrationControlSystem/Import/Microsoft.Extensions.Logging.Abstractions.dll
  11. BIN
      IntegrationControlSystem/Import/Microsoft.Xaml.Behaviors.dll
  12. BIN
      IntegrationControlSystem/Import/MongoDB.Bson.dll
  13. BIN
      IntegrationControlSystem/Import/MongoDB.Driver.Core.dll
  14. BIN
      IntegrationControlSystem/Import/MongoDB.Driver.dll
  15. BIN
      IntegrationControlSystem/Import/MongoDB.Libmongocrypt.dll
  16. BIN
      IntegrationControlSystem/Import/Quartz.dll
  17. BIN
      IntegrationControlSystem/Import/SharpCompress.dll
  18. BIN
      IntegrationControlSystem/Import/SixLabors.ImageSharp.dll
  19. BIN
      IntegrationControlSystem/Import/SkiaSharp.HarfBuzz.dll
  20. BIN
      IntegrationControlSystem/Import/SkiaSharp.Views.Desktop.Common.dll
  21. BIN
      IntegrationControlSystem/Import/SkiaSharp.dll
  22. BIN
      IntegrationControlSystem/Import/Snappier.dll
  23. BIN
      IntegrationControlSystem/Import/System.Configuration.ConfigurationManager.dll
  24. BIN
      IntegrationControlSystem/Import/System.Runtime.dll
  25. BIN
      IntegrationControlSystem/Import/ZstdSharp.dll
  26. 9 2
      IntegrationControlSystem/OxyPlot/OxyPlot.SkiaSharp.Wpf/OxyPlot.SkiaSharp.Wpf.csproj
  27. 12 5
      IntegrationControlSystem/OxyPlot/OxyPlot.SkiaSharp/OxyPlot.SkiaSharp.csproj
  28. 1 1
      IntegrationControlSystem/OxyPlot/OxyPlot.Wpf.Shared/OxyPlot.Wpf.Shared.csproj
  29. 1 1
      IntegrationControlSystem/OxyPlot/OxyPlot/OxyPlot.csproj
  30. 1 5
      IntegrationControlSystem/S7.Net/S7.Net.csproj
  31. 1 2
      IntegrationControlSystem/WpfApp1/Convert/SecondToTimeConverter.cs
  32. 1 2
      IntegrationControlSystem/WpfApp1/ViewModel/DevicePlan/DeviceEndItemViewModel.cs
  33. 1 2
      IntegrationControlSystem/WpfApp1/ViewModel/DevicePlan/PlanLineViewModel.cs
  34. 69 6
      IntegrationControlSystem/WpfApp1/WpfApp1.csproj
  35. BIN
      IntegrationControlSystem/WpfApp1/libHarfBuzzSharp.dll
  36. BIN
      IntegrationControlSystem/WpfApp1/libSkiaSharp.dll

+ 7 - 1
IntegrationControlSystem/ColorPicker/ColorPicker.csproj

@@ -31,7 +31,6 @@ Originally developed for PixiEditor: https://github.com/PixiEditor/PixiEditor.</
             <Pack>True</Pack>
             <Pack>True</Pack>
             <PackagePath></PackagePath>
             <PackagePath></PackagePath>
         </None>
         </None>
-        <PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" />
         <Resource Include="Images\CircularHueGradient.png" />
         <Resource Include="Images\CircularHueGradient.png" />
     </ItemGroup>
     </ItemGroup>
 
 
@@ -45,4 +44,11 @@ Originally developed for PixiEditor: https://github.com/PixiEditor/PixiEditor.</
     </ItemGroup>
     </ItemGroup>
 
 
 
 
+    <ItemGroup>
+      <Reference Include="Microsoft.Xaml.Behaviors">
+        <HintPath>..\Import\Microsoft.Xaml.Behaviors.dll</HintPath>
+      </Reference>
+    </ItemGroup>
+
+
 </Project>
 </Project>

BIN
IntegrationControlSystem/Import/AWSSDK.Core.dll


BIN
IntegrationControlSystem/Import/AWSSDK.SecurityToken.dll


BIN
IntegrationControlSystem/Import/DnsClient.dll


BIN
IntegrationControlSystem/Import/DocumentFormat.OpenXml.Features.dll


BIN
IntegrationControlSystem/Import/DocumentFormat.OpenXml.Linq.dll


BIN
IntegrationControlSystem/Import/DocumentFormat.OpenXml.dll


BIN
IntegrationControlSystem/Import/GongSolutions.WPF.DragDrop.dll


BIN
IntegrationControlSystem/Import/HarfBuzzSharp.dll


BIN
IntegrationControlSystem/Import/Microsoft.Extensions.Logging.Abstractions.dll


BIN
IntegrationControlSystem/Import/Microsoft.Xaml.Behaviors.dll


BIN
IntegrationControlSystem/Import/MongoDB.Bson.dll


BIN
IntegrationControlSystem/Import/MongoDB.Driver.Core.dll


BIN
IntegrationControlSystem/Import/MongoDB.Driver.dll


BIN
IntegrationControlSystem/Import/MongoDB.Libmongocrypt.dll


BIN
IntegrationControlSystem/Import/Quartz.dll


BIN
IntegrationControlSystem/Import/SharpCompress.dll


BIN
IntegrationControlSystem/Import/SixLabors.ImageSharp.dll


BIN
IntegrationControlSystem/Import/SkiaSharp.HarfBuzz.dll


BIN
IntegrationControlSystem/Import/SkiaSharp.Views.Desktop.Common.dll


BIN
IntegrationControlSystem/Import/SkiaSharp.dll


BIN
IntegrationControlSystem/Import/Snappier.dll


BIN
IntegrationControlSystem/Import/System.Configuration.ConfigurationManager.dll


BIN
IntegrationControlSystem/Import/System.Runtime.dll


BIN
IntegrationControlSystem/Import/ZstdSharp.dll


+ 9 - 2
IntegrationControlSystem/OxyPlot/OxyPlot.SkiaSharp.Wpf/OxyPlot.SkiaSharp.Wpf.csproj

@@ -1,6 +1,6 @@
 <Project Sdk="Microsoft.NET.Sdk">
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
   <PropertyGroup>
-    <TargetFrameworks>net5.0-windows</TargetFrameworks>
+    <TargetFrameworks>net6.0-windows</TargetFrameworks>
     <UseWPF>true</UseWPF>
     <UseWPF>true</UseWPF>
     <Description>OxyPlot is a plotting library for .NET. This package targets WPF applications and uses the SkiaSharp renderer.</Description>
     <Description>OxyPlot is a plotting library for .NET. This package targets WPF applications and uses the SkiaSharp renderer.</Description>
     <GeneratePackageOnBuild>False</GeneratePackageOnBuild>
     <GeneratePackageOnBuild>False</GeneratePackageOnBuild>
@@ -11,7 +11,6 @@
     <AssemblyOriginatorKeyFile>OxyPlot.SkiaSharp.Wpf.snk</AssemblyOriginatorKeyFile>
     <AssemblyOriginatorKeyFile>OxyPlot.SkiaSharp.Wpf.snk</AssemblyOriginatorKeyFile>
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
-    <PackageReference Include="SkiaSharp.Views.Desktop.Common" Version="2.88.6" />
     <None Include="OxyPlot.SkiaSharp.Wpf.snk" />
     <None Include="OxyPlot.SkiaSharp.Wpf.snk" />
     <None Include="VisualStudioToolsManifest.xml" Pack="true" PackagePath="tools" />
     <None Include="VisualStudioToolsManifest.xml" Pack="true" PackagePath="tools" />
   </ItemGroup>
   </ItemGroup>
@@ -20,4 +19,12 @@
     <ProjectReference Include="..\OxyPlot.Wpf.Shared\OxyPlot.Wpf.Shared.csproj" />
     <ProjectReference Include="..\OxyPlot.Wpf.Shared\OxyPlot.Wpf.Shared.csproj" />
     <ProjectReference Include="..\OxyPlot\OxyPlot.csproj" />
     <ProjectReference Include="..\OxyPlot\OxyPlot.csproj" />
   </ItemGroup>
   </ItemGroup>
+  <ItemGroup>
+    <Reference Include="SkiaSharp">
+      <HintPath>..\..\..\..\..\..\IntegrationControlSystem\IntegrationControlSystem\Lib\SkiaSharp.dll</HintPath>
+    </Reference>
+    <Reference Include="SkiaSharp.Views.Desktop.Common">
+      <HintPath>..\..\Import\SkiaSharp.Views.Desktop.Common.dll</HintPath>
+    </Reference>
+  </ItemGroup>
 </Project>
 </Project>

+ 12 - 5
IntegrationControlSystem/OxyPlot/OxyPlot.SkiaSharp/OxyPlot.SkiaSharp.csproj

@@ -2,7 +2,7 @@
   <PropertyGroup>
   <PropertyGroup>
     <LangVersion>8</LangVersion>
     <LangVersion>8</LangVersion>
     <Copyright>Copyright (c) 2020 OxyPlot contributors</Copyright>
     <Copyright>Copyright (c) 2020 OxyPlot contributors</Copyright>
-    <TargetFrameworks>net5.0</TargetFrameworks>
+    <TargetFrameworks>net6.0</TargetFrameworks>
     <Authors>OxyPlot contributors</Authors>
     <Authors>OxyPlot contributors</Authors>
     <Description>OxyPlot is a plotting library for .NET. This package provides rendering based on SkiaSharp.</Description>
     <Description>OxyPlot is a plotting library for .NET. This package provides rendering based on SkiaSharp.</Description>
     <PackageTags>plotting plot charting chart skiasharp skia pdf</PackageTags>
     <PackageTags>plotting plot charting chart skiasharp skia pdf</PackageTags>
@@ -11,14 +11,21 @@
     <SignAssembly>true</SignAssembly>
     <SignAssembly>true</SignAssembly>
     <AssemblyOriginatorKeyFile>OxyPlot.SkiaSharp.snk</AssemblyOriginatorKeyFile>
     <AssemblyOriginatorKeyFile>OxyPlot.SkiaSharp.snk</AssemblyOriginatorKeyFile>
   </PropertyGroup>
   </PropertyGroup>
-  <ItemGroup>
-    <PackageReference Include="SkiaSharp" Version="2.88.6" />
-    <PackageReference Include="SkiaSharp.HarfBuzz" Version="2.88.6" />
-  </ItemGroup>
   <ItemGroup>
   <ItemGroup>
     <None Include="OxyPlot.SkiaSharp.snk" />
     <None Include="OxyPlot.SkiaSharp.snk" />
   </ItemGroup>
   </ItemGroup>
   <ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\OxyPlot\OxyPlot.csproj" />
     <ProjectReference Include="..\OxyPlot\OxyPlot.csproj" />
   </ItemGroup>
   </ItemGroup>
+  <ItemGroup>
+    <Reference Include="HarfBuzzSharp">
+      <HintPath>..\..\Import\HarfBuzzSharp.dll</HintPath>
+    </Reference>
+    <Reference Include="SkiaSharp">
+      <HintPath>..\..\Import\SkiaSharp.dll</HintPath>
+    </Reference>
+    <Reference Include="SkiaSharp.HarfBuzz">
+      <HintPath>..\..\Import\SkiaSharp.HarfBuzz.dll</HintPath>
+    </Reference>
+  </ItemGroup>
 </Project>
 </Project>

+ 1 - 1
IntegrationControlSystem/OxyPlot/OxyPlot.Wpf.Shared/OxyPlot.Wpf.Shared.csproj

@@ -1,6 +1,6 @@
 <Project Sdk="Microsoft.NET.Sdk">
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
   <PropertyGroup>
-    <TargetFrameworks>net5.0-windows</TargetFrameworks>
+    <TargetFrameworks>net6.0-windows</TargetFrameworks>
     <UseWPF>true</UseWPF>
     <UseWPF>true</UseWPF>
     <LangVersion>8</LangVersion>
     <LangVersion>8</LangVersion>
     <Description>OxyPlot is a plotting library for .NET. This package is the base for WPF PlotView implementations.</Description>
     <Description>OxyPlot is a plotting library for .NET. This package is the base for WPF PlotView implementations.</Description>

+ 1 - 1
IntegrationControlSystem/OxyPlot/OxyPlot/OxyPlot.csproj

@@ -1,6 +1,6 @@
 <Project Sdk="Microsoft.NET.Sdk">
 <Project Sdk="Microsoft.NET.Sdk">
     <PropertyGroup>
     <PropertyGroup>
-        <TargetFrameworks>net5.0</TargetFrameworks>
+        <TargetFrameworks>net6.0</TargetFrameworks>
         <PackageId>OxyPlot.Core</PackageId>
         <PackageId>OxyPlot.Core</PackageId>
         <Description>OxyPlot is a plotting library for .NET. This is the core library including the foundation classes and plot model. To display the plots, you also need to add a platform-specific OxyPlot package that contains a PlotView component.</Description>
         <Description>OxyPlot is a plotting library for .NET. This is the core library including the foundation classes and plot model. To display the plots, you also need to add a platform-specific OxyPlot package that contains a PlotView component.</Description>
         <PackageTags>plotting plot charting chart</PackageTags>
         <PackageTags>plotting plot charting chart</PackageTags>

+ 1 - 5
IntegrationControlSystem/S7.Net/S7.Net.csproj

@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
 <Project Sdk="Microsoft.NET.Sdk">
   
   
   <PropertyGroup>
   <PropertyGroup>
-    <TargetFrameworks>netstandard2.0;</TargetFrameworks>
+    <TargetFrameworks>net5.0;</TargetFrameworks>
 
 
     <PackageId>S7netplus</PackageId>
     <PackageId>S7netplus</PackageId>
     <Title>S7.Net Plus</Title>
     <Title>S7.Net Plus</Title>
@@ -19,9 +19,5 @@
     <SymbolPackageFormat>snupkg</SymbolPackageFormat>
     <SymbolPackageFormat>snupkg</SymbolPackageFormat>
     <GenerateDocumentationFile>true</GenerateDocumentationFile>
     <GenerateDocumentationFile>true</GenerateDocumentationFile>
   </PropertyGroup>
   </PropertyGroup>
-  
-  <ItemGroup>
-    <PackageReference Include="System.Memory" Version="4.5.5" />
-  </ItemGroup>
 
 
 </Project>
 </Project>

+ 1 - 2
IntegrationControlSystem/WpfApp1/Convert/SecondToTimeConverter.cs

@@ -1,5 +1,4 @@
-using Amazon.Runtime.Internal.Util;
-using System;
+using System;
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Globalization;
 using System.Globalization;
 using System.Linq;
 using System.Linq;

+ 1 - 2
IntegrationControlSystem/WpfApp1/ViewModel/DevicePlan/DeviceEndItemViewModel.cs

@@ -1,5 +1,4 @@
-using DnsClient.Protocol;
-using OxyPlot;
+using OxyPlot;
 using System;
 using System;
 using System.Diagnostics;
 using System.Diagnostics;
 using System.Threading;
 using System.Threading;

+ 1 - 2
IntegrationControlSystem/WpfApp1/ViewModel/DevicePlan/PlanLineViewModel.cs

@@ -1,5 +1,4 @@
-using Amazon.Runtime.Internal.Util;
-using OxyPlot;
+using OxyPlot;
 using OxyPlot.Axes;
 using OxyPlot.Axes;
 using System;
 using System;
 using System.Collections.Generic;
 using System.Collections.Generic;

+ 69 - 6
IntegrationControlSystem/WpfApp1/WpfApp1.csproj

@@ -67,12 +67,6 @@
     <Compile Include="View\Device\ShakerControlView.xaml.cs" />
     <Compile Include="View\Device\ShakerControlView.xaml.cs" />
   </ItemGroup>
   </ItemGroup>
 
 
-  <ItemGroup>
-    <PackageReference Include="MongoDB.Driver" Version="2.24.0" />
-    <PackageReference Include="Quartz" Version="3.8.1" />
-    <PackageReference Include="System.Drawing.Common" Version="6.0.0" />
-  </ItemGroup>
-
   <ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\AppResource\AppResource.csproj" />
     <ProjectReference Include="..\AppResource\AppResource.csproj" />
     <ProjectReference Include="..\ColorPicker\ColorPicker.csproj" />
     <ProjectReference Include="..\ColorPicker\ColorPicker.csproj" />
@@ -196,6 +190,33 @@
     <Folder Include="View\Device\ControlView\" />
     <Folder Include="View\Device\ControlView\" />
   </ItemGroup>
   </ItemGroup>
 
 
+  <ItemGroup>
+    <Reference Include="DnsClient">
+      <HintPath>..\Import\DnsClient.dll</HintPath>
+    </Reference>
+    <Reference Include="HarfBuzzSharp">
+      <HintPath>..\Import\HarfBuzzSharp.dll</HintPath>
+    </Reference>
+    <Reference Include="MongoDB.Bson">
+      <HintPath>..\Import\MongoDB.Bson.dll</HintPath>
+    </Reference>
+    <Reference Include="MongoDB.Driver">
+      <HintPath>..\Import\MongoDB.Driver.dll</HintPath>
+    </Reference>
+    <Reference Include="MongoDB.Driver.Core">
+      <HintPath>..\Import\MongoDB.Driver.Core.dll</HintPath>
+    </Reference>
+    <Reference Include="MongoDB.Libmongocrypt">
+      <HintPath>..\Import\MongoDB.Libmongocrypt.dll</HintPath>
+    </Reference>
+    <Reference Include="Quartz">
+      <HintPath>..\Import\Quartz.dll</HintPath>
+    </Reference>
+    <Reference Include="SharpCompress">
+      <HintPath>..\Import\SharpCompress.dll</HintPath>
+    </Reference>
+  </ItemGroup>
+
   <ItemGroup>
   <ItemGroup>
     <Compile Update="View\OperationCondition\InternalHeatSourceOperationConditionView.xaml.cs">
     <Compile Update="View\OperationCondition\InternalHeatSourceOperationConditionView.xaml.cs">
       <SubType>Code</SubType>
       <SubType>Code</SubType>
@@ -232,4 +253,46 @@
     </Compile>
     </Compile>
   </ItemGroup>
   </ItemGroup>
 
 
+  <ItemGroup>
+    <None Update="libHarfBuzzSharp.dll">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+    <None Update="libSkiaSharp.dll">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+    <None Update="runtimes\linux\native\libmongocrypt.so">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+    <None Update="runtimes\osx\native\libHarfBuzzSharp.dylib">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+    <None Update="runtimes\osx\native\libmongocrypt.dylib">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+    <None Update="runtimes\osx\native\libSkiaSharp.dylib">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+    <None Update="runtimes\win-arm64\native\libHarfBuzzSharp.dll">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+    <None Update="runtimes\win-arm64\native\libSkiaSharp.dll">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+    <None Update="runtimes\win-x64\native\libHarfBuzzSharp.dll">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+    <None Update="runtimes\win-x64\native\libSkiaSharp.dll">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+    <None Update="runtimes\win-x86\native\libHarfBuzzSharp.dll">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+    <None Update="runtimes\win-x86\native\libSkiaSharp.dll">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+    <None Update="runtimes\win\native\mongocrypt.dll">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </None>
+  </ItemGroup>
+
 </Project>
 </Project>

BIN
IntegrationControlSystem/WpfApp1/libHarfBuzzSharp.dll


BIN
IntegrationControlSystem/WpfApp1/libSkiaSharp.dll