Skip to content

Dll file reference leads to CS1025 error in latest release #3753

@dgpratt

Description

@dgpratt

Describe the bug

I have a C# based notebook that prior to the latest update to the VS Code plugin was working fine. After the last plugin update (to v1.0.5530010, released on 2024-10-30, 12:24:40), it seems file (DLL) references cause an error (displayed in the cell output area):

Error: (2,136): error CS1025: Single-line comment or end-of-line expected

To be clear, this is for references in the form:

#r "C:\..\Example.dll"

Nuget references (e.g. #r "nuget: Microsoft.Data.SqlClient") continue to work fine.

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

Version: 1.0.553001+f0ec3826954ea1ab829b435418328e4aa8db58e2

Library version: 1.0.0-beta.24530.1+f0ec3826954ea1ab829b435418328e4aa8db58e2

Build date: 2024-11-06T19:03:33.2387602Z

  • OS
    • Windows 11
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • Chrome
    • Edge
    • Firefox
    • Safari
  • Frontend
    • Jupyter Notebook
    • Jupyter Lab
    • nteract
    • Visual Studio Code
    • Visual Studio Code Insiders
    • Visual Studio
    • Other (please specify)

Screenshots

If applicable, add screenshots to help explain your problem.

Metadata

Metadata

Assignees

Labels

Area-Packages and ExtensionsRelated to acquiring and using packages and extensionsbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions