Colleagues,
Subject line says it. Here's the screenshot:
BTW: when I have it like this
this error wasn't thrown.
I ran search on I-net and found this: Link
It tells that "this problem exists only if you untick (? probably "uncheck") "Just My Code" under debug options" - but this is not the case:
Any ideas what else may cause this error?
TIA!
Regards,
Ilya
Subject line says it. Here's the screenshot:

BTW: when I have it like this
Code:
If ApplicationDeployment.IsNetworkDeployed Then
Me.Text= Me.Text & " ver. " & ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString()
' Me.Text= Me.Text & " ver. " & My.Application.Deployment.CurrentVersion.ToString()
Else
Me.Text =Me.Text & " ver. " & Application.ProductVersion
End If
this error wasn't thrown.
I ran search on I-net and found this: Link
It tells that "this problem exists only if you untick (? probably "uncheck") "Just My Code" under debug options" - but this is not the case:

Any ideas what else may cause this error?
TIA!
Regards,
Ilya