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

ggslayerggslayer Member MingYi ZhangOrganization: renren.comProject: renren data platform

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?

Answers

  • ggslayerggslayer Member MingYi ZhangOrganization: renren.comProject: renren data platform

    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?

  • ggslayerggslayer Member MingYi ZhangOrganization: renren.comProject: renren data platform
    edited June 18

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

  • xdmxdm ZeroC Staff La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff

    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/*" />
    
Sign In or Register to comment.