.net - problems after copying XAML controls from WPF Application to class library -


In the process of refactoring some code, I encountered several types of errors:

The Library Project file can not specify the ApplicationDefinition element.

The project file contains a property value that is not valid.

How can these errors be solved?

When you copy and paste any project or any other project, in Visual Studio There is a dirty habit without not keeping it; strong build builds property it often appears to change the construction of random value, e.g. Check ApplicationDefinition , which may cause a build error

(with the file selected in the Solution Explorer in the Visual Studio property window) that you have BuildAction < / Strong> is the property of Pages > and your code files have a build property of compile .


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -