Thursday, 17 November 2011

What Microsoft Visual Studio thinks of my internal monologue

Public Sub TestMethod1()

If everybody had an ocean across the USA Then everybody'd be surfing like californi-ay

End Sub

------ Build started: Project: TestProject1, Configuration: Debug Any CPU ------
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Vbc.exe /noconfig /imports:Microsoft.VisualBasic,System /rootnamespace:TestProject1 /doc:obj\Debug\TestProject1.xml /define:"CONFIG=\"Debug\",DEBUG=-1,TRACE=-1,PLATFORM=\"AnyCPU\"" /reference:..\..\..\..\..\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.QualityTools.UnitTestFramework\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll /debug+ /debug:full /out:obj\Debug\TestProject1.dll /target:library "My Project\AssemblyInfo.vb" UnitTest1.vb

c:\temp\dev\if2\TestProject1\TestProject1\UnitTest1.vb(33) : error BC30081: 'If' must end with a matching 'End If'.

c:\temp\dev\if2\TestProject1\TestProject1\UnitTest1.vb(33) : error BC30451: Name 'everybody' is not declared.

c:\temp\dev\if2\TestProject1\TestProject1\UnitTest1.vb(33) : error BC30205: End of statement expected.

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


No comments: