Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27321

VS 2022 My.Settings after migration from Net Framework 4.7.2 to .Net 8.0

$
0
0
I have recently migrated a project from net framework 4.7.2 to .Net8.0 using the upgrade utility within Visual studio.

All seems to work remarkably well for an upgrade utility. However when I change the contents of My.Settings whilst this is updated within the displayed table, it is not reflected in the other code and when trying to use a new setting defined in my.settings, it shows it as invalid.

Also looking at the compiler error messages (that may be relevant), there is one that says :-

Quote:

Failed to generate file: The type name:"DataProcessor.My Project" on the property:"Name" of type:"System.CodeDom.CodeNamespace" is not a valid language-independent type name.
Parameter name: typeName
Clicking on the error message opens a XML File called Settings.settings which lists the items in my.settings including the ones I have added.

There is little documentation on the web about this and what is there, seems overly complex and beyond my understanding.

Any help in resolving this would be appreciated as it is stopping my application from running.

Viewing all articles
Browse latest Browse all 27321

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>