You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that when I convert from .net framework 4.8.1 to the SDK framework style, I lose lots of information within the csproj that affects the files in my project. It removes all embedded resources and compile items in itemgroups. Some of my files are Windows Forms and pre-SDK, I can edit the form in designer style, but after converting them, the files convert to normal .cs files and lose their design feature for all forms in the project. The .resx still exists under the file. When I add back in the itemgroup to add the embedded resource and subtype, the file type changes back to designer, but cannot be modified under the designer feature in visual studio.
Am I converting them incorrectly? Or is there something else I am missing?
The text was updated successfully, but these errors were encountered:
Not sure what I can share from the project, but once I convert to SDK, assembly references that previously worked just fine and were static references (not compiled from another project), they are broken and I have to re-add them manually.
The old .csproj for the project does not have a hintpath for the missing references in there, but right clicking on the reference and going to properties, there is a path field filled out for the reference to the correct spot.
For the designer/forms, the fix was to change the inheritance to Form and back to whichever class it inherited from and it fixed it.
I noticed that when I convert from .net framework 4.8.1 to the SDK framework style, I lose lots of information within the csproj that affects the files in my project. It removes all embedded resources and compile items in itemgroups. Some of my files are Windows Forms and pre-SDK, I can edit the form in designer style, but after converting them, the files convert to normal .cs files and lose their design feature for all forms in the project. The .resx still exists under the file. When I add back in the itemgroup to add the embedded resource and subtype, the file type changes back to designer, but cannot be modified under the designer feature in visual studio.
Am I converting them incorrectly? Or is there something else I am missing?
The text was updated successfully, but these errors were encountered: