Skip to content

Commit 7f58785

Browse files
authored
File_Adapter: added missing copy local and build event for System.Management.Automation.dll (#197)
2 parents 4578be0 + 5aed770 commit 7f58785

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

File_Adapter/File_Adapter.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,12 @@
7373
</Reference>
7474
<Reference Include="System.Management.Automation">
7575
<HintPath>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll</HintPath>
76+
<Private>True</Private>
7677
</Reference>
7778
</ItemGroup>
7879

7980
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
80-
<Exec Command="xcopy &quot;$(TargetDir)$(TargetFileName)&quot; &quot;$(ProgramData)\BHoM\Assemblies&quot; /Y&#xD;&#xA;xcopy &quot;$(TargetDir)System.IO.FileSystem.AccessControl.dll&quot; &quot;$(ProgramData)\BHoM\Assemblies&quot; /Y&#xD;&#xA;xcopy &quot;$(TargetDir)System.Security.AccessControl.dll&quot; &quot;$(ProgramData)\BHoM\Assemblies&quot; /Y&#xD;&#xA;xcopy &quot;$(TargetDir)System.Security.Principal.Windows.dll&quot; &quot;$(ProgramData)\BHoM\Assemblies&quot; /Y" />
81+
<Exec Command="xcopy &quot;$(TargetDir)$(TargetFileName)&quot; &quot;$(ProgramData)\BHoM\Assemblies&quot; /Y&#xD;&#xA;xcopy &quot;$(TargetDir)System.IO.FileSystem.AccessControl.dll&quot; &quot;$(ProgramData)\BHoM\Assemblies&quot; /Y&#xD;&#xA;xcopy &quot;$(TargetDir)System.Security.AccessControl.dll&quot; &quot;$(ProgramData)\BHoM\Assemblies&quot; /Y&#xD;&#xA;xcopy &quot;$(TargetDir)System.Security.Principal.Windows.dll&quot; &quot;$(ProgramData)\BHoM\Assemblies&quot; /Y&#xD;&#xA;xcopy &quot;$(TargetDir)System.Management.Automation.dll&quot; &quot;$(ProgramData)\BHoM\Assemblies&quot; /Y" />
8182
</Target>
8283

8384
</Project>

0 commit comments

Comments
 (0)