2012-05-23 3 views
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. 

내가 msbuild를이 XMLNS을 등록 할 수있는 몇 가지 방법이 있나요거야?

답변

1

MSBuild와 ILog는 완전히 다른 두 가지 형식입니다. MSBuild는 자체 파일 형식 만 이해하며 .sln 파일을 자동으로 변환 할 수 있습니다.

.rulep 파일을 Visual Studion에로드 할 수있는 경우 Visual Studio 명령 devenv /build <project_name>을 사용하여 빌드 할 수 있습니다.