Archived

This forum has been archived. Please start a new discussion on GitHub.

how to copy iceboxnet.dll to output directory under .net core version

how to copy iceboxnet.dll to output directory under .net core version?
I notice that in the icegrid demo program, the project xml has following command:

 <Target AfterTargets="Build" Name="iceboxnet">
    <Copy DestinationFolder="$(OutputPath)" SourceFiles="@(IceBoxNet)" />
</Target>
<Target AfterTargets="Clean" Name="CleanIceBoxNet">
    <Delete Files="@(IceBoxNet->'$(OutputPath)%(Identity)')" />
</Target>

I want to know these command is automatic or manual writen into the project file. if automatic, how to do that?

Comments

  • And another question:

    In the unget ice.net, the netcoreapp version is 2.1, and in my project i use 2.2, then the path can not be find, and copy failed, how to resolve this?

  • ggslayer
    edited June 2019

    follow up question: in the project xml , the iceboxnet define is : <IceBoxNet Include="$(IceHome)/tools/$(AppTargetFramework)/>

  • xdm
    xdm La Coruña, Spain

    Hi Zhang,

    The command was manually added to the projects, regarding the path to iceboxnet.dll you can update it to use 2.1

    <IceBoxNet Include="$(IceHome)/tools/netcoreapp2.1/*" />