Problem with MSBuild and Warning Notification

G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top