Share via


Visual Studio 2019 cannot open designer for some projects whether 2017 can

Question

Saturday, June 29, 2019 11:42 AM

Hello everyone !

Everything is in the title,

I've installed VS 2019 (community) and it fails to open the designer for some Forms (winform).
This is the error it shows :

The designer could not be shown for this file because none of the classes within it can be designed.     
 
 
Instances of this error (1)  
 
1.   Hide Call Stack 
 
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)  
 
 

I've made some investigations and it seems that all files of the project are open as "miscallaneous files".

The same project opened in VS 2017  is working fine.

This is what I get from "Project System Tools" plugin, when opening the designer for one form :

(Start [506]) [WorkCoordinator_WaitForHigherPriorityOperationsAsync]
(End   [506]) [WorkCoordinator_WaitForHigherPriorityOperationsAsync] cancellation:False, delta:0, []
(Start [507]) [WorkCoordinator_ProcessProjectAsync]
(End   [507]) [WorkCoordinator_ProcessProjectAsync] cancellation:False, delta:0, [(ProjectId, #01335722-a457-421f-bb44-bbdb83ad6ba4 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), (HighPriority|DocumentClosed|SyntaxChanged|SemanticChanged|DocumentRemoved), LowPriority:False, ActiveMember:False, Retry:False, ()]
(Log) [WorkCoordinator_AsyncWorkItemQueue_LastItem] [N/A]
(Log) [WorkCoordinator_AsyncWorkItemQueue_FirstItem] [N/A]
(Log) [WorkCoordinator_DocumentWorker_Enqueue] [Tick:145621328, (DocumentId, #b8b33621-05f3-417d-9c72-00562503f1b8 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), Replaced:False]
(Log) [WorkCoordinator_Project_Enqueue] [Tick:145621328, (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), Replaced:False]
(Log) [WorkCoordinator_SemanticChange_Enqueue] [Tick:145621328, (DocumentId, #b8b33621-05f3-417d-9c72-00562503f1b8 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), hint:False]
(Log) [WorkCoordinator_DocumentWorker_Enqueue] [Tick:145621359, (DocumentId, #b8b33621-05f3-417d-9c72-00562503f1b8 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), Replaced:True]
(Log) [WorkCoordinator_Project_Enqueue] [Tick:145621359, (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), Replaced:True]
(Log) [WorkCoordinator_DocumentWorker_Enqueue] [Tick:145621359, (DocumentId, #b8b33621-05f3-417d-9c72-00562503f1b8 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), Replaced:True]
(Log) [WorkCoordinator_Project_Enqueue] [Tick:145621359, (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), Replaced:True]
(Log) [WorkCoordinator_DocumentWorker_Enqueue] [Tick:145621359, (DocumentId, #b8b33621-05f3-417d-9c72-00562503f1b8 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), Replaced:True]
(Log) [WorkCoordinator_Project_Enqueue] [Tick:145621359, (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), Replaced:True]
(Log) [WorkCoordinator_DocumentWorker_Enqueue] [Tick:145621359, (DocumentId, #b8b33621-05f3-417d-9c72-00562503f1b8 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), Replaced:True]
(Log) [WorkCoordinator_Project_Enqueue] [Tick:145621359, (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), Replaced:True]
(Log) [WorkCoordinator_DocumentWorker_Enqueue] [Tick:145621359, (DocumentId, #b8b33621-05f3-417d-9c72-00562503f1b8 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), Replaced:True]
(Log) [WorkCoordinator_Project_Enqueue] [Tick:145621359, (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), Replaced:True]
(Log) [WorkCoordinator_AsyncWorkItemQueue_FirstItem] [N/A]
(Log) [WorkCoordinator_ActiveFileEnqueue] [Tick:145621359, (DocumentId, #24cddad3-ae47-44ad-a332-4efbdb6515e7 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), (ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), Replaced:False]
(Log) [WorkCoordinator_DocumentWorker_Enqueue] [Tick:145621359, (DocumentId, #24cddad3-ae47-44ad-a332-4efbdb6515e7 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), (ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), Replaced:False]
(Log) [WorkCoordinator_Project_Enqueue] [Tick:145621359, (ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), Replaced:False]
(Log) [WorkCoordinator_SemanticChange_Enqueue] [Tick:145621359, (DocumentId, #24cddad3-ae47-44ad-a332-4efbdb6515e7 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), (ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), hint:False]
(Log) [WorkCoordinator_ActiveFileEnqueue] [Tick:145621359, (DocumentId, #24cddad3-ae47-44ad-a332-4efbdb6515e7 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), (ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), Replaced:True]
(Log) [WorkCoordinator_DocumentWorker_Enqueue] [Tick:145621359, (DocumentId, #24cddad3-ae47-44ad-a332-4efbdb6515e7 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), (ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), Replaced:True]
(Log) [WorkCoordinator_Project_Enqueue] [Tick:145621359, (ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), Replaced:True]
(Log) [WorkCoordinator_DocumentWorker_Enqueue] [Tick:145621359, (DocumentId, #24cddad3-ae47-44ad-a332-4efbdb6515e7 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), (ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), Replaced:True]
(Log) [WorkCoordinator_Project_Enqueue] [Tick:145621359, (ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), Replaced:True]
(Log) [WorkCoordinator_Project_Enqueue] [[145621500] (ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb)]
(Log) [WorkCoordinator_Project_Enqueue] [[145621500] (ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb)]
(Start [514]) [WorkCoordinator_ProcessDocumentAsync]
(End   [514]) [WorkCoordinator_ProcessDocumentAsync] cancellation:False, delta:0, [(DocumentId, #24cddad3-ae47-44ad-a332-4efbdb6515e7 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), (DocumentAdded|SyntaxChanged|SemanticChanged), LowPriority:False, ActiveMember:False, Retry:False, ()]
(Log) [WorkCoordinator_DocumentWorker_Enqueue] [Tick:145622000, (DocumentId, #24cddad3-ae47-44ad-a332-4efbdb6515e7 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), (ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), Replaced:True]
(Log) [WorkCoordinator_Project_Enqueue] [Tick:145622000, (ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), Replaced:True]
(Start [515]) [WorkCoordinator_WaitForHigherPriorityOperationsAsync]
(End   [515]) [WorkCoordinator_WaitForHigherPriorityOperationsAsync] cancellation:False, delta:0, []
(Start [516]) [WorkCoordinator_ProcessDocumentAsync]
(Log) [Diagnostics_SyntaxDiagnostic] [(DocumentId, #24cddad3-ae47-44ad-a332-4efbdb6515e7 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), (ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), Microsoft.CodeAnalysis.Diagnostics.VisualBasic.VisualBasicCompilerDiagnosticAnalyzer, 497444]
(End   [516]) [WorkCoordinator_ProcessDocumentAsync] cancellation:False, delta:78, [(DocumentId, #24cddad3-ae47-44ad-a332-4efbdb6515e7 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), (DocumentOpened|HighPriority|DocumentAdded|SyntaxChanged|SemanticChanged), LowPriority:False, ActiveMember:False, Retry:False, ()]
(Start [520]) [WorkCoordinator_WaitForHigherPriorityOperationsAsync]
(End   [520]) [WorkCoordinator_WaitForHigherPriorityOperationsAsync] cancellation:False, delta:0, []
(Start [521]) [WorkCoordinator_ProcessDocumentAsync]
(End   [521]) [WorkCoordinator_ProcessDocumentAsync] cancellation:False, delta:0, [(DocumentId, #b8b33621-05f3-417d-9c72-00562503f1b8 - C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), (DocumentOpened|HighPriority|DocumentClosed|DocumentAdded|SyntaxChanged|SemanticChanged|DocumentRemoved), LowPriority:False, ActiveMember:False, Retry:False, ()]
(Start [522]) [WorkCoordinator_WaitForHigherPriorityOperationsAsync]
(End   [522]) [WorkCoordinator_WaitForHigherPriorityOperationsAsync] cancellation:False, delta:0, []
(Start [523]) [WorkCoordinator_ProcessProjectAsync]
(End   [523]) [WorkCoordinator_ProcessProjectAsync] cancellation:False, delta:0, [(ProjectId, #f531712a-ff2b-4170-b386-65186c0e9ba2 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.vb), (DocumentOpened|HighPriority|DocumentAdded|SyntaxChanged|SemanticChanged), LowPriority:False, ActiveMember:False, Retry:False, ()]
(Start [524]) [WorkCoordinator_WaitForHigherPriorityOperationsAsync]
(End   [524]) [WorkCoordinator_WaitForHigherPriorityOperationsAsync] cancellation:False, delta:0, []
(Start [525]) [WorkCoordinator_ProcessProjectAsync]
(End   [525]) [WorkCoordinator_ProcessProjectAsync] cancellation:False, delta:0, [(ProjectId, #2b2b54ae-ec74-46db-a896-e5dbf7e77be0 - Miscellaneous Files Project for C:\Ramasoft.NET\UI\Screens\Projects\ProjectsEditForm.Designer.vb), (DocumentOpened|HighPriority|DocumentClosed|DocumentAdded|SyntaxChanged|SemanticChanged|DocumentRemoved), LowPriority:False, ActiveMember:False, Retry:False, ()]
(Log) [WorkCoordinator_AsyncWorkItemQueue_LastItem] [N/A]

Can you help me ?

I could not manage to create a sample to reproduce the issue... the projects that fails have numerous referenced projects.

Thank you.

PS :

Also, I forgot to mention that I already tried several operations : clean .vs/bin/obj folders, rebuild everything, remove/re-add the files.

All replies (11)

Monday, July 1, 2019 8:39 AM

Hi VitelliD,

Sorry for delay in reply.

Did you install some extensions for your project? If not, please unload the project in solution explorer, then  reload your project. 

Note: right click the project / unload Project/ reload Project

If the issue persists, please edit XXX.csproj file when unload project, check whether the section is form.

Note: right click the project / unload Project/ edit XXX.csproj file

Any feedback will be expected.

Best Regards,

Dylan

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]


Monday, July 1, 2019 9:59 AM

Hi Dylan,

Thank you for taking time to find a solution for the issue.

Answers to your questions :

  • Did you install some extensions for your project ?
    Nope
  • Unload/Reload the project ?
    Already tried that, still not working
  • The form that cannot be designed, in the vbproj :
    <Compile Include="ProjectsEditForm.Designer.vb">
      <DependentUpon>ProjectsEditForm.vb</DependentUpon>
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="ProjectsEditForm.vb">
      <SubType>Form</SubType>
    </Compile>

NB :

  • It works (the form can be designed) on VS 2017 community but not in VS 2019 community
  • I have the last version of VS 2017 community and 2019 community
  • This is not workstation-dependent - I have the same issue on all computers I could test on

Tuesday, July 2, 2019 9:05 AM

Hi VitelliD,

Thank you for reply.

According to your description, it seems that it is not compatible with VS2019. Did you have some third extensions or plugins which could not be used in the VS2019? Or did the project need specified options and environment? Please run the VS as safe mode to open your project.

Note: open RUN window / type "devenv /safemode"

Best Regards,

Dylan

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]


Tuesday, July 2, 2019 9:45 AM

To your first question, about any plugin not compatible with VS 2019, I don't know yet. I'm checking.

Running VS2019 in safemode bring multiple issue during the project loading "The visual studio build manager package package did not load correctly. The problem may be caused by a configuration change or by the installation of another extension. You can get more information ... activitylog.xml"

And this is the activityLog.xml which seems to log somee exceptions during the loading process: ufile.io / jstv1ode
This is an entry in this file :

<entry>
    <record>1444</record>
    <time>2019/07/02 09:36:50.600</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [Visual Studio Build Manager Package]Source: &apos;mscorlib&apos; Description: An item with the same key has already been added.&#x000D;&#x000A;System.ArgumentException: An item with the same key has already been added.&#x000D;&#x000A;   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)&#x000D;&#x000A;   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)&#x000D;&#x000A;   at Microsoft.VisualStudio.CommonIDE.BuildManager.BuildManagerPackage.&lt;InitializeAsync&gt;d__3.MoveNext()&#x000D;&#x000A; End of stack trace from previous location where exception was thrown &#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.AsyncPackage.&lt;&gt;c__DisplayClass19_0.&lt;&lt;Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize&gt;b__1&gt;d.MoveNext()&#x000D;&#x000A; End of stack trace from previous location where exception was thrown &#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Threading.JoinableTask.&lt;JoinAsync&gt;d__68.MoveNext()&#x000D;&#x000A; End of stack trace from previous location where exception was thrown &#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.GetResult()</description>
    <guid>{B718A162-0361-4B0E-920B-D88D70BE609B}</guid>
    <hr>80070057 - E_INVALIDARG</hr>
    <errorinfo></errorinfo>
  </entry>

It seems to be the root cause of the issue ?
Edit: Actually there are quite a lot of exceptions thrown in activitylog.xml, I don't know which one is relevant.
NB: Also, in safemode, I cannot build. It says there is an error, but no error is shown.


Wednesday, July 3, 2019 2:51 AM

Hi VitelliD,

Thank you for feedback.

Based on your description, It seems that there are some extensions which could not run in the visual studio 2019. Please have a try to uninstall them, then check if the winform could be recognized by VS IDE. 

Look forward to your reply.

Best Regards,

Dylan

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]


Thursday, July 4, 2019 11:58 PM

Sorry for delay in reply.
I was looking forward any extension in our solutions that could not be loaded in VS 2019.
Unfortunately, there are no extensions incompatible with VS 2019.

BUT I managed to reproduce the issue with a simple project. You can get the project here : we.tl / t-8KqKKAtNUK
(remove spaces to get a valid link)
I took the project that fails, remove all the files, and just add a single form.
Build it and try to open Form1 in the designer with VS 2019, it should not works.
If you try to open it with VS 2017, it will works.

Let me know if you have the same issue as me and if you have any idea what is wrong with the project itself.


Friday, July 5, 2019 7:05 PM

Ok.

I found the issue.
If you define constants (Project > Compile > Advanced Compile Options ... > Custom constants), which concatenated, have more than 190 characters, then the project is not correctly loaded, and thus project files are interpreted as Miscallaneous.

You can easily reproduce the regression yourself. Create a Winform (VB) project, and add the following Constant  :

"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"

NB: This constant has a length of 191 characters.
NB2: You are allowed to add this constant via UI. There is no error shown when entering the constant.

Open the existing form in the designer, and you'll see that the designer cannot load the form.
Now, remove only one character from the previous constant, save, reload and you'll see that the designer can finaly load the form.

Now, what should I do ? Is there any bug tracking platform, or something like that to share the regression ?
Because it works on VS 2017.


Monday, July 8, 2019 6:15 AM

Hi VitelliD,

Sorry for delay in reply.

According to your reply, I have reproduced this issue on my side and thank you for sharing discovery here.

Please open VS2019 -> Help ->send feedback -> report a problem to report it to VS product team, or access developer community to report it.

And if you are inconvenience for it, please feel free to contact me, I would post it through above methods. Then you could comment it with more details.

BTW, I hope you could post that link here, so other community members who are interested in this issue will help you vote it. 

Best Regards,

Dylan

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]


Monday, July 8, 2019 8:15 AM

Hi Dylan !

Thank you for your following.

This is the support ticket: developercommunity.visualstudio.com/content/problem/635650/regression-with-vs-2019-community-any-project-that.html

(vote vote vote :))

Kind regards,
Vitelli David.


Monday, July 8, 2019 8:22 AM

Hi VitelliD,

I have voted it. Please be patient waiting for the response from the VS Product Team Engineers.

BTW, if you have other issue about VS IDE, please feel free to post it here, we will try our best to provide a solution.

Have a nice day.

Best Regards,

Dylan

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]


Sunday, October 6, 2019 8:12 AM

Did you open the project as a folder or as a project. I had the same problem and opening as a project solved!