Skip to content

Commit

Permalink
Fix debugger regression (#1230)
Browse files Browse the repository at this point in the history
* add changelogs for next version

* make Project Output the executable/loadable assembly, not the reference assembly again
  • Loading branch information
baronfel authored Feb 13, 2024
1 parent 09f5daa commit df78a3d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@

* [Analyzers: Update analyzers support to 0.24.0](https://github.com/fsharp/FsAutoComplete/pull/1229) (thanks @nojaf)


## [0.70.0] - 2024-02-06

### Changed

* [Update Ionide.ProjInfo and enable support for Reference Assemblies where they exist](https://github.com/fsharp/FsAutoComplete/pull/1228)

## [0.69.0] - 2024-01-14

### Added
Expand Down
14 changes: 12 additions & 2 deletions src/FsAutoComplete/CommandResponse.fs
Original file line number Diff line number Diff line change
Expand Up @@ -146,17 +146,27 @@ module CommandResponse =
Version: string
FullPath: string }

/// a structure containing the data needed to render project trees for a solution explorer
type ProjectResponse =
{ Project: ProjectFilePath
{
/// the fully qualified path to the project file
Project: ProjectFilePath
/// the list of fully-qualified paths of the files in the project
Files: List<SourceFilePath>
/// the fully-qualified path to the primary output (executable, library, etc.) of the project.
/// note that this is _not_ a reference assembly
Output: string
ProjectReferences: List<ProjectReference>
PackageReferences: List<PackageReference>
References: List<ProjectFilePath>
OutputType: ProjectOutputType
/// a useful subset of project file properties for this permutation of the project
Info: ProjectResponseInfoDotnetSdk
/// the list of items in the project, such as compile items, content items, etc. this
/// should be a superset of data like the Files, Project/Package References, etc
Items: List<ProjectResponseItem>
AdditionalInfo: Map<string, string> }
AdditionalInfo: Map<string, string>
}

and ProjectOutputType =
| Library
Expand Down
2 changes: 1 addition & 1 deletion src/FsAutoComplete/LspServers/AdaptiveServerState.fs
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ type AdaptiveState(lspClient: FSharpLspClient, sourceTextFactory: ISourceTextFac
let ws =
{ ProjectFileName = projectFileName
ProjectFiles = responseFiles
OutFileOpt = Option.ofObj projectOption.ResolvedTargetPath
OutFileOpt = Option.ofObj projectOption.TargetPath
References = references
Extra = projectOption
ProjectItems = projViewerItemsNormalized.Items
Expand Down

0 comments on commit df78a3d

Please sign in to comment.