Transferring project from a computer running 2000 to a machine with XP

I am using Visualc++.net 2003.

I transferred a project from a computer with 2000 to a computer with XP.

The project opens and runs ok on the 2000 computer but on the XP computer

I get the message cannot open my .vcprog file.



Answer this question

Transferring project from a computer running 2000 to a machine with XP

  • Peter Ritchie

    some of the assemblies referenced in your project may be missing on XP machine. Project should load fine after removing reference entries from .vcproj file for the missing assemblies. This is a known VC++ .Net 2003 issue. Please try it and let me know.

    Thanks

  • ZmrAbdulla

    I can investigate it further if I have .vcproj file

  • Isty Ahmad

    A specific project
  • ArtySaravana

    does it happend with any project or a specific project

  • martin palla

    My sln + vcproj file

    my ab3000.sln

    Microsoft Visual Studio Solution File, Format Version 8.00

    Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ab3000", "ab3000.vcproj", "{67548A5E-84E3-40A5-B01D-1D143642DC03}"

    ProjectSection(ProjectDependencies) = postProject

    EndProjectSection

    EndProject

    Global

    GlobalSection(SolutionConfiguration) = preSolution

    Debug = Debug

    Release = Release

    EndGlobalSection

    GlobalSection(ProjectConfiguration) = postSolution

    {67548A5E-84E3-40A5-B01D-1D143642DC03}.Debug.ActiveCfg = Debug|Win32

    {67548A5E-84E3-40A5-B01D-1D143642DC03}.Debug.Build.0 = Debug|Win32

    {67548A5E-84E3-40A5-B01D-1D143642DC03}.Release.ActiveCfg = Release|Win32

    {67548A5E-84E3-40A5-B01D-1D143642DC03}.Release.Build.0 = Release|Win32

    EndGlobalSection

    GlobalSection(ExtensibilityGlobals) = postSolution

    EndGlobalSection

    GlobalSection(ExtensibilityAddIns) = postSolution

    EndGlobalSection

    EndGlobal

    /*******************************************************/

    MY AB3000.vcproj

    < xml version="1.0" encoding="Windows-1252" >

    <VisualStudioProject

    ProjectType="Visual C++"

    Version="7.10"

    Name="ab3000"

    ProjectGUID="{67548A5E-84E3-40A5-B01D-1D143642DC03}"

    RootNamespace="ab3000"

    Keyword="ManagedCProj">

    <Platforms>

    <Platform

    Name="Win32"/>

    </Platforms>

    <Configurations>

    <Configuration

    Name="Debug|Win32"

    OutputDirectory="$(SolutionDir)$(ConfigurationName)"

    IntermediateDirectory="$(ConfigurationName)"

    ConfigurationType="1"

    CharacterSet="2"

    ManagedExtensions="TRUE">

    <Tool

    Name="VCCLCompilerTool"

    Optimization="0"

    PreprocessorDefinitions="WIN32;_DEBUG"

    MinimalRebuild="FALSE"

    BasicRuntimeChecks="0"

    RuntimeLibrary="1"

    UsePrecompiledHeader="3"

    WarningLevel="3"

    DebugInformationFormat="3"/>

    <Tool

    Name="VCCustomBuildTool"/>

    <Tool

    Name="VCLinkerTool"

    OutputFile="$(OutDir)\$(ProjectName).exe"

    LinkIncremental="2"

    GenerateDebugInformation="TRUE"

    AssemblyDebug="1"

    SubSystem="2"/>

    <Tool

    Name="VCMIDLTool"/>

    <Tool

    Name="VCPostBuildEventTool"/>

    <Tool

    Name="VCPreBuildEventTool"/>

    <Tool

    Name="VCPreLinkEventTool"/>

    <Tool

    Name="VCResourceCompilerTool"/>

    <Tool

    Name="VCWebServiceProxyGeneratorTool"/>

    <Tool

    Name="VCXMLDataGeneratorTool"/>

    <Tool

    Name="VCWebDeploymentTool"/>

    <Tool

    Name="VCManagedWrapperGeneratorTool"/>

    <Tool

    Name="VCAuxiliaryManagedWrapperGeneratorTool"/>

    </Configuration>

    <Configuration

    Name="Release|Win32"

    OutputDirectory="$(SolutionDir)$(ConfigurationName)"

    IntermediateDirectory="$(ConfigurationName)"

    ConfigurationType="1"

    CharacterSet="2"

    ManagedExtensions="TRUE">

    <Tool

    Name="VCCLCompilerTool"

    PreprocessorDefinitions="WIN32;NDEBUG"

    MinimalRebuild="FALSE"

    RuntimeLibrary="0"

    UsePrecompiledHeader="3"

    WarningLevel="3"

    DebugInformationFormat="3"/>

    <Tool

    Name="VCCustomBuildTool"/>

    <Tool

    Name="VCLinkerTool"

    OutputFile="$(OutDir)\$(ProjectName).exe"

    LinkIncremental="1"

    GenerateDebugInformation="TRUE"

    SubSystem="2"/>

    <Tool

    Name="VCMIDLTool"/>

    <Tool

    Name="VCPostBuildEventTool"/>

    <Tool

    Name="VCPreBuildEventTool"/>

    <Tool

    Name="VCPreLinkEventTool"/>

    <Tool

    Name="VCResourceCompilerTool"/>

    <Tool

    Name="VCWebServiceProxyGeneratorTool"/>

    <Tool

    Name="VCXMLDataGeneratorTool"/>

    <Tool

    Name="VCWebDeploymentTool"/>

    <Tool

    Name="VCManagedWrapperGeneratorTool"/>

    <Tool

    Name="VCAuxiliaryManagedWrapperGeneratorTool"/>

    </Configuration>

    </Configurations>

    <References>

    <ActiveXReference

    ControlGUID="{3964d990-ac96-11d1-9851-00c04fd91972}"

    ControlVersion="1.0"

    WrapperTool="aximp"/>

    <ActiveXReference

    ControlGUID="{3964d990-ac96-11d1-9851-00c04fd91972}"

    ControlVersion="1.0"

    WrapperTool="tlbimp"/>

    <AssemblyReference

    RelativePath="{ReferencesPath}\Microsoft.VisualC.dll"/>

    <AssemblyReference

    RelativePath="mscorlib.dll"/>

    <AssemblyReference

    RelativePath="{ReferencesPath}\portcontroller.net.dll"/>

    <ActiveXReference

    ControlGUID="{00020430-0000-0000-C000-000000000046}"

    ControlVersion="2.0"

    WrapperTool="primary"/>

    <AssemblyReference

    RelativePath="System.dll"/>

    <AssemblyReference

    RelativePath="System.Data.dll"/>

    <AssemblyReference

    RelativePath="{ReferencesPath}\System.Design.dll"/>

    <AssemblyReference

    RelativePath="System.Drawing.dll"/>

    <AssemblyReference

    RelativePath="{ReferencesPath}\System.Management.dll"/>

    <AssemblyReference

    RelativePath="System.Windows.Forms.dll"/>

    <AssemblyReference

    RelativePath="System.XML.dll"/>

    <AssemblyReference

    RelativePath="{ReferencesPath}\Xceed.Chart.dll"/>

    <AssemblyReference

    RelativePath="{ReferencesPath}\Xceed.Chart.Core.dll"/>

    <AssemblyReference

    RelativePath="{ReferencesPath}\Xceed.Chart.GLCore.dll"/>

    <AssemblyReference

    RelativePath="{ReferencesPath}\Xceed.Chart.Standard.dll"/>

    <AssemblyReference

    RelativePath="{ReferencesPath}\Xceed.Chart.Utilities.dll"/>

    <AssemblyReference

    RelativePath="{ReferencesPath}\Xceed.Grid.dll"/>

    <AssemblyReference

    RelativePath="{ReferencesPath}\Xceed.Grid.UIStyle.dll"/>

    </References>

    <Files>

    <Filter

    Name="Source Files"

    Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"

    UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">

    <File

    RelativePath=".\AssemblyInfo.cpp">

    </File>

    <File

    RelativePath=".\ClearAssayTextBox.cpp">

    </File>

    <File

    RelativePath=".\Form1.cpp">

    </File>

    <File

    RelativePath=".\Multi_assau.cpp">

    </File>

    <File

    RelativePath=".\Multi_assay.cpp">

    </File>

    <File

    RelativePath=".\MultiAssay.cpp">

    </File>

    <File

    RelativePath=".\MultiAssayLocked.cpp">

    </File>

    <File

    RelativePath=".\MultiAsssyLocked.cpp">

    </File>

    <File

    RelativePath=".\MyAbout.cpp">

    </File>

    <File

    RelativePath=".\MyClearAssay1.cpp">

    </File>

    <File

    RelativePath=".\MyDialog.cpp">

    </File>

    <File

    RelativePath=".\MyDownload.cpp">

    </File>

    <File

    RelativePath=".\MySerialNumber.cpp">

    </File>

    <File

    RelativePath=".\SelectComPort.cpp">

    </File>

    <File

    RelativePath=".\stdafx.cpp">

    <FileConfiguration

    Name="Debug|Win32">

    <Tool

    Name="VCCLCompilerTool"

    UsePrecompiledHeader="1"/>

    </FileConfiguration>

    <FileConfiguration

    Name="Release|Win32">

    <Tool

    Name="VCCLCompilerTool"

    UsePrecompiledHeader="1"/>

    </FileConfiguration>

    </File>

    </Filter>

    <Filter

    Name="Header Files"

    Filter="h;hpp;hxx;hm;inl;inc;xsd"

    UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">

    <File

    RelativePath=".\ClearAssayTextBox.h"

    FileType="3">

    <File

    RelativePath=".\ClearAssayTextBox.resX">

    <FileConfiguration

    Name="Debug|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.ClearAssayTextBox.resources"/>

    </FileConfiguration>

    <FileConfiguration

    Name="Release|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.ClearAssayTextBox.resources"/>

    </FileConfiguration>

    </File>

    </File>

    <File

    RelativePath=".\Form1.h"

    FileType="3">

    <File

    RelativePath=".\Form1.resX">

    <FileConfiguration

    Name="Debug|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.Form1.resources"/>

    </FileConfiguration>

    <FileConfiguration

    Name="Release|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.Form1.resources"/>

    </FileConfiguration>

    </File>

    </File>

    <File

    RelativePath=".\MultiAssay.h"

    FileType="3">

    <File

    RelativePath=".\MultiAssay.resX">

    <FileConfiguration

    Name="Debug|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MultiAssay.resources"/>

    </FileConfiguration>

    <FileConfiguration

    Name="Release|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MultiAssay.resources"/>

    </FileConfiguration>

    </File>

    </File>

    <File

    RelativePath=".\MultiAssayLocked.h"

    FileType="3">

    <File

    RelativePath=".\MultiAssayLocked.resX">

    <FileConfiguration

    Name="Debug|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MultiAssayLocked.resources"/>

    </FileConfiguration>

    <FileConfiguration

    Name="Release|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MultiAssayLocked.resources"/>

    </FileConfiguration>

    </File>

    </File>

    <File

    RelativePath=".\MyAbout.h"

    FileType="3">

    <File

    RelativePath=".\MyAbout.resX">

    <FileConfiguration

    Name="Debug|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MyAbout.resources"/>

    </FileConfiguration>

    <FileConfiguration

    Name="Release|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MyAbout.resources"/>

    </FileConfiguration>

    </File>

    </File>

    <File

    RelativePath=".\MyClearAssay1.h"

    FileType="3">

    <File

    RelativePath=".\MyClearAssay1.resX">

    <FileConfiguration

    Name="Debug|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MyClearAssay.resources"/>

    </FileConfiguration>

    <FileConfiguration

    Name="Release|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MyClearAssay.resources"/>

    </FileConfiguration>

    </File>

    </File>

    <File

    RelativePath=".\MyDialog.h"

    FileType="3">

    <File

    RelativePath=".\MyDialog.resX">

    <FileConfiguration

    Name="Debug|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MyDialog.resources"/>

    </FileConfiguration>

    <FileConfiguration

    Name="Release|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MyDialog.resources"/>

    </FileConfiguration>

    </File>

    </File>

    <File

    RelativePath=".\MyDownload.h"

    FileType="3">

    <File

    RelativePath=".\MyDownload.resX">

    <FileConfiguration

    Name="Debug|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MyDownload.resources"/>

    </FileConfiguration>

    <FileConfiguration

    Name="Release|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MyDownload.resources"/>

    </FileConfiguration>

    </File>

    </File>

    <File

    RelativePath=".\MySerialNumber.h"

    FileType="3">

    <File

    RelativePath=".\MySerialNumber.resX">

    <FileConfiguration

    Name="Debug|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MySerialNumber.resources"/>

    </FileConfiguration>

    <FileConfiguration

    Name="Release|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.MySerialNumber.resources"/>

    </FileConfiguration>

    </File>

    </File>

    <File

    RelativePath=".\resource.h">

    </File>

    <File

    RelativePath=".\SelectComPort.h"

    FileType="3">

    <File

    RelativePath=".\SelectComPort.resX">

    <FileConfiguration

    Name="Debug|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.SelectComPort.resources"/>

    </FileConfiguration>

    <FileConfiguration

    Name="Release|Win32">

    <Tool

    Name="VCManagedResourceCompilerTool"

    ResourceFileName="$(IntDir)/ab3000.SelectComPort.resources"/>

    </FileConfiguration>

    </File>

    </File>

    <File

    RelativePath=".\stdafx.h">

    </File>

    </Filter>

    <Filter

    Name="Resource Files"

    Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"

    UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">

    <File

    RelativePath=".\app.ico">

    </File>

    <File

    RelativePath=".\app.rc">

    </File>

    </Filter>

    <File

    RelativePath=".\app.config">

    <FileConfiguration

    Name="Debug|Win32">

    <Tool

    Name="VCCustomBuildTool"

    Description="Copying $(InputFileName) to &quot;$(TargetDir)&quot;"

    CommandLine="copy &quot;$(InputPath)&quot; &quot;$(TargetPath).config&quot;

    "

    Outputs="$(TargetPath).config"/>

    </FileConfiguration>

    <FileConfiguration

    Name="Release|Win32">

    <Tool

    Name="VCCustomBuildTool"

    Description="Copying $(InputFileName) to &quot;$(TargetDir)&quot;"

    CommandLine="copy &quot;$(InputPath)&quot; &quot;$(TargetPath).config&quot;

    "

    Outputs="$(TargetPath).config"/>

    </FileConfiguration>

    </File>

    <File

    RelativePath=".\ReadMe.txt">

    </File>

    </Files>

    <Globals>

    <Global

    Name="RESOURCE_FILE"

    Value="app.rc"/>

    </Globals>

    </VisualStudioProject>


  • Shiny Zhu

    Thanks you wer correct. I was missing 1 file

  • Transferring project from a computer running 2000 to a machine with XP