Skip to content

.NET 7.0 RC 2 #7865

Closed
Closed

Description

@dcwhittaker

Release Notes

Please report any issues you find with .NET 7 RC2, either responding to this issue, creating a new issue or creating a new issue in one of the following repos:

Known Issues

If there are any issues with this release we will track them here and check issues off as they're resolved. See the linked issues for details on progress and resolution details.

Activity

  1. pinned this issue on Oct 11, 2022
  2. gdar91 commented on Oct 11, 2022

    @gdar91

    F# / C# interop fails when upgrading to the RC2.
    To reproduce, create a solution with two – F# Library and C# Console projects. Reference the F# project from the C# one. Add at least two types in the Library.fs file (two single case discriminated unions for simplicity…) and access THE FIRST ONE from the C# project. It will throw: ” Program.cs(1, 24): [CS0117] ‘Test.A’ does not contain a definition for ‘A'”

  3. gdar91 commented on Oct 11, 2022

    @gdar91

    F# / C# interop fails when upgrading to the RC2. To reproduce, create a solution with two – F# Library and C# Console projects. Reference the F# project from the C# one. Add at least two types in the Library.fs file (two single case discriminated unions for simplicity…) and access THE FIRST ONE from the C# project. It will throw: ” Program.cs(1, 24): [CS0117] ‘Test.A’ does not contain a definition for ‘A'”

    https://github.com/gdar91/Rc2FsCs

  4. gortok commented on Oct 16, 2022

    @gortok

    For .NET 7 RC 2 release you mention CVE-2022-38013, but for .NET 6 and .NET Core 3.1 release (3.1.30 and 6.0.10), you keep the exact same release text but reference an newer CVE, CVE-2022-41032.

    Should the .NET 7 RC2 release notes also reference CVE '41032?

  5. dcwhittaker commented on Oct 17, 2022

    @dcwhittaker
    ContributorAuthor

    @gortok yes you are absolutely right - making those changes now. Thanks for the flag!

  6. leecow commented on Oct 17, 2022

    @leecow
    Member

    @KevinRansom or @jaredpar - do you know who should have a look at the F# to C# interop issue reported above (#7865 (comment))?

  7. mirespace commented on Oct 17, 2022

    @mirespace

    Hi team,

    (ofyi) I built dotnet7 RC2 amd64 today on Ubuntu (tarball creation included), and I got a different number for the version :

    ubuntu@dotnet-jammy:~$ dotnet --info
    .NET SDK:
     Version:   7.0.100-rc.2.22517.1
     Commit:    0a5360315a
    
    Runtime Environment:
     OS Name:     ubuntu
     OS Version:  22.04
     OS Platform: Linux
     RID:         ubuntu.22.04-x64
     Base Path:   /usr/lib/dotnet/dotnet7-7.0.100-rc.2.22477.23/sdk/7.0.100-rc.2.22517.1/
    

    I checked into the debian folder to see if that number was harcoded (It's strange to me that it could happen, but just double-checking), and it is not.

  8. jaredpar commented on Oct 17, 2022

    @jaredpar
    Member

    I can repro @gdar91 issue.

    • Succeeded with RC1 SDK
    • Failed with RC2 SDK

    I took a quick look at the F# binary produced by the RC2 SDK and it seems fine. At the same time I don't think we changed anything in C# import that would intersect with this.

    @cston PTAL.

  9. cston commented on Oct 18, 2022

    @cston

    Regarding the issue reported by @gdar91 in #7865 (comment):

    For the F# type type A = A previously the F# compiler emitted a type with a static property A and a get_A() method. With RC2 SDK, the type includes a get_A() method but no property.

  10. KevinRansom commented on Oct 19, 2022

    @KevinRansom

    Opened an issue in F#: dotnet/fsharp#14147

  11. vzarytovskii commented on Oct 19, 2022

    @vzarytovskii
    Member

    Reported earlier: dotnet/fsharp#14088
    Fix has been backported to 17.4, the workaround is to disable generating reference assemblies for F# project:

    <ProduceReferenceAssembly>false</ProduceReferenceAssembly>
  12. unpinned this issue on Nov 8, 2022
  13. dcwhittaker commented on Nov 8, 2022

    @dcwhittaker
    ContributorAuthor

    Closed in favor of #7939

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions