Hi,
I have followed the OCSDeviceApp walkthroughhttp://msdn.microsoft.com/en-us/libr...(v=vs.90).aspx and get the following errors. I think the required NET framework version for deployment is getting mixed up somehow.
Any help appreciated.
Thanks
Paul.
------ Build started: Project: OCSDeviceApp, Configuration: Debug Any CPU ------
No way to resolve conflict between "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" and "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". Choosing "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" arbitrarily.
Consider app.config remapping of assembly "System, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" from Version "2.0.0.0" [] to Version "3.5.0.0" [C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Wind owsCE\System.dll] to solve conflict and get rid of warning.
Consider app.config remapping of assembly "System.Data, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" from Version "2.0.0.0" [C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b7 7a5c561934e089\System.Data.dll] to Version "3.5.0.0" [C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Wind owsCE\System.Data.dll] to solve conflict and get rid of warning.
c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft. Common.targets : warning MSB3247: Found conflicts between different versions of the same dependent assembly.
c:\WINDOWS\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE;PocketPC /win32res:"C:\Program Files\Microsoft Visual Studio 9.0\SDK\v3.5\Bin\HiDPI.res" /reference:"C:\Program Files\Microsoft Synchronization Services\ADO.NET\v1.0\Microsoft.Synchronization.Da ta.dll" /reference:"C:\Program Files\Microsoft Synchronization Services\ADO.NET\v1.0\Microsoft.Synchronization.Da ta.SqlServerCe.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Wind owsCE\mscorlib.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Wind owsCE\System.Core.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Wind owsCE\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Wind owsCE\System.Data.dll" /reference:"C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Devices\System.Data.SqlServerCe.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Wind owsCE\System.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Wind owsCE\System.Drawing.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Wind owsCE\System.Web.Services.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Wind owsCE\System.Windows.Forms.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Wind owsCE\System.Xml.dll" /reference:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\Wind owsCE\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\OCSDeviceApp.exe /resource:obj\Debug\OCSDeviceApp.Form1.resources /resource:obj\Debug\OCSDeviceApp.Properties.Resourc es.resources /target:winexe Form1.cs Form1.Designer.cs NorthwindCache.Client.Designer.cs NorthwindDataSet.Designer.cs Program.cs Properties\AssemblyInfo.cs Properties\Resources.Designer.cs "Web References\NorthwindCacheWebRef\Reference.cs"
Compile complete -- 0 errors, 0 warnings
OCSDeviceApp -> C:\1\OCSDeviceApp\bin\Debug\OCSDeviceApp.exe
Done building project "OCSDeviceApp.csproj".
------ Deploy started: Project: OCSDeviceApp, Configuration: Debug Any CPU ------
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.ServiceProces s\2.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess. dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Data.SqlXml\2 .0.0.0__b77a5c561934e089\System.Data.SqlXml.dll'
Deploying 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b 77a5c561934e089\System.Data.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualC\8. 0.0.0__b03f5f7f11d50a3a\Microsoft.VisualC.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Security\2.0. 0.0__b03f5f7f11d50a3a\System.Security.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms \2.0.0.0__b77a5c561934e089\System.Windows.Forms.dl l'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration .Install\2.0.0.0__b03f5f7f11d50a3a\System.Configur ation.Install.dll'
Deploying 'C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b0 3f5f7f11d50a3a\System.Web.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0. 0__b03f5f7f11d50a3a\System.Design.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\ 2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration \2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dl l'
Deploying 'C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Desktop\System.Data.SqlServerCe.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServ ices.Protocols\2.0.0.0__b03f5f7f11d50a3a\System.Di rectoryServices.Protocols.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Deployment\2. 0.0.0__b03f5f7f11d50a3a\System.Deployment.dll'
Deploying 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServi ces\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseSer vices.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.RegularEx pressions\2.0.0.0__b03f5f7f11d50a3a\System.Web.Reg ularExpressions.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0 .0__b03f5f7f11d50a3a\System.Drawing.dll'
Deploying 'C:\WINDOWS\assembly\GAC_32\System.Transactions\2. 0.0.0__b77a5c561934e089\System.Transactions.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Seria lization.Formatters.Soap\2.0.0.0__b03f5f7f11d50a3a \System.Runtime.Serialization.Formatters.Soap.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\Accessibility\2.0.0. 0__b03f5f7f11d50a3a\Accessibility.dll'
Deploying 'C:\WINDOWS\assembly\GAC_32\System.Data.OracleClie nt\2.0.0.0__b77a5c561934e089\System.Data.OracleCli ent.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a 5c561934e089\System.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Remot ing\2.0.0.0__b77a5c561934e089\System.Runtime.Remot ing.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__ b77a5c561934e089\System.Xml.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServ ices\2.0.0.0__b03f5f7f11d50a3a\System.DirectorySer vices.dll'
Deploying 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing.Desig n\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.Design. dll'
Deployment and/or registration failed with error: 0x8973190e. Error writing file '\Windows\NETCFv35.wm.ARMV4I.cab'. Error 0x80070070: There is not enough space on the disk.

========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

Paul Wainwright

More...