Skip to content

Commit 1ec2e11

Browse files
committed
chore: 添加NLog依赖
1 parent 2367f0e commit 1ec2e11

File tree

7 files changed

+24
-6
lines changed

7 files changed

+24
-6
lines changed

‎CursorHook/CursorHook.csproj‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,17 @@
5959
<Reference Include="EasyHook, Version=2.7.7097.0, Culture=neutral, PublicKeyToken=4b580fca19d0b0c5, processorArchitecture=MSIL">
6060
<HintPath>..\packages\EasyHook.2.7.7097\lib\net40\EasyHook.dll</HintPath>
6161
</Reference>
62+
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
63+
<HintPath>..\packages\NLog.4.7.10\lib\net45\NLog.dll</HintPath>
64+
</Reference>
6265
<Reference Include="System" />
66+
<Reference Include="System.Configuration" />
6367
<Reference Include="System.Core" />
68+
<Reference Include="System.IO.Compression" />
6469
<Reference Include="System.Runtime.Remoting" />
70+
<Reference Include="System.Runtime.Serialization" />
71+
<Reference Include="System.ServiceModel" />
72+
<Reference Include="System.Transactions" />
6573
<Reference Include="System.Xml.Linq" />
6674
<Reference Include="System.Data.DataSetExtensions" />
6775
<Reference Include="Microsoft.CSharp" />

‎CursorHook/packages.config‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="EasyHook" version="2.7.7097" targetFramework="net472" />
4+
<package id="NLog" version="4.7.10" targetFramework="net472" />
45
</packages>

‎Magpie/Magpie.csproj‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,18 @@
8787
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
8888
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
8989
</Reference>
90+
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
91+
<HintPath>..\packages\NLog.4.7.10\lib\net45\NLog.dll</HintPath>
92+
</Reference>
9093
<Reference Include="System" />
94+
<Reference Include="System.Configuration" />
9195
<Reference Include="System.Data" />
9296
<Reference Include="System.Drawing" />
97+
<Reference Include="System.IO.Compression" />
9398
<Reference Include="System.Runtime.Remoting" />
99+
<Reference Include="System.Runtime.Serialization" />
100+
<Reference Include="System.ServiceModel" />
101+
<Reference Include="System.Transactions" />
94102
<Reference Include="System.Xml" />
95103
<Reference Include="Microsoft.CSharp" />
96104
<Reference Include="System.Core" />

‎Magpie/packages.config‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
<package id="Hardcodet.NotifyIcon.Wpf" version="1.1.0" targetFramework="net472" />
55
<package id="MouseKeyHook" version="5.6.0" targetFramework="net472" />
66
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net472" />
7+
<package id="NLog" version="4.7.10" targetFramework="net472" />
78
</packages>

‎Runtime/Runtime.vcxproj‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.props')" />
3+
<Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.210806.1\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.210806.1\build\native\Microsoft.Windows.CppWinRT.props')" />
44
<ItemGroup Label="ProjectConfigurations">
55
<ProjectConfiguration Include="Debug|x64">
66
<Configuration>Debug</Configuration>
@@ -193,13 +193,13 @@
193193
</ItemGroup>
194194
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
195195
<ImportGroup Label="ExtensionTargets">
196-
<Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.targets')" />
196+
<Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.210806.1\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.210806.1\build\native\Microsoft.Windows.CppWinRT.targets')" />
197197
</ImportGroup>
198198
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
199199
<PropertyGroup>
200200
<ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
201201
</PropertyGroup>
202-
<Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.props'))" />
203-
<Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.210722.2\build\native\Microsoft.Windows.CppWinRT.targets'))" />
202+
<Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.210806.1\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.210806.1\build\native\Microsoft.Windows.CppWinRT.props'))" />
203+
<Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.210806.1\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.210806.1\build\native\Microsoft.Windows.CppWinRT.targets'))" />
204204
</Target>
205205
</Project>

‎Runtime/Runtime.vcxproj.filters‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@
9696
</ItemGroup>
9797
<ItemGroup>
9898
<None Include="cpp.hint" />
99-
<None Include="packages.config" />
10099
<None Include="conanfile.py" />
100+
<None Include="packages.config" />
101101
</ItemGroup>
102102
<ItemGroup>
103103
<Filter Include="头文件">

‎Runtime/packages.config‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.Windows.CppWinRT" version="2.0.210722.2" targetFramework="native" />
3+
<package id="Microsoft.Windows.CppWinRT" version="2.0.210806.1" targetFramework="native" />
44
</packages>

0 commit comments

Comments
 (0)