Skip to content

Commit b9d26bb

Browse files
committed
Added Post Build support to binplace files required to load the module
1 parent 04c5c63 commit b9d26bb

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Engine/ScriptAnalyzerEngine.csproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -93,4 +93,10 @@
9393
<ProjectExtensions>
9494
<VisualStudio AllowExistingFolder="true" />
9595
</ProjectExtensions>
96-
</Project>
96+
<PropertyGroup>
97+
<PostBuildEvent>mkdir "$(SolutionDir)$(SolutionName)"
98+
copy /y "$(ProjectDir)\*.ps1xml" "$(SolutionDir)$(SolutionName)"
99+
copy /y "$(ProjectDir)\*.psd1" "$(SolutionDir)$(SolutionName)"
100+
copy /y "$(TargetPath)" "$(SolutionDir)$(SolutionName)"</PostBuildEvent>
101+
</PropertyGroup>
102+
</Project>

0 commit comments

Comments
 (0)