You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2018/12/05 15:23:00 UTC

[jira] [Created] (IGNITE-10554) .NET: Jars are not copied to target dir under .NET Core

Pavel Tupitsyn created IGNITE-10554:
---------------------------------------

             Summary: .NET: Jars are not copied to target dir under .NET Core
                 Key: IGNITE-10554
                 URL: https://issues.apache.org/jira/browse/IGNITE-10554
             Project: Ignite
          Issue Type: Bug
          Components: platforms
    Affects Versions: 2.4
            Reporter: Pavel Tupitsyn
            Assignee: Pavel Tupitsyn
             Fix For: 2.8


We use PowerShell script to update post-build event in the target project and copy jar files to target directory during build.

However, this no longer works with .NET Core.
nuspec file should be updated with new format, see example from https://github.com/NuGet/Samples/blob/master/ContentFilesExample/authoring/ContentFilesExample.nuspec:

{code}
<?xml version="1.0"?>
<package>
  <metadata minClientVersion="3.3.0">
    <id>ContentFilesExample</id>
    <version>1.0.0</version>
    <authors>nuget</authors>
    <owners>nuget</owners>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <description>A content v2 example package.</description>
    <tags>contentv2 contentFiles</tags>
    <!-- Build actions for items in the contentFiles folder -->
    <contentFiles>
        <!-- Include Assets as Content -->
        <files include="**/images/*.*" buildAction="Content" />
        <files include="**/data.txt" buildAction="Content" />
        <!-- Copy tool scripts to the output folder -->
        <files include="**/tools/*" buildAction="None" flatten="false" copyToOutput="true" />
    </contentFiles>
  </metadata>
</package
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)