Using same Slice file for both Java and C#

geslygesly Gesly GeorgeOrganization: AQRProject: Service FrameworkMember
Hi,

I have a slice file defined for which I need to run both slice for Java and C#.
I'm trying to add the slice file that I have already defined into VS 2010 to generate the slice for C# code. Unfortunately, when I try to add the .ice file as an existing file, it makes a copy of the file into VS solution directory which results in have 2 files - one for Java and another one for C#.

Is there a more cleaner approach that I could follow? The other way I could try to do this is to define the file through VS and then reference it for Java. Ideally, I would like to place the slice file separately so that both the Java and C# builds can access it.

Thanks,
Gesly

Comments

  • chowchow Brian ChojnowskiOrganization: ATTProject: ACD event publisher 3rd party call control serverMember
    I just tested doing this (using vs2010 ultimate) and I was able to add the existing item (.ice file) from a different directory and it did not copy the file.

    Maybe recheck your added file by clicking on it in the ide and looking at the "Relative Path" property to see where the solution thinks your .ice file is.
  • chowchow Brian ChojnowskiOrganization: ATTProject: ACD event publisher 3rd party call control serverMember
    The previous post was for a c++ project. For a c# project, it appears to copy the file to the project directory.
Sign In or Register to comment.