Discussion:
VS2008 Windows Mobile 5 project very slow to Build
(too old to reply)
SteveS
2008-02-08 21:41:01 UTC
Permalink
I loaded VS2008 on the same machine that I had VS2005. I upgraded a VS2005
.NETCF 2.0 WM5 project to VS2008 .NETCF 3.5 and what used to be a 30 second
build is now a 5 minute build. I am running Source Safe. The upgrade did not
go very well (I had to delete and recreate all my xsd's) but it is working
(except for the 5 minute build time).

Within the Release folder I see the 1.2meg executable create almost
immediately once I build, but VS runs for more than 5 minutes? I am deploying
to MS Device Emulator V3 (which seems to be running normally).

The application is very small; it has 7 screens, a few utility classes, 35
xsd datasets, 1 web service reference, 1 image, 1 icon and 1 database.

In Task Manager, one CPU is almost maxed out and one CPU is almost idle,
Averaging at 50% CPU utilization.

Machine = Windows XP SP2, Intel Core 2 Duo, 2 gigs Ram, Raid0 HD's

Please help, I can't get anything done!!

Thanks,
--
SteveS
SteveS
2008-02-11 16:41:05 UTC
Permalink
I am getting with some regularity during editing in the IDE Windows messages
saying the "Visual Basic Compiler has errors and needs to shutdown, Send to
Microsoft..."

And the IDE is much slower than VS2005 with hesitation.
--
SteveS
Post by SteveS
I loaded VS2008 on the same machine that I had VS2005. I upgraded a VS2005
.NETCF 2.0 WM5 project to VS2008 .NETCF 3.5 and what used to be a 30 second
build is now a 5 minute build. I am running Source Safe. The upgrade did not
go very well (I had to delete and recreate all my xsd's) but it is working
(except for the 5 minute build time).
Within the Release folder I see the 1.2meg executable create almost
immediately once I build, but VS runs for more than 5 minutes? I am deploying
to MS Device Emulator V3 (which seems to be running normally).
The application is very small; it has 7 screens, a few utility classes, 35
xsd datasets, 1 web service reference, 1 image, 1 icon and 1 database.
In Task Manager, one CPU is almost maxed out and one CPU is almost idle,
Averaging at 50% CPU utilization.
Machine = Windows XP SP2, Intel Core 2 Duo, 2 gigs Ram, Raid0 HD's
Please help, I can't get anything done!!
Thanks,
--
SteveS
SteveS
2008-02-12 00:41:01 UTC
Permalink
More data:

The process that is taking 100% CPU is devenv.exe

Someone suggested looking at the following:
http://blogs.msdn.com/vsdteam/archive/2006/09/15/756400.aspx
Of particular interest is this section:
Disabling PlatformVerificationTask: If it is so useful, why
will I disable it at all?

I tried it on the .NET 3.5 file (because I am running .NETCF 3.5 instead of
2.0) and it "fixed" the issue!!! Build time is back down to 30 seconds!

It was confusing at first though, it said to do "!=true" and once I changed
it to "==true" my problem is solved.

Practically a week of programming time wasted...
--
SteveS
Partho
2008-02-12 03:26:00 UTC
Permalink
Steve, I can understand your pain.

Loss of a week of productivity caused by the platform/tool is unacceptable!

I am trying to make a case for getting this into VS2008 SP1.

Can you please tell me what trace listeners you have configured on the
machine?

E.g. one very easy way to repro this problem is to attach a debugger to
VS2008 when it is building smart device project - that is because debugger is
the default trace listener to which the PVT task sends a trace message very
very frequently. Hence it chokes...

Is that what you are doing - or do you have other trace listerners
configured on your machine using devenv.exe.config or msbuild.exe.config or
machine.config?

Thanks!
Partho P. Das,
Developer, Visual Studio for Devices
Post by SteveS
The process that is taking 100% CPU is devenv.exe
http://blogs.msdn.com/vsdteam/archive/2006/09/15/756400.aspx
Disabling PlatformVerificationTask: If it is so useful, why
will I disable it at all?
I tried it on the .NET 3.5 file (because I am running .NETCF 3.5 instead of
2.0) and it "fixed" the issue!!! Build time is back down to 30 seconds!
It was confusing at first though, it said to do "!=true" and once I changed
it to "==true" my problem is solved.
Practically a week of programming time wasted...
--
SteveS
SteveS
2008-02-12 13:48:01 UTC
Permalink
I do not have any extra listeners setup.

I do have the following messages in the output window when I build. Maybe
that has something to do with my problem? Is there a way to get rid of these?

------ Build started: Project: PSMobile, Configuration: Release Any CPU ------
Consider app.config remapping of assembly "System.Data, 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\WindowsCE\System.Data.dll] to
solve conflict and get rid of warning.

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\WindowsCE\System.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.
--
SteveS
unknown
2008-10-20 19:43:09 UTC
Permalink
Hi

How did you set the environment variable to true?

Thanks

Steve
unknown
2008-10-20 19:45:34 UTC
Permalink
Hi

How did you set the environment variable to true?

Thanks

Steve
unknown
2010-05-11 16:40:07 UTC
Permalink
In Explorer on WinXP right click on the explorer. Choose the "Advanced" Tab, click the "Environment Variables" button. Choose add "SkipPlatformVerification" and set the value to "true"



Stephen Smith wrote:

Setting Environment Variable
20-Oct-08

H

How did you set the environment variable to true

Thank

Steve

Previous Posts In This Thread:

On Friday, February 08, 2008 4:41 PM
sr wrote:

VS2008 Windows Mobile 5 project very slow to Build
I loaded VS2008 on the same machine that I had VS2005. I upgraded a VS2005
.NETCF 2.0 WM5 project to VS2008 .NETCF 3.5 and what used to be a 30 second
build is now a 5 minute build. I am running Source Safe. The upgrade did not
go very well (I had to delete and recreate all my xsd's) but it is working
(except for the 5 minute build time)

Within the Release folder I see the 1.2meg executable create almost
immediately once I build, but VS runs for more than 5 minutes? I am deploying
to MS Device Emulator V3 (which seems to be running normally)

The application is very small; it has 7 screens, a few utility classes, 35
xsd datasets, 1 web service reference, 1 image, 1 icon and 1 database

In Task Manager, one CPU is almost maxed out and one CPU is almost idle,
Averaging at 50% CPU utilization

Machine = Windows XP SP2, Intel Core 2 Duo, 2 gigs Ram, Raid0 HD'

Please help, I can't get anything done!

Thanks
--
SteveS

On Monday, February 11, 2008 11:41 AM
sr wrote:

I am getting with some regularity during editing in the IDE Windows messages
I am getting with some regularity during editing in the IDE Windows messages
saying the "Visual Basic Compiler has errors and needs to shutdown, Send to
Microsoft...

And the IDE is much slower than VS2005 with hesitation

--
Steve

"SteveS" wrote:

On Monday, February 11, 2008 7:41 PM
sr wrote:

RE: VS2008 Windows Mobile 5 project very slow to Build
More data

The process that is taking 100% CPU is devenv.ex

Someone suggested looking at the following
http://blogs.msdn.com/vsdteam/archive/2006/09/15/756400.asp
Of particular interest is this section
Disabling PlatformVerificationTask: If it is so useful, why
will I disable it at all

I tried it on the .NET 3.5 file (because I am running .NETCF 3.5 instead of
2.0) and it "fixed" the issue!!! Build time is back down to 30 seconds

It was confusing at first though, it said to do "!=true" and once I changed
it to "==true" my problem is solved

Practically a week of programming time wasted..

--
SteveS

On Monday, February 11, 2008 10:26 PM
Parth wrote:

Steve, I can understand your pain.
Steve, I can understand your pain.

Loss of a week of productivity caused by the platform/tool is unacceptable

I am trying to make a case for getting this into VS2008 SP1

Can you please tell me what trace listeners you have configured on the
machine

E.g. one very easy way to repro this problem is to attach a debugger to
VS2008 when it is building smart device project - that is because debugger is
the default trace listener to which the PVT task sends a trace message very
very frequently. Hence it chokes..

Is that what you are doing - or do you have other trace listerners
configured on your machine using devenv.exe.config or msbuild.exe.config or
machine.config

Thanks
Partho P. Das
Developer, Visual Studio for Device

"SteveS" wrote:

On Tuesday, February 12, 2008 8:48 AM
sr wrote:

I do not have any extra listeners setup.
I do not have any extra listeners setup

I do have the following messages in the output window when I build. Maybe
that has something to do with my problem? Is there a way to get rid of these

------ Build started: Project: PSMobile, Configuration: Release Any CPU -----
Consider app.config remapping of assembly "System.Data, 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\WindowsCE\System.Data.dll] to
solve conflict and get rid of warning

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\WindowsCE\System.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.
--
SteveS

On Monday, October 20, 2008 3:43 PM
Steve wrote:

Setting Environment Variable
Hi

How did you set the environment variable to true?

Thanks

Steve

On Monday, October 20, 2008 3:45 PM
Stephen Smith wrote:

Setting Environment Variable
Hi

How did you set the environment variable to true?

Thanks

Steve


Submitted via EggHeadCafe - Software Developer Portal of Choice
Server Side Processing in ADO.NET/WCF Data Services
http://www.eggheadcafe.com/tutorials/aspnet/db179aed-47fa-4f86-a4bf-4f6f92a76585/server-side-processing-in.aspx
Wilson, Phil
2010-05-11 17:17:52 UTC
Permalink
Very timely - more than two years later....... Doesn't a date show at
wherever you reply to these archeological posts?
--
Phil Wilson
Post by unknown
In Explorer on WinXP right click on the explorer. Choose the "Advanced"
Tab, click the "Environment Variables" button. Choose add
"SkipPlatformVerification" and set the value to "true"
Setting Environment Variable
20-Oct-08
Hi
How did you set the environment variable to true?
Thanks
Steve
On Friday, February 08, 2008 4:41 PM
VS2008 Windows Mobile 5 project very slow to Build
I loaded VS2008 on the same machine that I had VS2005. I upgraded a VS2005
.NETCF 2.0 WM5 project to VS2008 .NETCF 3.5 and what used to be a 30 second
build is now a 5 minute build. I am running Source Safe. The upgrade did not
go very well (I had to delete and recreate all my xsd's) but it is working
(except for the 5 minute build time).
Within the Release folder I see the 1.2meg executable create almost
immediately once I build, but VS runs for more than 5 minutes? I am deploying
to MS Device Emulator V3 (which seems to be running normally).
The application is very small; it has 7 screens, a few utility classes, 35
xsd datasets, 1 web service reference, 1 image, 1 icon and 1 database.
In Task Manager, one CPU is almost maxed out and one CPU is almost idle,
Averaging at 50% CPU utilization.
Machine = Windows XP SP2, Intel Core 2 Duo, 2 gigs Ram, Raid0 HD's
Please help, I can't get anything done!!
Thanks,
--
SteveS
On Monday, February 11, 2008 11:41 AM
I am getting with some regularity during editing in the IDE Windows messages
I am getting with some regularity during editing in the IDE Windows messages
saying the "Visual Basic Compiler has errors and needs to shutdown, Send to
Microsoft..."
And the IDE is much slower than VS2005 with hesitation.
--
SteveS
On Monday, February 11, 2008 7:41 PM
RE: VS2008 Windows Mobile 5 project very slow to Build
The process that is taking 100% CPU is devenv.exe
http://blogs.msdn.com/vsdteam/archive/2006/09/15/756400.aspx
Disabling PlatformVerificationTask: If it is so useful, why
will I disable it at all?
I tried it on the .NET 3.5 file (because I am running .NETCF 3.5 instead of
2.0) and it "fixed" the issue!!! Build time is back down to 30 seconds!
It was confusing at first though, it said to do "!=true" and once I changed
it to "==true" my problem is solved.
Practically a week of programming time wasted...
--
SteveS
On Monday, February 11, 2008 10:26 PM
Steve, I can understand your pain.
Steve, I can understand your pain.
Loss of a week of productivity caused by the platform/tool is
unacceptable!
I am trying to make a case for getting this into VS2008 SP1.
Can you please tell me what trace listeners you have configured on the
machine?
E.g. one very easy way to repro this problem is to attach a debugger to
VS2008 when it is building smart device project - that is because debugger is
the default trace listener to which the PVT task sends a trace message very
very frequently. Hence it chokes...
Is that what you are doing - or do you have other trace listerners
configured on your machine using devenv.exe.config or msbuild.exe.config or
machine.config?
Thanks!
Partho P. Das,
Developer, Visual Studio for Devices
On Tuesday, February 12, 2008 8:48 AM
I do not have any extra listeners setup.
I do not have any extra listeners setup.
I do have the following messages in the output window when I build. Maybe
that has something to do with my problem? Is there a way to get rid of
these?
------ Build started: Project: PSMobile, Configuration: Release Any
CPU ------
Consider app.config remapping of assembly "System.Data, 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\WindowsCE\System.Data.dll] to
solve conflict and get rid of warning.
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\WindowsCE\System.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.
--
SteveS
On Monday, October 20, 2008 3:43 PM
Setting Environment Variable
Hi
How did you set the environment variable to true?
Thanks
Steve
On Monday, October 20, 2008 3:45 PM
Setting Environment Variable
Hi
How did you set the environment variable to true?
Thanks
Steve
Submitted via EggHeadCafe - Software Developer Portal of Choice
Server Side Processing in ADO.NET/WCF Data Services
http://www.eggheadcafe.com/tutorials/aspnet/db179aed-47fa-4f86-a4bf-4f6f92a76585/server-side-processing-in.aspx
Loading...