Error adding user control project

Answered
0
0

I am trying to add a user control project to an existing solution.

Having chosen “Add new project” then “Web user control”, I get the following error:

—————————
Microsoft Visual Studio
—————————
The file UserControl1.Designer.cs could not be found within the project templates. Continuing to run, but the resulting project may not build properly.
—————————
OK
—————————

I am using wisej 1.4.59

  • You must to post comments
Best Answer
0
0

Hi Nic,

It’s logged as WJ-8703 and will be fixed in the next release.

In fact the file is named WebUserControl.Designer.cs and the workaround is quite easy.

Go to

C:\Users\<windows_user_name>\AppData\Roaming\Microsoft\VisualStudio\14.0\ItemTemplatesCache\Visual C#\Wisej\UserControlBase

You will find 4 files. One of them is named

WebUserControl.Designer.cs

You must rename it to

UserControl.Designer.cs

  • You must to post comments
0
0

Thanks Tiago, I had already hacked it to move on but thought I should report it anyway.

Also just noticed the (ITG) in the signature – congrats!

Nic

  • Tiago (ITG)
    Thank you for the congratulations Nic.
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.