dotnet / dotnet/fsharp

[ UWP ] [ XF ] Adding reference to FSCS package leads to build error

Open
#12,066 4 comments 0 reactions 0 assignees View on GitHub
AI-thinks-windows-only Area-FCS Bug Impact-Low
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

To reproduce:

1. Create a blank UWP-XF project.
2. (just in case) Update packages to newer versions.
3. Add reference to `FSharp.Compiler.Service` package to a library project.
4. Build project

_Expected result:_

App builds successfully.

_Actual result:_

```
GENERATEPROJECTPRIFILE : error : PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry.
GENERATEPROJECTPRIFILE : error : PRI222: 0x80073b0f - Unspecified error occurred.
```

Repo with the sample: https://github.com/FoggyFinder/FCSMCVE

I used C# for library there just because there is no F#-template for Xamarin.Forms project. I'll replace with / add F# version if needed.

Guess: it might be something with resources that related to localization.

Not sure whether it's a bug or just some additional required steps to get it working are missing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.