Skip to content

Commit

Permalink
after fixing the nuget release errors, the nuget package is not findi…
Browse files Browse the repository at this point in the history
…ng the assemblies anymore, ongoing work to sort out why they are missing
  • Loading branch information
desjarlais committed Dec 7, 2023
1 parent c7e1fbb commit fcf6838
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Scintilla.NET/Scintilla.NET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<NeutralLanguage>en-US</NeutralLanguage>
<Description>Source Editing Component based on Scintilla 5 series.</Description>
<Copyright>Copyright (c) 2018, Jacob Slusser. All rights reserved. VPKSoft, cyber960 2022, desjarlais 2023.</Copyright>
<Version>5.3.3.1</Version>
<Version>5.3.3.5</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DocumentationFile>bin\$(Configuration)\ScintillaNET.xml</DocumentationFile>
<UseWindowsForms>true</UseWindowsForms>
Expand Down
2 changes: 1 addition & 1 deletion Shared/Scintilla.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private static string LocateNativeDllDirectory()
else
{
// if .NET in design mode
// basePath = Path.GetFullPath(Path.Combine(managedLocation, "..", "..", "build", platform));
basePath = Path.GetFullPath(Path.Combine(managedLocation, "..", "..", "build", platform));
if (Directory.Exists(basePath))
{
return basePath;
Expand Down
9 changes: 9 additions & 0 deletions native/scintilla5.net.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<NativeLibraries Include="$(MSBuildThisFileDirectory)**\*.dll" />
<None Include="@(NativeLibraries)">
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>

0 comments on commit fcf6838

Please sign in to comment.