Comments (7)
Hi @thinkloop !
Friends.csproj is for .net framework. Please try this one:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<RuntimeFrameworkVersion>2.0.0-beta-001509-00</RuntimeFrameworkVersion>
<AssemblyName>test_name_coreclr</AssemblyName>
<RootNamespace>test_name</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="GraphEngine.CoreCLR" version="1.0.8850"/>
</ItemGroup>
<ItemGroup>
<TslCodegen Include="**/*.tsl" />
<Compile Remove="Properties/*.cs" />
</ItemGroup>
</Project>
Also, please build the tsl branch for tsl support under Linux.
from graphengine.
Hey Yatli,
Thanks for the reply. When I run ../../tools/dotnet/dotnet restore ./Friends.lnx
with Friends.lnx
having the contents of what you provided in the previous msg, I get the following messages:
Restoring packages for /home/ubuntu/workspace/GraphEngine/samples/Friends/Friends.lnx...
/home/ubuntu/workspace/GraphEngine/tools/dotnet/sdk/2.0.0-preview1-005823/NuGet.targets(97,5): warning : Dependency specified was Microsoft.NETCore.App (>= 2.0.0-beta-001509-00) but ended up with Microsoft.NETCore.App 2.0.0-preview1-002028-00. [/home/ubuntu/workspace/GraphEngine/samples/Friends/Friends.lnx]/home/ubuntu/workspace/GraphEngine/tools/dotnet/sdk/2.0.0-preview1-005823/NuGet.targets(97,5): error : Unable to resolve 'GraphEngine.CoreCLR (>= 1.0.8850)' for '.NETCoreApp,Version=v2.0'. [/home/ubuntu/workspace/GraphEngine/samples/Friends/Friends.lnx]
Generating MSBuild file /home/ubuntu/workspace/GraphEngine/samples/Friends/obj/Friends.lnx.nuget.g.props.
Generating MSBuild file /home/ubuntu/workspace/GraphEngine/samples/Friends/obj/Friends.lnx.nuget.g.targets.
Writing lock file to disk. Path: /home/ubuntu/workspace/GraphEngine/samples/Friends/obj/project.assets.json
Restore failed in 724.45 ms for /home/ubuntu/workspace/GraphEngine/samples/Friends/Friends.lnx.
Errors in /home/ubuntu/workspace/GraphEngine/samples/Friends/Friends.lnx
Unable to resolve 'GraphEngine.CoreCLR (>= 1.0.8850)' for '.NETCoreApp,Version=v2.0'.
NuGet Config files used:
/home/ubuntu/.nuget/NuGet/NuGet.Config
Feeds used:
https://api.nuget.org/v3/index.json
/home/ubuntu/workspace/GraphEngine/bin/coreclr
from graphengine.
You have to first build the GE core. Please see the build instructions in the readme file. Currently the TSL codegen is in the tsl
branch so please checkout that branch instead of master
.
from graphengine.
Are you talking about these build instructions:
Install libunwind8, g++, cmake and libssl-dev, then execute tools/build.sh. When the build script is executed for the first time, it will download and install the latest CoreCLR 2.0 SDK to tools/dotnet. A nuget package will be built and put at bin/coreclr/GraphEngine.CoreCLR.version.nupkg. The folder bin/coreclr will be registered as a local NuGet repository and the local package cache for GraphEngine.CoreCLR will be cleared. After the package is built, you can run dotnet restore to use the newly built package.
This is what I have been following. I will try the tsl
branch - what is tsl?
from graphengine.
To summarize the build instructions:
- Install libunwind8, g++, cmake and libssl-dev, then execute tools/build.sh
- run dotnet restore
Correct?
from graphengine.
@thinkloop yeah, tools/build.sh
will add the output directory as a local nuget source (and clean the stale packages), so you'll be able to restore it.
from graphengine.
btw, tsl
stands for "Trinity Specification Language" (where you define cell types, communication protocols etc.). See: https://github.com/Microsoft/GraphEngine/blob/master/doc/TSL/index.md
from graphengine.
Related Issues (20)
- .Net 5? HOT 30
- build.ps1 on Windows 10: CMake Error: Unknown argument --host=x64 HOT 2
- [How to] Run 2 Trinity servers on the same Windows 10 laptop at the same time? HOT 6
- How is the "include" statement supposed to work across multiple VS projects in the same solution? HOT 1
- [Bug Report] There is a little bug in Network lib HOT 3
- [Bug Report] Wrong Unlock HOT 15
- [Bug Report] Little Bug in TrinityCluster HOT 6
- Using generated C# "struct" classes in a Xamarin Android app? HOT 4
- [Feature Request] Ability to return a TSL service API definition as a Swagger.json file HOT 2
- dataset for freebase-likq sample does not exist HOT 2
- Dataset for freebase-likq sample does not exist HOT 2
- Website certificate is not valid HOT 4
- Bug in FanoutSearch with net6 HOT 11
- Public website certificate is not valid HOT 10
- Windows
- Windows
- Unable to load shared library 'Trinity' or one of its dependencies. when compiling on Ubuntu 22.04 or Wsl HOT 4
- Have an issue running 2 instances of a Trinity console app? HOT 4
- Trojan in trinity.dll HOT 14
- Attempted to read or write protected memory - Very Serious Error :-( HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphengine.