From issues-return-98677-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Mon Sep 16 13:10:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 41178180638 for ; Mon, 16 Sep 2019 15:10:02 +0200 (CEST) Received: (qmail 84339 invoked by uid 500); 16 Sep 2019 13:10:01 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 84330 invoked by uid 99); 16 Sep 2019 13:10:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Sep 2019 13:10:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id EC20FE3141 for ; Mon, 16 Sep 2019 13:10:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 4303A780634 for ; Mon, 16 Sep 2019 13:10:00 +0000 (UTC) Date: Mon, 16 Sep 2019 13:10:00 +0000 (UTC) From: "Pavel Tupitsyn (Jira)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-10554) .NET: Jars are not copied to target dir under .NET Core MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-10554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-10554: ------------------------------------ Priority: Critical (was: Major) > .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 > Priority: Critical > Labels: .NET > 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} > > > > ContentFilesExample > 1.0.0 > nuget > nuget > false > A content v2 example package. > contentv2 contentFiles > > > > > > > > > > {code} > *UPDATE: this breaks NuGet package usage completely under .NET Core 3.0* > [NuGet behavior has changed|https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-3-0#build-copies-dependencies] in .NET Core 3.0: > ??The dotnet build command now copies NuGet dependencies for your application from the NuGet cache to the build output folder?? > In .NET Core 2.x dependencies are used directly from NuGet cache, so JAR files are resolved. > In 3.0 this does not work anymore, we should find a way to copy JAR files to the output folder. -- This message was sent by Atlassian Jira (v8.3.2#803003)