emmanuelkhumbudzo / linqtoexcel

Automatically exported from code.google.com/p/linqtoexcel
0 stars 0 forks source link

Remove System.Web reference to work with .NET Client profile #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Reference the LinqToExcel assembly in a console application
2. Compile
3. Warning is given about refernce to System.Web in client profile. Changing 
profile to regular .NET 4 works fine, but is not the ideal solution. 

What is the expected output? What do you see instead?
Successful compilation and no warnings.

What version of the product are you using? On what operating system?
1.4.80

Please provide any additional information below.

Original issue reported on code.google.com by rpeter...@gmail.com on 7 Sep 2010 at 7:34

Attachments:

GoogleCodeExporter commented 9 years ago
To add. It throws a warning, but actually breaks the application that it is 
referenced by (the console app running the client profile). Removing any 
instances of LinqToExcel in any referenced projects gets rid of the issue. 

Original comment by rpeter...@gmail.com on 7 Sep 2010 at 7:49

GoogleCodeExporter commented 9 years ago
LinqToExcel is compiled in .Net version 3.5, therefore .Net 4.0 applications 
cannot use the .Net 4.0 client profile since it does not include previous 
versions of the framework. The full .Net 4.0 framework does include previous 
versions.

I don't know why it gives a warning about System.Web, but you will have to 
compile the application using the full .Net 4.0 profile or the .Net 3.5 profile.

Original comment by paulyo...@gmail.com on 19 Sep 2010 at 10:00