Skip to content

framework commentary #3785

Description

@vilinski

Description

  • Paket 6.0.0-alpha014, installed as a global tool.
  • MacOs Catalina
  • .net 3.1.101

Comments in paket.dependency at framework line are not ignored

Repro steps

  • create an empty directory
  • paket init
  • packet add SomePackage
  • add comment into paket.dependencyfile at framework line:
    source https://api.nuget.org/v3/index.json
    
    storage: none
    framework: netcore3.1 //, netstandard2.0, netstandard2.1
    nuget Akkling
    
  • paket update

Expected behavior

Please provide a description of the behavior you expect.

Actual behavior

```
Paket version 6.0.0-alpha014
Performance:
 - Runtime: 567 milliseconds
Paket failed with
-> Error in paket.dependencies line 4
     Syntax error: Expected end of input, got '//'.
```

Known workarounds

Place comment on the next line

```
source https://api.nuget.org/v3/index.json

storage: none
framework: netcore3.1 
//, netstandard2.0, netstandard2.1
nuget Akkling
```

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions