为msbuild注册xml命名空间
我有一个ILOG“rulep”项目文件。它是这样开始的:为msbuild注册xml命名空间,msbuild,ilog,Msbuild,Ilog,我有一个ILOG“rulep”项目文件。它是这样开始的: <?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
<?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.
错误MSB4041:项目的默认XML命名空间必须是
MSBuild XML命名空间。如果项目是在MSBuild 2003中编写的
格式,请添加xmlns=”http://schemas.microsoft.com/developer/msbuild/2003"
到元素。如果项目是在旧的1.0或
1.2格式,请将其转换为MSBuild 2003格式。
是否有某种方法可以将此xmlns注册到msbuild?否。msbuild和ILog是两种完全不同的格式。MSBuild只理解自己的文件格式(并且可以自动转换.sln文件)
如果可以将.rulep文件加载到Visual Studio中,则可以使用Visual Studio命令
devenv/build
否来构建它。MSBuild和ILog是两种完全不同的格式。MSBuild只理解自己的文件格式(并且可以自动转换.sln文件)
如果可以将.rulep文件加载到Visual Studio中,则可以使用Visual Studio命令devenv/build
构建它