Main Site Documentation

Build errors


#1

Yesterday everything was fine, built and ran my project. This morning, trying to build I get :

image

answering No, i get:

What’s happening ???


#2

Did you import GHI.TinyClr.Drawing nuget package ?


#3

Yes, I then got errors such as:
‘Image is defined in both system.drawing and GHIElectronics.TinyCLR.Drawing’.


#4

What other nuget packages and references are in your project? It looks like you’re trying to use the System.Drawing assembly from the desktop .NET, which won’t work.


#5

The problem is that it worked fine yesterday. Today it does not


#6

Right, seeing the package and reference list will still help though.


#7

The references:

the packages:


#8

I have created a new project, incrementally added my source code, added the required resources, and am running fine again.


#9

TinyCLR doesn’t work on Thursdays?!


#10

and am running fine again.

Nice to hear that.


#11

Lets hope its only thursday Jan24


#12

So in your references you had an errant System.Drawing reference. That was the cause of the failure. How it got there though, I can only speculate.