Skip to content

Commit

Permalink
Costura unmanaged DLLs for ChloniumUI
Browse files Browse the repository at this point in the history
  • Loading branch information
rxwx committed Feb 19, 2022
1 parent 961d872 commit 55dedae
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 1 deletion.
17 changes: 17 additions & 0 deletions Chlonium/Chlonium.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props" Condition="Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props')" />
<Import Project="..\packages\Costura.Fody.4.1.0\build\Costura.Fody.props" Condition="Exists('..\packages\Costura.Fody.4.1.0\build\Costura.Fody.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
Expand Down Expand Up @@ -40,6 +41,9 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Costura, Version=5.7.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Costura.Fody.5.7.0\lib\netstandard1.0\Costura.dll</HintPath>
</Reference>
<Reference Include="PInvoke.BCrypt, Version=0.7.0.0, Culture=neutral, PublicKeyToken=9e300f9f87f04a7a, processorArchitecture=MSIL">
<HintPath>..\packages\PInvoke.BCrypt.0.7.104\lib\net45\PInvoke.BCrypt.dll</HintPath>
</Reference>
Expand All @@ -64,6 +68,9 @@
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\netstandard1.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
</Reference>
<Reference Include="System.Security" />
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\portable-net45+win8+wp8+wpa81\System.Threading.Tasks.Extensions.dll</HintPath>
Expand All @@ -84,4 +91,14 @@
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\Fody.6.5.5\build\Fody.targets" Condition="Exists('..\packages\Fody.6.5.5\build\Fody.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Fody.6.5.5\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.6.5.5\build\Fody.targets'))" />
<Error Condition="!Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props'))" />
<Error Condition="!Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets'))" />
</Target>
<Import Project="..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets" Condition="Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets')" />
</Project>
34 changes: 34 additions & 0 deletions Chlonium/packages.config
Original file line number Diff line number Diff line change
@@ -1,10 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Costura.Fody" version="5.7.0" targetFramework="net451" developmentDependency="true" />
<package id="Fody" version="6.5.5" targetFramework="net451" developmentDependency="true" />
<package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="net451" />
<package id="NETStandard.Library" version="1.6.1" targetFramework="net451" />
<package id="PInvoke.BCrypt" version="0.7.104" targetFramework="net451" />
<package id="PInvoke.Kernel32" version="0.7.104" targetFramework="net451" />
<package id="PInvoke.Windows.Core" version="0.7.104" targetFramework="net451" />
<package id="System.Buffers" version="4.5.1" targetFramework="net451" />
<package id="System.Collections" version="4.3.0" targetFramework="net451" />
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="net451" />
<package id="System.Diagnostics.Debug" version="4.3.0" targetFramework="net451" />
<package id="System.Diagnostics.Tools" version="4.3.0" targetFramework="net451" />
<package id="System.Diagnostics.Tracing" version="4.3.0" targetFramework="net451" />
<package id="System.Globalization" version="4.3.0" targetFramework="net451" />
<package id="System.IO" version="4.3.0" targetFramework="net451" />
<package id="System.IO.Compression" version="4.3.0" targetFramework="net451" />
<package id="System.Linq" version="4.3.0" targetFramework="net451" />
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="net451" />
<package id="System.Memory" version="4.5.4" targetFramework="net451" />
<package id="System.Net.Http" version="4.3.0" targetFramework="net451" />
<package id="System.Net.Primitives" version="4.3.0" targetFramework="net451" />
<package id="System.ObjectModel" version="4.3.0" targetFramework="net451" />
<package id="System.Reflection" version="4.3.0" targetFramework="net451" />
<package id="System.Reflection.Extensions" version="4.3.0" targetFramework="net451" />
<package id="System.Reflection.Primitives" version="4.3.0" targetFramework="net451" />
<package id="System.Resources.ResourceManager" version="4.3.0" targetFramework="net451" />
<package id="System.Runtime" version="4.3.0" targetFramework="net451" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.3" targetFramework="net451" />
<package id="System.Runtime.Extensions" version="4.3.0" targetFramework="net451" />
<package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="net451" />
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net451" />
<package id="System.Runtime.Numerics" version="4.3.0" targetFramework="net451" />
<package id="System.Text.Encoding" version="4.3.0" targetFramework="net451" />
<package id="System.Text.Encoding.Extensions" version="4.3.0" targetFramework="net451" />
<package id="System.Text.RegularExpressions" version="4.3.0" targetFramework="net451" />
<package id="System.Threading" version="4.3.0" targetFramework="net451" />
<package id="System.Threading.Tasks" version="4.3.0" targetFramework="net451" />
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net451" />
<package id="System.Threading.Timer" version="4.3.0" targetFramework="net451" />
<package id="System.Xml.ReaderWriter" version="4.3.0" targetFramework="net451" />
<package id="System.Xml.XDocument" version="4.3.0" targetFramework="net451" />
</packages>
2 changes: 2 additions & 0 deletions ChloniumUI/ChloniumUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@
</ItemGroup>
<ItemGroup>
<Resource Include="FodyWeavers.xml" />
<EmbeddedResource Include="Costura32\SQLite.Interop.dll" />
<EmbeddedResource Include="Costura64\SQLite.Interop.dll" />
<Content Include="SharpDPAPI\.gitignore" />
</ItemGroup>
<ItemGroup />
Expand Down
Binary file added ChloniumUI/Costura32/SQLite.Interop.dll
Binary file not shown.
Binary file added ChloniumUI/Costura64/SQLite.Interop.dll
Binary file not shown.
9 changes: 8 additions & 1 deletion ChloniumUI/FodyWeavers.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<Costura />
<Costura>
<Unmanaged32Assemblies>
SQLite.Interop
</Unmanaged32Assemblies>
<Unmanaged64Assemblies>
SQLite.Interop
</Unmanaged64Assemblies>
</Costura>
</Weavers>

0 comments on commit 55dedae

Please sign in to comment.