Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Micro Liquid Crystal Issue


  • Please log in to reply
5 replies to this topic

#1 BotDuino

BotDuino

    New Member

  • Members
  • Pip
  • 7 posts

Posted 15 April 2012 - 04:41 PM

I have used my Netduino for a variety of purposes, and I decided to hook up an LCD screen. I downloaded the Micro Liquid Crystal Library, and found it would not deploy. I then updated my netduino (firmware and bootloader) to the latest version along with the SDK. I then upgraded Micro Liquid Crystal to version 4.2, but I am still getting an error. This is what happens, When I deploy the project, it builds, and deploys, but when it goes to deploy a popup comes up. The popup says "TinyCLR Error" in the title bar and the message reads, "The project must have either an output type of 'Console Application', or an output type of 'Class Library' and the start action set to a valid .NET MicroFramework application" When I click OK the box goes away, in the bottom right (in the status bar) it says "Deploy Succeeded", but it obviously has not succeeded. I have tried setting the output type to both "Console Application" and "Class Library", but it still fails. No other project seems to do this. Any help is greatly appreciated, BotDuino

#2 smarcus3

smarcus3

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts

Posted 17 April 2012 - 04:08 AM

I use the micro library on a 4.2 N+, but don't get any errors after I rebuilt the reference. If you want I can post my project and / or refernce dll if that will help. Let me know.
Steve


My Other Hobby: Engineer Turned Baker

#3 peterfjorgensen

peterfjorgensen

    New Member

  • Members
  • Pip
  • 9 posts
  • LocationDenmark

Posted 17 April 2012 - 05:27 AM

...
This is what happens,
When I deploy the project, it builds, and deploys, but when it goes to deploy a popup comes up.
The popup says "TinyCLR Error" in the title bar and the message reads,
"The project must have either an output type of 'Console Application', or an output type of 'Class Library' and the start action set to a valid .NET MicroFramework application"
...


Hi,

To me it sounds as if you have not selected the main project in Visual Studio to be the startup project. The startup project is the one that contains your Main method. Look in the Solution Explorer panel and rightclick on your main project and select the "Set as StartUp Project".

Hope it helps.

Peter

#4 BotDuino

BotDuino

    New Member

  • Members
  • Pip
  • 7 posts

Posted 18 April 2012 - 12:37 PM

Thanks for the help, I will try changing the startup project to see if that fixes it.

#5 Guest_jessesteinen_*

Guest_jessesteinen_*
  • Guests

Posted 15 June 2013 - 07:49 PM

Apologies for necromancing, but Peter's post fixed it for me. Thanks!



#6 Thomas Maynard

Thomas Maynard

    New Member

  • Members
  • Pip
  • 7 posts
  • LocationChicago

Posted 18 March 2014 - 05:16 AM

it sounds as if you have not selected the main project in Visual Studio to be the startup project. The startup project is the one that contains your Main method. Look in the Solution Explorer panel and rightclick on your main project and select the "Set as StartUp Project".

 

Thank you, thank you, thank you!  I have been fighting this nasty problem for at least a week: I'm a VSU2013 and NETMF noob, but I started with C# back when it first appeared back in 2000.

 

You can't believe how frustrating this has been for me.  I owe you a beer, for sure.

 

P.S. I also realize that this thread has been dormant for almost two years, but it still pulled my butt out of the fire.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.