Megabytemb / google-gdata

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

Installation and initial builds (appears very similar to Issue #435) #530

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install 'Google Data API Setup Google_Data_API_Setup_1.8.0.0.msi'
2. Open 'Google Data API SDK' in Visual Studio 2008 (standard)
3. Run 'Build/Build Solution' - lots of errors referencing NUnit
4. Install 'NUnit-2.5.10.11092.msi' Typical installation

What is the expected output? What do you see instead?
Build Succeeded.  Over 3,000 errors referencing NUnit.

What version of the product are you using? On what operating system?
Google Data API Setup Google_Data_API_Setup_1.8.0.0.msi.
Windows XP SP 3

Please provide any additional information below.
After I installed NUnit-2.5.10.11092.msi, the build succeeded.  However, there 
still remain 13 warnings:

Warning 1   'System.Net.ServicePointManager.CertificatePolicy' is obsolete: 
'CertificatePolicy is obsoleted for this type, please use 
ServerCertificateValidationCallback instead. 
http://go.microsoft.com/fwlink/?linkid=14202'   C:\Documents and 
Settings\22758\My Documents\Google Data API 
SDK\Sources\Library\unittests\baselivetestclass.cs  45  13  unittests

Warning 2   'Google.GData.Client.FeedQuery.UseSSL' is obsolete: 'This is 
deprecated and replaced by UseSSL on the service and the 
requestsettings'    C:\Documents and Settings\22758\My Documents\Google Data API 
SDK\Sources\Library\unittests\core\FeedQueryTest.cs 82  13  unittests
Warning 3   'Google.GData.Client.FeedQuery.UseSSL' is obsolete: 'This is 
deprecated and replaced by UseSSL on the service and the 
requestsettings'    C:\Documents and Settings\22758\My Documents\Google Data API 
SDK\Sources\Library\unittests\core\FeedQueryTest.cs 83  22  unittests

Warning 4   'Google.GData.Photos.PhotoAccessor' is obsolete: 'Use 
Google.Picasa.Photo instead. This code will be removed soon'    C:\Documents and 
Settings\22758\My Documents\Google Data API 
SDK\Sources\Library\unittests\photostest.cs 196 25  unittests
Warning 5   'Google.GData.Photos.PhotoAccessor' is obsolete: 'Use 
Google.Picasa.Photo instead. This code will be removed soon'    C:\Documents and 
Settings\22758\My Documents\Google Data API 
SDK\Sources\Library\unittests\photostest.cs 196 51  unittests

Warning 6   'Google.GData.Client.FeedQuery.UseSSL' is obsolete: 'This is 
deprecated and replaced by UseSSL on the service and the 
requestsettings'    C:\Documents and Settings\22758\My Documents\Google Data API 
SDK\Sources\Library\unittests\coretest.cs   198 13  unittests
Warning 7   'Google.GData.Client.FeedQuery.UseSSL' is obsolete: 'This is 
deprecated and replaced by UseSSL on the service and the 
requestsettings'    C:\Documents and Settings\22758\My Documents\Google Data API 
SDK\Sources\Library\unittests\coretest.cs   200 13  unittests
Warning 8   'Google.GData.Client.FeedQuery.UseSSL' is obsolete: 'This is 
deprecated and replaced by UseSSL on the service and the 
requestsettings'    C:\Documents and Settings\22758\My Documents\Google Data API 
SDK\Sources\Library\unittests\coretest.cs   208 27  unittests
Warning 9   'Google.GData.Client.FeedQuery.UseSSL' is obsolete: 'This is 
deprecated and replaced by UseSSL on the service and the 
requestsettings'    C:\Documents and Settings\22758\My Documents\Google Data API 
SDK\Sources\Library\unittests\coretest.cs   211 13  unittests
Warning 10  'Google.GData.Client.FeedQuery.UseSSL' is obsolete: 'This is 
deprecated and replaced by UseSSL on the service and the 
requestsettings'    C:\Documents and Settings\22758\My Documents\Google Data API 
SDK\Sources\Library\unittests\coretest.cs   213 13  unittests

Warning 11  'Google.GData.Client.OAuthUri' is obsolete: 'this is going to be 
removed in the future and replaced with OAuthAuthenticator' C:\Documents and 
Settings\22758\My Documents\Google Data API 
SDK\Sources\Library\unittests\oauthtest.cs  295 13  unittests
Warning 12  'Google.GData.Client.OAuthUri' is obsolete: 'this is going to be 
removed in the future and replaced with OAuthAuthenticator' C:\Documents and 
Settings\22758\My Documents\Google Data API 
SDK\Sources\Library\unittests\oauthtest.cs  295 36  unittests

Warning 13  The variable 'i' is assigned but its value is never 
used    C:\Documents and Settings\22758\My Documents\Google Data API 
SDK\Sources\Library\unittests\youtubetest.cs    456 17  unittests

Original issue reported on code.google.com by alon...@gmail.com on 28 Jul 2011 at 8:47

GoogleCodeExporter commented 9 years ago
That's the correct behavior, you need to install NUnit to build the unit tests. 
If you don't want to install NUnit you can exclude the unittests project from 
the build.

Warnings are just...warnings and they are mostly related to deprecated code 
which will eventually be removed. You can safely ignore them provided that you 
are not using that deprecated code.

Original comment by ccherub...@google.com on 28 Jul 2011 at 8:51

GoogleCodeExporter commented 9 years ago
Sorry for the confusion on my part.  The first reference to NUnit in the 
"Getting Started" doc comes a bit after the instruction to build the solution.

I think a note earlier in 
http://code.google.com/apis/gdata/articles/dotnet_client_lib.html would be 
helpful to prevent others from making the same mistake.

Thank you for the quick reply.

Original comment by alon...@gmail.com on 28 Jul 2011 at 9:17