J
Jianwei Sun
I am trying to edit an MSBuild project file in the Visual Studio 2005. I
tried to use the Intellisense of the editor, so I reference the xmlns
at the first line like this:
<Project DefaultTargets="DDTI.Utilities.Clean"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
When I define some custome property like this in the build file .
<PropertyGroup Condition="'$(CompileConfig)' == 'DEBUG'" >
<Test></Test>
</PropertyGroup>
It keeps giving me the following message, it's kind of annoying.
Warning 3 The element 'PropertyGroup' in namespace
'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child
element 'Test' in namespace
'http://schemas.microsoft.com/developer/msbuild/2003'. List of possible
elements expected: 'Property' in namespace
'http://schemas.microsoft.com/developer/msbuild/2003'.
C:\Development\DTMap\DTMapMSBuild.proj
Is there any workaround to turn off the schema validation while keep the
intellisense available.
Thanks,
Jianwei
tried to use the Intellisense of the editor, so I reference the xmlns
at the first line like this:
<Project DefaultTargets="DDTI.Utilities.Clean"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
When I define some custome property like this in the build file .
<PropertyGroup Condition="'$(CompileConfig)' == 'DEBUG'" >
<Test></Test>
</PropertyGroup>
It keeps giving me the following message, it's kind of annoying.
Warning 3 The element 'PropertyGroup' in namespace
'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child
element 'Test' in namespace
'http://schemas.microsoft.com/developer/msbuild/2003'. List of possible
elements expected: 'Property' in namespace
'http://schemas.microsoft.com/developer/msbuild/2003'.
C:\Development\DTMap\DTMapMSBuild.proj
Is there any workaround to turn off the schema validation while keep the
intellisense available.
Thanks,
Jianwei