Problem with MSBuild and Warning Notification

jdccr

Newcomer
Joined
Jul 28, 2004
Messages
14
I have WinXP Pro SP2 and VS2005 SP1.

I'm converting my projects from VS2003 to VS2005 and I receive a lot of warnings in several projects. For example, to one of my projects (for example MyProject.vbproj) I receive the following result in the command prompt:

Build succeeded:
...
... (a lot of warnings)
...
95 Warnings(s)
0 Errors

Time elapsed 00:00:00.61


But, I'm creating and application in VB2005 that use MSBuild of the following way:

MyProcess = New Process
MyProcess.StartInfo.FileName = "..\..\msbuild.exe"
MyProcess.StartInfo.Arguments = "MyProject.vbproj /t:Rebuild /p:Configuration=Release"
MyProcess.StartInfo.CreateNoWindow = True
MyProcess.StartInfo.UseShellExecute = False
MyProcess.StartInfo.RedirectStandardOutput = True
MyProcess.Start()
MyProcess.WaitForExit()


When I run my application the program stops in the instruction WaitForExit() and not responding, but if I change the properties of MyProject.vbproj and disable all the warnings my application works.

Please, help me.
 
Back
Top