New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment error, unknown type: System.Diagnostics.DebuggerBrowsableState #14
Comments
To workaround the problem, I've had to add this hack to each library project in the solution the main program is using too.
|
Also encountered on the Netduino 2 4.3.2. |
Took me a minute to figure out but you’re a life saver!
PS: Also bloody awesome to see another kiwi in the community. I’ve only just dusted off my Netduino again as I was too young to figure it out back in high school. Hope to get more acquainted with ya in the .Net MF community mate!
From: Bryn Lewis
Sent: Sunday, 17 November 2019 2:00 PM
To: WildernessLabs/Netduino_SDK
Cc: cooltions; Comment
Subject: Re: [WildernessLabs/Netduino_SDK] Deployment error, unknown type:System.Diagnostics.DebuggerBrowsableState (#14)
HI
As a temp fix try adding
namespace System.Diagnostics
{
public enum DebuggerBrowsableState
{
Never = 0,
Collapsed = 2,
RootHidden = 3
}
}
To the bottom of you main .cs file
Regards
Bryn Lewis
devMobile Software
G: github.com/KiwiBryn
B: blog.devmobile.co.nz
T:@KiwiBryn
[edit: removed contact telephone number and direct email]
From: cooltions <notifications@github.com>
Sent: Sunday, 17 November 2019 12:26 PM
To: WildernessLabs/Netduino_SDK <Netduino_SDK@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [WildernessLabs/Netduino_SDK] Deployment error, unknown type: System.Diagnostics.DebuggerBrowsableState (#14)
Also encountered on the Netduino 2 4.3.2.
Seems I can blink the LED but as soon as I add another c# file like Fabien's netduino helpers I get this issue and nothing happens.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#14?email_source=notifications&email_token=ADB7JONOTUVMP5B2K25BYXTQUB6RVA5CNFSM4EK45YOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEH454Y#issuecomment-554684147>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADB7JOKGQ3N7LI4CIQKCSOLQUB6RVANCNFSM4EK45YOA>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@cooltions - you a jaffa? :D |
|
I am - but escaped to Europe and now back in sunny Northland where the NETMF magic happens :) |
@therealjohn @KiwiBryn Thank you this saved me from pulling my hair out. |
Overview
Unable to deploy app to N3 Wifi.
Steps to Reproduce
Deploy the DemoWeb project from this repository.
Actual Results
Expected Results
Deploys.
Additional Info
Tried adding the enum manually, which seems to be the hack being used in the samples too. Unfortunately, it does not work 100% of the time.
This happens when deploying on Windows from VS 2015. On Mac, I receive a similar error but for a different type.
The text was updated successfully, but these errors were encountered: