-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RunSample failed to run on macOS #36
Comments
I get the same error, same stack trace on Windows 10 when doing RunSample or executing as part of miniscaffold build |
I've tried to run the analyzer inside of the debugger. I've got following at the Ionide.ProjInfo/Library.fs:126.
Build started.
Project "OptionAnalyzer.fsproj" (ResolvePackageDependenciesDesignTime;_GenerateCompileDependencyCache;CoreCompile target(s)):
Building with tools version "Current".
Target "_CheckForUnsupportedTargetFramework" skipped, due to false condition; ('$(_UnsupportedTargetFrameworkError)' == 'true') was evaluated as ('' == 'true').
Target "_CollectTargetFrameworkForTelemetry" in file "/usr/local/share/dotnet/sdk/5.0.202/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets" from project "/Users/objectx/Workspace/GitHub/FSharp.Analyzers.SDK/samples/OptionAnalyzer/OptionAnalyzer.fsproj" (target "RunResolvePackageDependencies" depends on it):
Using "AllowEmptyTelemetry" task from assembly "/usr/local/share/dotnet/sdk/5.0.202/Sdks/Microsoft.NET.Sdk/targets/../tools/net5.0/Microsoft.NET.Build.Tasks.dll".
Task "AllowEmptyTelemetry"
Done executing task "AllowEmptyTelemetry".
Done building target "_CollectTargetFrameworkForTelemetry" in project "OptionAnalyzer.fsproj".
Target "_CheckForUnsupportedTargetPlatformIdentifier" skipped, due to false condition; ('$(TargetPlatformIdentifier)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0))) was evaluated as ('' != '' and '.NETCoreApp' == '.NETCoreApp' and True).
Target "RunResolvePackageDependencies" in file "/usr/local/share/dotnet/sdk/5.0.202/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets" from project "/Users/objectx/Workspace/GitHub/FSharp.Analyzers.SDK/samples/OptionAnalyzer/OptionAnalyzer.fsproj" (target "ResolvePackageDependenciesDesignTime" depends on it):
Task "CheckForTargetInAssetsFile" skipped, due to false condition; ( '$(DesignTimeBuild)' != 'true') was evaluated as ( 'true' != 'true').
Using "ResolvePackageDependencies" task from assembly "/usr/local/share/dotnet/sdk/5.0.202/Sdks/Microsoft.NET.Sdk/targets/../tools/net5.0/Microsoft.NET.Build.Tasks.dll".
Task "ResolvePackageDependencies"
Done executing task "ResolvePackageDependencies".
Done building target "RunResolvePackageDependencies" in project "OptionAnalyzer.fsproj".
Target "_NormalizeTargetPlatformVersion" skipped, due to false condition; ('$(TargetPlatformVersion)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) and '$(Language)' != 'C++') was evaluated as ('' != '' and '.NETCoreApp' == '.NETCoreApp' and True and 'F#' != 'C++').
Target "_CheckForLanguageAndFeatureCombinationSupport" in file "/usr/local/share/dotnet/sdk/5.0.202/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets" from project "/Users/objectx/Workspace/GitHub/FSharp.Analyzers.SDK/samples/OptionAnalyzer/OptionAnalyzer.fsproj" (target "ProcessFrameworkReferences" depends on it):
Task "NETSdkError" skipped, due to false condition; ('$(Language)' == 'C++' and
Property reassignment: $(PrepareResourcesDependsOn)="
Property reassignment: $(DefaultItemExcludes)=";bin\Debug/;obj/Debug/;bin//" (previous value: ";bin\Debug/;obj/Debug/") at /usr/local/share/dotnet/sdk/5.0.202/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.DefaultItems.targets (27,5)
Property reassignment: $(_GenerateRuntimeConfigurationPropertyInputsCache)="/Users/objectx/Workspace/GitHub/FSharp.Analyzers.SDK/src/FSharp.Analyzers.SDK/obj/Debug/net5.0/FSharp.Analyzers.SDK.genruntimeconfig.cache" (previous value: "obj/Debug/net5.0/FSharp.Analyzers.SDK.genruntimeconfig.cache") at /usr/local/share/dotnet/sdk/5.0.202/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets (53,5)
Property reassignment: $(CoreCleanDependsOn)="
Property reassignment: $(RebuildDependsOn)="
Property reassignment: $(CompileDependsOn)="
Property reassignment: $(CreateSatelliteAssembliesDependsOn)="
Property reassignment: $(DesignerRuntimeImplementationProjectOutputGroupDependsOn)="
Property reassignment: $(PublishReadyToRunComposite)="false" (previous value: "true") at /usr/local/share/dotnet/sdk/5.0.202/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets (20,5) There is no |
Describe the bug
Failed to run
dotnet fake build -t RunSample
on macOS.To Reproduce
Steps to reproduce the behaviour:
dotnet fake build -t RunSample
Expected behaviour
Successfully run
Screenshots
Following is a log of
dotnet fake build -t RunSample
on my Machine.sample.log
Environment (please complete the following information):
Additional context
On CentOS7 (dotnet SDK: 5.0.100),
dotnet fake build -t RunSample
works as expectedThe text was updated successfully, but these errors were encountered: