1
我有一個ILOG「rulep」項目文件。它開始如下:爲msbuild註冊xml名稱空間
<?xml version="1.0"?>
<Project Guid="1bd9d4b2-1b37-4950-a4f5-f025bda41c07" xmlns="http://www.ilog.com/rules/visual_studio/7.0">
<Properties AssemblyName="BusinessRules1" RulesetNamespace="" DefaultPackage="BusinessRules1" RulesetName="BusinessRules1" OutputType="ClassLibrary" PreBuildEvent="" PostBuildEvent="" RunPostBuildEvent="OnBuildSuccessful" AssemblyInfoTitle="" AssemblyInfoDescription="" AssemblyInfoConfiguration="" AssemblyInfoCompany="" AssemblyInfoProduct="" AssemblyInfoCopyright="" AssemblyInfoTrademark="" AssemblyInfoCulture="" AssemblyInfoVersion="1.0.*" AssemblyInfoDelaySign="False" AssemblyInfoKeyFile="" AssemblyInfoKeyName="">
<Build>
特別是,注意:xmlns =「http://www.ilog.com/rules/visual_studio/7.0」。另請注意:不是msbuild 2003格式。
當我建立與MSBuild的項目文件,我得到
error MSB4041: The default XML namespace of the project must be the
MSBuild XML namespace. If the project is authored in the MSBuild 2003
format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
to the <Project> element. If the project has been authored in the old 1.0 or
1.2 format, please convert it to MSBuild 2003 format.
有一些辦法,我可以註冊這個的xmlns用的MSBuild?