-
Notifications
You must be signed in to change notification settings - Fork 588
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
Cannot load assembly #2381
Comments
One problem is Other than that it should be reasonable to assume it working with Thanks! |
It's is not minimal, but checking out on master https://github.com/turbofabric/Fake.TurboFabric. |
I will try to pull out a repro into a different repo. |
@dandereggK Thanks for the report, should be fixed in the next version. |
Description
(Could not load file or assembly 'Microsoft.ServiceFabric.Client.Http, Culture=neutral, PublicKeyToken=null'. General Exception (Exception from HRESULT: 0x80131500))
Repro steps
Please provide the steps required to reproduce the problem
`version 5.216.0
source https://api.nuget.org/v3/index.json
framework: netcoreapp2.1
nuget FSharp.Core
nuget Microsoft.ServiceFabric
nuget Microsoft.ServiceFabric.Services
nuget Expecto
group Build
source https://api.nuget.org/v3/index.json
framework: netstandard2.0
generate_load_scripts: true
//also produces error at lower version
nuget FSharp.Data
nuget Fake.IO.Zip
nuget TaskBuilder.fs 2.1.0`
".fake/fake.exe" -vv build
It appears to reference correctly:
"-r:C:\Users\danderegg\Desktop\Projects\Fake.TurboFabric\packages\build\Microsoft.ServiceFabric.Client.Http\lib\netstandard2.0\Microsoft.ServiceFabric.Client.dll";
"-r:C:\Users\danderegg\Desktop\Projects\Fake.TurboFabric\packages\build\Microsoft.ServiceFabric.Client.Http\lib\netstandard2.0\Microsoft.ServiceFabric.Client.Http.dll";
"-r:C:\Users\danderegg\Desktop\Projects\Fake.TurboFabric\packages\build\Microsoft.ServiceFabric.Client.Http\lib\netstandard2.0\Microsoft.ServiceFabric.Common.dll";
Fails when trying to use:
let connect creds = let sfClient = ServiceFabricClientBuilder() .UseEndpoints(Uri(creds.Endpoint)) .UseX509Security(Func<CancellationToken,Task<SecuritySettings>>(getCreds creds)) .BuildAsync().GetAwaiter().GetResult(); sfClient
at
let client = TurboFabric.connect DemoSettings.Creds
Repo at this commit in the master branch:
musheddev/Fake.TurboFabric@d91c500
Windows
Fake 5.16.0
Questions (because I am not that familiar with fsi or fake runner)
Am I wrong to use netstandard2.0 in paket for fake dependencies?
Could this be related to dotnet/fsharp#6968?
The text was updated successfully, but these errors were encountered: