You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if that's by-design and the doc is only missing some sections or if that's a bug.
As part of maintenance on test-templates, I am trying to enable parallelize assembly attribute by default using the <AssemblyAttribute.../> syntax in the project. I have been able to successfully provide the implementation for C# and VB.NET but F# is failing with Unable to parse '1_IsLiteral' as an index.
Steps to Reproduce
Create a new F# MSTest project: dotnet new mstest --language F#
<redacted>\FSharp\Microsoft.FSharp.Overrides.NetSdk.targets(30,5): error : Unable to parse '1_IsLiteral' as an index [<redacted>\
project.fsproj]
Expected Behavior
Feature is supported or doc and error is improved to specify this is not supported.
Actual Behavior
<AssemblyAttribute.../> syntax in the project. I have been able to successfully provide the implementation for C# and VB.NET but F# is failing with Unable to parse '1_IsLiteral' as an index.
Analysis
No response
Versions & Configurations
No response
The text was updated successfully, but these errors were encountered:
I think it would be best to document at WriteCodeFragment task that "_TypeName" and "_IsLiteral" are only implemented for CodeDom supported languages, i.e. C# and VB. If the F# implementation of WriteCodeFragment is ever changed to support these too, then the documentation can be updated at that time, and it can state the version of F# in which this support is added.
Issue Description
Not sure if that's by-design and the doc is only missing some sections or if that's a bug.
As part of maintenance on test-templates, I am trying to enable parallelize assembly attribute by default using the
<AssemblyAttribute.../>
syntax in the project. I have been able to successfully provide the implementation for C# and VB.NET but F# is failing withUnable to parse '1_IsLiteral' as an index
.Steps to Reproduce
Create a new F# MSTest project:
dotnet new mstest --language F#
Edit the fsproj by adding:
dotnet build
Error:
Expected Behavior
Feature is supported or doc and error is improved to specify this is not supported.
Actual Behavior
<AssemblyAttribute.../>
syntax in the project. I have been able to successfully provide the implementation for C# and VB.NET but F# is failing withUnable to parse '1_IsLiteral' as an index
.Analysis
No response
Versions & Configurations
No response
The text was updated successfully, but these errors were encountered: