gpt4 book ai didi

windows-server-2008-r2 - 使用 Windows Server 2008 R2 在构建服务器上使用 Devenv.com 构建 VS 2003 解决方案

转载 作者:行者123 更新时间:2023-12-04 08:42:08 25 4
gpt4 key购买 nike

我正在尝试在 Windows Server 2008 R2 机器上的 TFS 构建服务器 2008 上构建 .NET Framework 1.1 解决方案 (VS 2003)。我正在按照本网站的说明进行操作

http://blogs.msdn.com/b/nagarajp/archive/2005/10/26/485368.aspx

然后寻求建议的第二个解决方案。构建服务器顺利完成前 4 个步骤(初始化构建、获取源代码、标记源代码和编译任何 cpu/版本的源代码),但之后它只显示正在构建并且不执行任何操作。我让工作整夜运行,它仍然显示 Buiid In progress。我检查了事件日志,它显示了以下消息:

The application (Visual Studio .NET 2003, from vendor Microsoft) has the following problem: Visual Studio .NET 2003 has a known compatibility issue with this version of Windows.

当我登录到生成服务器然后尝试打开 Visual Studio 2003 时,它会显示一个包含相同消息的弹出窗口,然后我必须单击“运行程序”才能继续。但是由于我正在使用命令行构建解决方案,我想知道我该怎么做?我也试过在兼容模式下运行这个程序(windows xp service pack 3)并检查了选项“禁用视觉主题”和“禁用桌面组合”但没有成功。有人可以帮忙吗?

最佳答案

这是 1.1 Framework 项目配置文件的修改版本,用于在 Windows Server 2008 R2 上使用 Build Server 2008 进行构建:

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="DesktopBuild" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">

<ProjectExtensions>
<ProjectFileVersion>2</ProjectFileVersion>
<Description></Description>
<BuildMachine>UNKNOWN</BuildMachine>
</ProjectExtensions>
<PropertyGroup>
<TeamProject>1.1 Framework</TeamProject>
<BuildDirectoryPath>UNKNOWN</BuildDirectoryPath>
<DropLocation>\\UNKNOWN\drops</DropLocation>
<RunTest>false</RunTest>
<RunCodeAnalysis>Never</RunCodeAnalysis>
<WorkItemType>Bug</WorkItemType>
<WorkItemFieldValues>System.Reason=Build Failure;System.Description=Start the build using Team Build</WorkItemFieldValues>
<WorkItemTitle>Build failure in build:</WorkItemTitle>
<DescriptionText>This work item was created by Team Build on a build failure. </DescriptionText>
<BuildlogText>The build log file is at:</BuildlogText>
<ErrorWarningLogText>The errors/warnings log file is at:</ErrorWarningLogText>
<UpdateAssociatedWorkItems>true</UpdateAssociatedWorkItems>
<AdditionalVCOverrides></AdditionalVCOverrides>
<CustomPropertiesForClean></CustomPropertiesForClean>
<CustomPropertiesForBuild></CustomPropertiesForBuild>
</PropertyGroup>
<ItemGroup>
</ItemGroup>
<ItemGroup>
<ConfigurationToBuild Include="Release|Any CPU">
<FlavorToBuild>Release</FlavorToBuild>
<PlatformToBuild>Any CPU</PlatformToBuild>
</ConfigurationToBuild>
</ItemGroup>
<ItemGroup>
</ItemGroup>
<PropertyGroup>
<VS2003_Devenv>C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com</VS2003_Devenv>
<VS2003_Configuration>Release</VS2003_Configuration>
</PropertyGroup>
<ItemGroup>
<VS2003_OutputFiles Include="$(SolutionRoot)\DSC.STARS\Main\DSC.STARS.Web\**\*.*" />
</ItemGroup>
<Target Name="AfterCompile">
<Exec Command="&quot;$(VS2003_Devenv)&quot; &quot;$(SolutionRoot)\DSC.STARS\Main\DSC.STARS.SOLUTION.sln&quot; /build release" />
<MakeDir Directories="$(BinariesRoot)\$(VS2003_Configuration)" Condition="!Exists('$(BinariesRoot)\$(VS2003_Configuration)')" />

<Copy SourceFiles="@(VS2003_OutputFiles)" DestinationFiles="@(VS2003_OutputFiles- >'$(BinariesRoot)\$(VS2003_Configuration)\%(RecursiveDir)%(Filename)%(Extension)')"/>
</Target>
</Project>

关于windows-server-2008-r2 - 使用 Windows Server 2008 R2 在构建服务器上使用 Devenv.com 构建 VS 2003 解决方案,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13170267/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com