GithubHelp home page GithubHelp logo

Comments (5)

czhower avatar czhower commented on August 17, 2024

On 1/4/2015 1:11 PM, Hetal728 wrote:

i have an assembly reference (Orvid.Graphics) which depends on
System.Drawing. Unfortunately the Cosmos compiler doesn't like this and
refuses to add it as a reference. Is there any way around this?

It is much more helpful if you provide us with details as to "what it
doesn't like". I assure you that the compiler is very logical and not
emotional at all and does not have preferences as to what other
assemblies it likes or dislikes.

from cosmos.

 avatar commented on August 17, 2024

Error 2 Could not load file or assembly 'Orvid.Graphics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at System.RuntimeMethodHandle.GetMethodBody(IRuntimeMethodInfo method, RuntimeType declaringType)
at System.Reflection.RuntimeMethodInfo.GetMethodBody()
at Cosmos.IL2CPU.ILReader.ProcessMethod(MethodBase aMethod) in g:\IL2CPU\source2\IL2CPU\Cosmos.IL2CPU\ILReader.cs:line 42
at Cosmos.IL2CPU.ILScanner.ScanMethod(MethodBase aMethod, Boolean aIsPlug, String sourceItem) in g:\IL2CPU\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 561
at Cosmos.IL2CPU.ILScanner.ScanQueue() in g:\IL2CPU\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 686
at Cosmos.IL2CPU.ILScanner.Execute(MethodBase aStartMethod) in g:\IL2CPU\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 277
at Cosmos.Build.MSBuild.IL2CPUTask.Execute() in g:\IL2CPU\source2\Build\Cosmos.Build.MSBuild\IL2CPUTask.cs:line 239 C:\Program Files (x86)\MSBuild\Cosmos\Cosmos.targets 31 6 GalaxyBoot

I suspected the cause of this error to be System.Drawing, but after further investigation, I appear to be incorrect. I apologize for assuming the cause too quickly.

from cosmos.

mterwoord avatar mterwoord commented on August 17, 2024

Is Orvid.Graphics set to copylocal?

from cosmos.

 avatar commented on August 17, 2024

Yes

from cosmos.

mterwoord avatar mterwoord commented on August 17, 2024

Cosmos projects consist of 2 project: the .csproj and the .Cosmos
Do you have both in the same directory, and both set to build to the same directory?

from cosmos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.