Designer file is locked and when go to project properties it gives this error.
An error occurred trying to load the project properties window. Close the window and try again. The CurrentContext property of the LicenseManager is currently locked and cannot be changed.
.net framework 3.5 VS 2008
You can find Properties Window on the View menu. You can also open it by pressing F4 or by typing Properties in the search box.
You can handle default errors at the application level either by modifying your application's configuration or by adding an Application_Error handler in the Global. asax file of your application. You can handle default errors and HTTP errors by adding a customErrors section to the Web. config file.
MSB4019: The imported project 'name' was not found. Confirm that the expression in the Import declaration 'declaration' is correct, and that the file exists on disk. Check the syntax of the import declaration, check the path of the imported file, and make sure the spelling of the filename is correct.
To fix this problem, you can delete the broken reference and then replace it by using the Add Reference dialog box. Another solution is to use the Reference Path item in the project's property pages and modify the folders in the list to point to the correct locations.
Just a random suggestion:
Close VS, then try deleting any .suo or .csproj.user files. These store per user settings like which files you have open etc, and can sometimes get corrupted. (maybe back them up first just in case)
See following
http://social.msdn.microsoft.com/Forums/en-US/winformsdesigner/thread/b3bf3b31-85ac-4073-be2b-2f061b240e63
Some of the resources that you use in your project are compiled with different versions of the .net framework.
Right click on your project, choose properties and change Target framework to the framework that the resources are compiled with, or remove those resources and continue.
I agree with Simon.. I was getting this error and could not resolve this.. I removed all unused references from mysoftware properties under project menu and then i removed the unused data base. it resolved my problem. i m sure it will work for you.
Sometimes some corrupted files causes this problem although you never applied and sort of licensing to your software.
njoy..
SandeepV
Adobe Certified Expert
Microsoft Certified IT Professional
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With