Skip to content

Commit c7289d0

Browse files
committed
Merge pull request #4 from PowerShell/raghushantha-patch-2
Added Post Build support to binplace files required to load the module
2 parents 7caa379 + eb8fc3a commit c7289d0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Rules/ScriptAnalyzerBuiltinRules.csproj

Lines changed: 6 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>
@@ -105,4 +105,8 @@
105105
<ProjectExtensions>
106106
<VisualStudio AllowExistingFolder="true" />
107107
</ProjectExtensions>
108-
</Project>
108+
<PropertyGroup>
109+
<PostBuildEvent>mkdir "$(SolutionDir)$(SolutionName)"
110+
copy /y "$(TargetPath)" "$(SolutionDir)$(SolutionName)"</PostBuildEvent>
111+
</PropertyGroup>
112+
</Project>

0 commit comments

Comments
 (0)