question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VB -> C#: MySettings not converted correctly

See original GitHub issue

VB.Net input code

If relevant, please enter some example VB.NET code here to reproduce the issue, or the steps taken to cause the issue.

Erroneous output

If relevant, the incorrectly converted output, or an exception with stack trace.

Expected output

If relevant, the output you expected, or a description of what you expected.

Details

  • Product in use: e.g. codeconverter.icsharpcode.net / VS extension / both
  • Version in use: e.g. 5.6.3 or a commit hash (if it’s a 3rd party tool using this library, try one of the above)
  • Did you see it working in a previous version, which?
  • Any other relevant information to the issue, or your interest in contributing a fix.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jayobriencommented, Jul 28, 2021

What I ended up doing is

  1. open the xsd file
  2. individually deleting each table
  3. dragging them back from my Server Explorer
  4. right click on the table and click on configure step through
0reactions
jayobriencommented, Apr 28, 2022

Thanks From: GrahamTheCoder @.> Sent: Wednesday, April 27, 2022 6:33 PM To: icsharpcode/CodeConverter @.> Cc: Jay O’Brien @.>; State change @.> Subject: Re: [icsharpcode/CodeConverter] VB -> C#: MySettings not converted correctly (#740)

The file is the converted version of what the VB compiler creates during compilation. I think the attribute is just used on the template of that file to tell the compiler where to fill in the propertieshttps://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.mygroupcollectionattribute?view=net-6.0. Since they’ve already been filled in by this point, and you’ll never run the VB compiler on that file, I think you can just remove those 2 attributes.

— Reply to this email directly, view it on GitHubhttps://github.com/icsharpcode/CodeConverter/issues/740#issuecomment-1111576546, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO7RIRCAK7JUXCVPORSOSE3VHHFDJANCNFSM5AWS3ARQ. You are receiving this because you modified the open/close state.Message ID: @.@.>>

Read more comments on GitHub >

github_iconTop Results From Across the Web

What has changed and "My.Settings.CommPort" doesn't ...
I'm following a Visual Basic 2013 instructions video to create an ASCOM ... an error saying "'CommPort' is not a member of 'MySettings'....
Read more >
Value of type '<type1>' cannot be converted to '<type2>'
To correct this error · Make sure the expression can be converted to the destination data type. · If <type2> is an array,...
Read more >
[Solved] My.Settings not working
Ok, looks like it's a problem with the code in my Preferences screen but not sure what. If i don't open it, the...
Read more >
Creating/Saving a Settings file throws error · Issue #3346
cs is working just fine. For VB: True, we cannot create a settings file. But you can manually insert a file at the...
Read more >
Step By Step Guide to Convert VB .NET Projects to C# - ...
Successful VB .NET to C# conversion requires careful planning, good conversion tools and ample testing. This comprehensive list will help ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found