fsprojects / fsprojects/Paket

Failure of generating tool package for netcoreapp2.0

Open
#3,414 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

I have a netcore2.0 project

	<Project Sdk="Microsoft.NET.Sdk">
	  <PropertyGroup>
		<OutputType>Exe</OutputType>
		<TargetFramework>netcoreapp2.0</TargetFramework>
	  </PropertyGroup>
	  <Import Project="..\.paket\Paket.Restore.targets" />
	</Project>

I run the following command to generate a package:

         .paket\paket pack nugets --version 1.0.0

I get error:

Paket failed with
-> FileNotFoundException: Could not find file 'F:\projects\PaketDemo\PaketDemo\bin\Release\netcoreapp2.0\PaketDemo.exe'

It seems that packet consider that netcoreapp2.0 project with should use .exe not .dll

How to configure paket to generate netcoreapp2.0 package ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing .paket\paket pack nugets --version 1.0.0 with the provided netcoreapp2.0 project and inspect how package generation locates the Release output. Compare the expected .dll artifact with the missing PaketDemo.exe; done when packaging completes successfully for this project type.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.