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
When targeting against .NET8 by specifying FAKE_SDK_RESOLVER_CUSTOM_DOTNET_VERSION, Fake assembly cannot be referenced.
Repro steps
Download CLI runner: fake-dotnetcore-win7-x64.zip
Run new command window
Set env by command : set FAKE_SDK_RESOLVER_CUSTOM_DOTNET_VERSION=8.0
Run command: fake.exe -vv run Build.fsx
Expected behavior
I expected it to build without any problems
Actual behavior
The error occurs as follows(the full log and script are attached):
Script is not valid, see standard error for details.
Script is not valid:
C:\tmp\test611\build.fsx (5,5)-(5,9): Error FS0039: 'Fake' 네임스페이스 또는 모듈이 정의되지 않았습니다.
C:\tmp\test611\build.fsx (6,5)-(6,9): Error FS0039: 'Fake' 네임스페이스 또는 모듈이 정의되지 않았습니다.
C:\tmp\test611\build.fsx (8,0)-(8,6): Error FS0039: 'Target' 값, 네임스페이스, 형식 또는 모듈이 정의되지 않았습니다.
C:\tmp\test611\build.fsx (12,0)-(12,6): Error FS0039: 'Target' 값, 네임스페이스, 형식 또는 모듈이 정의되지 않았습니다.
FYI, it only works without FAKE_SDK_RESOLVER_CUSTOM_DOTNET_VERSION. I got same error as before if I set FAKE_SDK_RESOLVER_CUSTOM_DOTNET_VERSION to 8.0 .
Description
When targeting against .NET8 by specifying FAKE_SDK_RESOLVER_CUSTOM_DOTNET_VERSION, Fake assembly cannot be referenced.
Repro steps
Download CLI runner: fake-dotnetcore-win7-x64.zip
Run new command window
Set env by command :
set FAKE_SDK_RESOLVER_CUSTOM_DOTNET_VERSION=8.0
Run command:
fake.exe -vv run Build.fsx
Expected behavior
I expected it to build without any problems
Actual behavior
The error occurs as follows(the full log and script are attached):
20240903.txt
Build.txt
Known workarounds
Related information
The text was updated successfully, but these errors were encountered: