In this article I will demonstrate why you get the Unrecognized attribute target Framework exception.
In this article I will demonstrate why you get the "Unrecognized attribute target Framework" exception.IntroductionTake a real scenario in the coding in which you are working with Visual Studio 2012 or 2013 and you want to deploy your application to your server but you don't know which .Net framework is supported by the server.For example, you created a website using the 4.5 .Net Framework, and deploy it on the server and your server doesn't support the 4.5 .Net framework. So in this case you will get the Unrecognized attribute target Framework exception.To show this case in this article, I will create the following 2 websites:
Use the following procedure to do this.Note: My server is running under the 4.5 .Net Framework.Step 1
There is an error when I deploy the 4.5 .Net Framework website on the server that is running under the 3.5.Net Framework.Step 2
Summary
Now you can understand why you are getting this exception and if you want to resolve this issue.
DateTime in C#