Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Bug] Cannot build F# project after installing xamarin.communitytoolkit NuGet package #1124

@twop

Description

@twop

Description

After I add xamarin.communitytoolkit package I can no longer build F# project due to .cs file.

Build error:

The file extension of '/Users/twop/.nuget/packages/xamarin.communitytoolkit/1.1.0/build/PreserveXamarinCommunityToolkit.cs' is not recognized. Source files must have extension .fs, .fsi, .fsx, .fsscript, .ml or .mli.


### Steps to Reproduce

1. Install xamarin.communitytoolkit NuGet package to F# project (.netstandard 2.0)
2. Build


### Expected Behavior
I can build the project

### Actual Behavior
There is a build error

### Basic Information

- Version with issue: 1.1
- Last known good version: -
- IDE: VS fo Mac
- Platform Target Frameworks: I use Mac target but the build issue exists on .netstandard library 
- Nuget Packages:
- Affected Devices:

### Workaround
I haven't tried referencing the .dll directly but it will probably work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working. Breaky break.s/unverifiedThis issue needs verification/reproduction by a team member. PRs cannot be accepted/merged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions