Comments (5)
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.
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.
Is Orvid.Graphics set to copylocal?
from cosmos.
Yes
from cosmos.
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)
- VBECanvas display issue HOT 6
- Can’t find one for vs-2010 HOT 3
- Won’t boot on old computers HOT 13
- How can I format a fat32 disk HOT 5
- "Visual Studio Workloads was not found. Install install .Net Core 6.0 Runtime" HOT 3
- Cosmos: Build errors
- Build ISO Doesn't Work At All HOT 9
- File.Exists() causes CPU Exception HOT 8
- can someone help me i dont know how to fix this HOT 4
- Nothing happens to me after starting my OS (the input cursor flashes, but I did not add this to the code) HOT 2
- Creating GUI gives an error with COSMOS. HOT 1
- QEMU PS/2 keyboard unresponsive HOT 1
- Cosmos is not reading my code HOT 2
- Cosmos not installing -- Im still waiting for a solution HOT 3
- How to create a GUI with Mouse ? HOT 4
- I can't build my OS into an ISO HOT 4
- Cosmos Wont Install HOT 7
- `Native Code Encountered` when trying to subscribe to an event. HOT 2
- OS crashing after 1-2 minutes because ram usage going up HOT 9
- Problem while building COSMOS OS 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 cosmos.