fsprojects / fsprojects/Paket

Image files with content

Open
#3,147 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

I have a framework project that used by others projects.
In this framework, there are image files with content properties (jpg and png).
The properties are:

  • Build Action: Content
  • Copy to Output Directory: Copy Always

This is my paket.template:

type project

include-referenced-projects true

files
Release/Core.Reports.dll ==> lib/net46
Images/. ==> content/Images

In other project, I setup this framework as your dependency.
But, after run the command paket install, the content files are add with Resources and not with content in Visual Studio properties.

Expected behavior

Expect the paket add with content with contents and not with Resources.

Actual behavior

The Paket add the image content with Resource

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 the issue with the shown paket.template and the paket install command, then inspect how the Images/. entry is represented in the dependent Visual Studio project. Done means the image files appear as Content with Copy Always rather than as Resources.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
tooling
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.