Skip to content

Commit

Permalink
I was able to open Rider with this
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Feb 22, 2024
1 parent 84ff2d5 commit 765c66e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions ReSharper.FSharp/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@
<RdBackendCommonSubplatform>$(Subplatform).Rider_RdBackend.Common.Props</RdBackendCommonSubplatform>
<RiderBackendSubplatform>$(Subplatform).Rider_Rider.Backend.Props</RiderBackendSubplatform>
<UseLocalFSharpCompilerService>true</UseLocalFSharpCompilerService>
<LocalFCSProject>$(MSBuildThisFileDirectory)../../fsharp/src/Compiler/FSharp.Compiler.Service.fsproj</LocalFCSProject>
<LocalFSharpRepository>$(MSBuildThisFileDirectory)../../fsharp</LocalFSharpRepository>
</PropertyGroup>

<ItemGroup>
<PackageReference Condition="'$(UseLocalFSharpCompilerService)' == 'false'" Include="JetBrains.FSharp.Compiler.Service" />
<ProjectReference Condition="'$(UseLocalFSharpCompilerService)' == 'true'" Include="$(LocalFCSProject)" />
<ProjectReference Condition="'$(UseLocalFSharpCompilerService)' == 'true'" Include="$(LocalFSharpRepository)/src/Compiler/FSharp.Compiler.Service.fsproj" />
<ProjectReference Condition="'$(UseLocalFSharpCompilerService)' == 'true'" Include="$(LocalFSharpRepository)/src/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj" />
<ProjectReference Condition="'$(UseLocalFSharpCompilerService)' == 'true'" Include="$(LocalFSharpRepository)/src/FSharp.DependencyManager.Nuget/FSharp.DependencyManager.Nuget.fsproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ type FcsCheckerService(lifetime: Lifetime, logger: ILogger, onSolutionCloseNotif
let setting = SettingsUtil.getEntry<FSharpOptions> settingsStore name
settingsStoreLive.GetValueProperty(lifetime, setting, null)

let useTransparentCompiler = (getSettingProperty "UseTransparentCompiler").Value
let useTransparentCompiler = true
// (getSettingProperty "UseTransparentCompiler").Value

let checker =
Environment.SetEnvironmentVariable("FCS_CheckFileInProjectCacheSize", "20")
Expand Down

0 comments on commit 765c66e

Please sign in to comment.