question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GraphQLParser.dll is missing from Snowflaqe.Tasks nugget package

See original GitHub issue

When I try to build a client as a separate project, I’m getting the following error:

error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'GraphQLParser, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. 

My .fsproj file:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <GenerateDocumentationFile>true</GenerateDocumentationFile>
  </PropertyGroup>

  <PropertyGroup>
    <SnowflaqeProjectName>Test.Client</SnowflaqeProjectName>
    <SnowflaqeQueriesFolder>../../graphql</SnowflaqeQueriesFolder>
    <SnowflaqeSchemaPath>../../graphql/schema.json</SnowflaqeSchemaPath>
    <SnowflaqeTargetProjectType>fsharp</SnowflaqeTargetProjectType>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="FSharp.SystemTextJson" Version="1.*" />
    <PackageReference Include="Snowflaqe.Tasks" Version="1.*">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
  </ItemGroup>
</Project>

To me it seems like some packaging issue, but I’m new to F#, so maybe I’m doing something wrong. Please advice.

Thank you!

Issue Analytics

  • State:open
  • Created 7 months ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Zaid-Ajajcommented, Feb 28, 2023

@andriilula I see, that is a very interesting use case for sure!

@xperiandri #78 can solve the problem indeed, I remember the build failing locally when I tried to publish a package and didn’t know where to go from there. I will take another look soon

0reactions
Zaid-Ajajcommented, May 10, 2023

Hi @andriilula I know it has been a while since I looked into this issue. I was able to publish Snowflaqe.Tasks v1.4.5 latest without any issues, can you give it a try for your use case?

Read more comments on GitHub >

github_iconTop Results From Across the Web

C# not finding package with GraphQL
Having a little trouble with the Schema for the GraphQL Types. ... where the missing types should be defined. dotnet add package GraphQL....
Read more >
How to connect to snowflake using C Sharp application ...
Information · 1. Create C sharp console application project · Configure your new project · Add Snowflake .NET connector to the application ·...
Read more >
Issue in Connecting ADF to snowflake - appsloveworld.com
Below are the recommendations to avoid this error from Snowflake. Make sure to bypass the endpoints found from SYSTEM$ALLOWLIST [0] and SYSTEM$ ...
Read more >
Unable to connect Azure to Matillion - appsloveworld.com
I believe with Matillion ETL on Snowflake Partner Connect, you always get an AWS-hosted instance. So you won't find an Azure Blob Storage...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found