Starcounter / Home

Starcounter is an in-memory database application engine.
https://starcounter.io
27 stars 1 forks source link

Reference .net core assembly in Starcounter app #176

Closed ubbeK closed 7 years ago

ubbeK commented 7 years ago

I am trying to make proof of concept for a Starcounter test framework which is using .NETStandard 1.4. My goal is to create an ordinary Starcounter Application using .NET Framework 4.6.2 or higher which references the test framework. But when doing this I get the following weaver error:

The weaver failed to resolve a reference to an assembly. Referenced assembly: System.Runtime, 
Version=4.0.20.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Probable referrer:
 StarcounterTestFramework.dll (in C:\Github\home\StarcounterTestFramework\ScTestApp\bin\Debug). (ScErrWeaverFailedResolveReference (SCERR2147))

Is it possible to reference a .net core assembly in a Starcounter app?

@warpech @miyconst @per-samuelsson

bigwad commented 7 years ago

Not supported currently. Duplicate of https://github.com/Starcounter/RebelsLounge/issues/108?

bigwad commented 7 years ago

Btw, if a referenced assembly doesn't need to be weaved (i.e. it doesn't contain database classes) then you can exclude it from weaving by means of weaver.ignore file.

ubbeK commented 7 years ago

Closing: duplicate