Skip to content

Commit cbc16f3

Browse files
author
Savas Ziplies
committed
Fixed: Missing DLLExport in AfterBuild script (dang it)
1 parent 2fd4f9e commit cbc16f3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

MarkdownViewerPlusPlus/MarkdownViewerPlusPlus.csproj

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,31 @@
261261
</Target>
262262
-->
263263
<Target Name="AfterBuild">
264+
<DllExportTask Platform="$(Platform)"
265+
PlatformTarget="$(PlatformTarget)"
266+
CpuType="$(CpuType)"
267+
EmitDebugSymbols="$(DebugSymbols)"
268+
DllExportAttributeAssemblyName="$(DllExportAttributeAssemblyName)"
269+
DllExportAttributeFullName="$(DllExportAttributeFullName)"
270+
Timeout="$(DllExportTimeout)"
271+
KeyContainer="$(KeyContainerName)$(AssemblyKeyContainerName)"
272+
KeyFile="$(KeyOriginatorFile)"
273+
ProjectDirectory="$(MSBuildProjectDirectory)"
274+
InputFileName="$(TargetPath)"
275+
FrameworkPath="$(TargetedFrameworkDir);$(TargetFrameworkDirectory)"
276+
LibToolPath="$(DevEnvDir)\..\..\VC\bin"
277+
LibToolDllPath="$(DevEnvDir)"
278+
SdkPath="$(SDK40ToolsPath)"/>
279+
280+
<Copy Condition="Exists('C:\Program Files (x86)\Notepad++\plugins\') AND '$(PlatformTarget)'=='x86'"
281+
SourceFiles="$(TargetPath)"
282+
DestinationFolder="C:\Program Files (x86)\Notepad++\plugins\"
283+
ContinueOnError="false" />
284+
<Copy Condition="Exists('C:\Program Files\Notepad++\plugins\') AND '$(PlatformTarget)'=='x64'"
285+
SourceFiles="$(TargetPath)"
286+
DestinationFolder="C:\Program Files\Notepad++\plugins\"
287+
ContinueOnError="false" />
288+
264289
<!-- Get the current Major.Minor.Build version from the assembly -->
265290
<PropertyGroup>
266291
<In>$([System.IO.File]::ReadAllText('Properties\AssemblyInfo.cs'))</In>

0 commit comments

Comments
 (0)