473,782 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Copied project still references older project's files.

Hi All,

When I copy and paste the project and open newer solution
in Visual Studio.NET that newer solution still references
files of older solution (It opens the older projects
files).

I know there is a "Copy Project" option in Visual
Studio.NET, but I wanted to know if there is any trick
available for this.

Same problem exits when I tried to open code sample
projects in Visual Studio.NET. It throws error that files
not found.

Thanks in advance

Jul 21 '05 #1
8 1689
Hi Mahesh

Have a look in Project | Properties | Reference Path.

You may see here that your old versions are referenced before the newer
ones. Remove the old references and add the new ones, if necessary.

HTH

Charles
"Mahesh" <nm********@yah oo.com> wrote in message
news:34******** *************** *****@phx.gbl.. .
Hi All,

When I copy and paste the project and open newer solution
in Visual Studio.NET that newer solution still references
files of older solution (It opens the older projects
files).

I know there is a "Copy Project" option in Visual
Studio.NET, but I wanted to know if there is any trick
available for this.

Same problem exits when I tried to open code sample
projects in Visual Studio.NET. It throws error that files
not found.

Thanks in advance

Jul 21 '05 #2
Hi Mahesh

Have a look in Project | Properties | Reference Path.

You may see here that your old versions are referenced before the newer
ones. Remove the old references and add the new ones, if necessary.

HTH

Charles
"Mahesh" <nm********@yah oo.com> wrote in message
news:34******** *************** *****@phx.gbl.. .
Hi All,

When I copy and paste the project and open newer solution
in Visual Studio.NET that newer solution still references
files of older solution (It opens the older projects
files).

I know there is a "Copy Project" option in Visual
Studio.NET, but I wanted to know if there is any trick
available for this.

Same problem exits when I tried to open code sample
projects in Visual Studio.NET. It throws error that files
not found.

Thanks in advance

Jul 21 '05 #3

Hi Charles,

Thanks for the reply.

But what about second problem.(A downloaded code project)
If I can not open a project in IDE, how to remove those
older references?

It even can not open the project, shows error message that
files not found.
-----Original Message-----
Hi Mahesh

Have a look in Project | Properties | Reference Path.

You may see here that your old versions are referenced before the newerones. Remove the old references and add the new ones, if necessary.
HTH

Charles
"Mahesh" <nm********@yah oo.com> wrote in message
news:34******* *************** ******@phx.gbl. ..
Hi All,

When I copy and paste the project and open newer solution in Visual Studio.NET that newer solution still references files of older solution (It opens the older projects
files).

I know there is a "Copy Project" option in Visual
Studio.NET, but I wanted to know if there is any trick
available for this.

Same problem exits when I tried to open code sample
projects in Visual Studio.NET. It throws error that files not found.

Thanks in advance

.

Jul 21 '05 #4

Hi Charles,

Thanks for the reply.

But what about second problem.(A downloaded code project)
If I can not open a project in IDE, how to remove those
older references?

It even can not open the project, shows error message that
files not found.
-----Original Message-----
Hi Mahesh

Have a look in Project | Properties | Reference Path.

You may see here that your old versions are referenced before the newerones. Remove the old references and add the new ones, if necessary.
HTH

Charles
"Mahesh" <nm********@yah oo.com> wrote in message
news:34******* *************** ******@phx.gbl. ..
Hi All,

When I copy and paste the project and open newer solution in Visual Studio.NET that newer solution still references files of older solution (It opens the older projects
files).

I know there is a "Copy Project" option in Visual
Studio.NET, but I wanted to know if there is any trick
available for this.

Same problem exits when I tried to open code sample
projects in Visual Studio.NET. It throws error that files not found.

Thanks in advance

.

Jul 21 '05 #5
I think it depends on what it says it can't find. If it says that it can't
find a reference, ok the error and then add the reference manually. You will
have to remove the bad reference from the list first in the solution
explorer.

If it says it can't find a file or a sub-project then you should be able to
load the rest of it ok and then navigate to where the files actually are. If
the files simply aren't present then it could be a problem with the sample.

HTH

Charles
<an*******@disc ussions.microso ft.com> wrote in message
news:35******** *************** *****@phx.gbl.. .

Hi Charles,

Thanks for the reply.

But what about second problem.(A downloaded code project)
If I can not open a project in IDE, how to remove those
older references?

It even can not open the project, shows error message that
files not found.
-----Original Message-----
Hi Mahesh

Have a look in Project | Properties | Reference Path.

You may see here that your old versions are referenced

before the newer
ones. Remove the old references and add the new ones, if

necessary.

HTH

Charles
"Mahesh" <nm********@yah oo.com> wrote in message
news:34******* *************** ******@phx.gbl. ..
Hi All,

When I copy and paste the project and open newer solution in Visual Studio.NET that newer solution still references files of older solution (It opens the older projects
files).

I know there is a "Copy Project" option in Visual
Studio.NET, but I wanted to know if there is any trick
available for this.

Same problem exits when I tried to open code sample
projects in Visual Studio.NET. It throws error that files not found.

Thanks in advance

.

Jul 21 '05 #6
I think it depends on what it says it can't find. If it says that it can't
find a reference, ok the error and then add the reference manually. You will
have to remove the bad reference from the list first in the solution
explorer.

If it says it can't find a file or a sub-project then you should be able to
load the rest of it ok and then navigate to where the files actually are. If
the files simply aren't present then it could be a problem with the sample.

HTH

Charles
<an*******@disc ussions.microso ft.com> wrote in message
news:35******** *************** *****@phx.gbl.. .

Hi Charles,

Thanks for the reply.

But what about second problem.(A downloaded code project)
If I can not open a project in IDE, how to remove those
older references?

It even can not open the project, shows error message that
files not found.
-----Original Message-----
Hi Mahesh

Have a look in Project | Properties | Reference Path.

You may see here that your old versions are referenced

before the newer
ones. Remove the old references and add the new ones, if

necessary.

HTH

Charles
"Mahesh" <nm********@yah oo.com> wrote in message
news:34******* *************** ******@phx.gbl. ..
Hi All,

When I copy and paste the project and open newer solution in Visual Studio.NET that newer solution still references files of older solution (It opens the older projects
files).

I know there is a "Copy Project" option in Visual
Studio.NET, but I wanted to know if there is any trick
available for this.

Same problem exits when I tried to open code sample
projects in Visual Studio.NET. It throws error that files not found.

Thanks in advance

.

Jul 21 '05 #7

Hi,

Ok, I will try the same and thanks for the advice :)
-----Original Message-----
I think it depends on what it says it can't find. If it says that it can'tfind a reference, ok the error and then add the reference manually. You willhave to remove the bad reference from the list first in the solutionexplorer.

If it says it can't find a file or a sub-project then you should be able toload the rest of it ok and then navigate to where the files actually are. Ifthe files simply aren't present then it could be a problem with the sample.
HTH

Charles
<an*******@dis cussions.micros oft.com> wrote in message
news:35******* *************** ******@phx.gbl. ..

Hi Charles,

Thanks for the reply.

But what about second problem.(A downloaded code project) If I can not open a project in IDE, how to remove those
older references?

It even can not open the project, shows error message that files not found.
>-----Original Message-----
>Hi Mahesh
>
>Have a look in Project | Properties | Reference Path.
>
>You may see here that your old versions are referenced

before the newer
>ones. Remove the old references and add the new ones, if
necessary.
>
>HTH
>
>Charles
>
>
>"Mahesh" <nm********@yah oo.com> wrote in message
>news:34******* *************** ******@phx.gbl. ..
>> Hi All,
>>
>> When I copy and paste the project and open newer

solution
>> in Visual Studio.NET that newer solution still

references
>> files of older solution (It opens the older projects
>> files).
>>
>> I know there is a "Copy Project" option in Visual
>> Studio.NET, but I wanted to know if there is any

trick >> available for this.
>>
>> Same problem exits when I tried to open code sample
>> projects in Visual Studio.NET. It throws error that

files
>> not found.
>>
>> Thanks in advance
>>
>
>
>.
>

.

Jul 21 '05 #8

Hi,

Ok, I will try the same and thanks for the advice :)
-----Original Message-----
I think it depends on what it says it can't find. If it says that it can'tfind a reference, ok the error and then add the reference manually. You willhave to remove the bad reference from the list first in the solutionexplorer.

If it says it can't find a file or a sub-project then you should be able toload the rest of it ok and then navigate to where the files actually are. Ifthe files simply aren't present then it could be a problem with the sample.
HTH

Charles
<an*******@dis cussions.micros oft.com> wrote in message
news:35******* *************** ******@phx.gbl. ..

Hi Charles,

Thanks for the reply.

But what about second problem.(A downloaded code project) If I can not open a project in IDE, how to remove those
older references?

It even can not open the project, shows error message that files not found.
>-----Original Message-----
>Hi Mahesh
>
>Have a look in Project | Properties | Reference Path.
>
>You may see here that your old versions are referenced

before the newer
>ones. Remove the old references and add the new ones, if
necessary.
>
>HTH
>
>Charles
>
>
>"Mahesh" <nm********@yah oo.com> wrote in message
>news:34******* *************** ******@phx.gbl. ..
>> Hi All,
>>
>> When I copy and paste the project and open newer

solution
>> in Visual Studio.NET that newer solution still

references
>> files of older solution (It opens the older projects
>> files).
>>
>> I know there is a "Copy Project" option in Visual
>> Studio.NET, but I wanted to know if there is any

trick >> available for this.
>>
>> Same problem exits when I tried to open code sample
>> projects in Visual Studio.NET. It throws error that

files
>> not found.
>>
>> Thanks in advance
>>
>
>
>.
>

.

Jul 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2375
by: mike | last post by:
How I can open my project if I am getting this error? "Unable to read the project file. This project was created with a newer version of Visual Studio which in incompatible with your version. You can only open this project with newer versions of Visual Studio."
18
3186
by: JKop | last post by:
Here's what I know so far: You have a C++ project. You have source files in it. When you go to compile it, first thing the preprocessor sticks the header files into each source file. So now you have your ".cpp" files all ready, without any "#include" or "#define" in them. Let's assume that there's 2 source files in this project, "a.cpp" and
4
7274
by: Brian B. | last post by:
Hi, I have an ASP.NET project written in VB.NET on a server. I have made a few changes to some files using notepad while remotely connected to the server. How can I compile the project on the server (that doesn't have VS.NET installed on it) so that the changes take affect? I've tried playing around with vbc.exe but I couldn't get the parameters right - it kept reporting missing references etc.
1
1730
by: Lauchlan M | last post by:
Hi. I have an ASP.net project that works fine. I copied it to another project using the following steps: << (i) create a new VS.NET ASP.NET project.
0
951
by: Rob R. Ainscough | last post by:
When I run my Test application I get the following error: Warning: The dependency 'MyCompany.Utilities, Version=1.0.1852.27525, Culture=neutral' in project 'MyCompany.Remote' cannot be copied to the run directory because it would overwrite the reference 'MyCompany.Utilities, Version=1.0.1852.27795, Culture=neutral'. MyCompany.Utilities, MyCompany.Remote, are class libraries (compiled to DLL) I created in a "common" solution. I added...
8
221
by: Mahesh | last post by:
Hi All, When I copy and paste the project and open newer solution in Visual Studio.NET that newer solution still references files of older solution (It opens the older projects files). I know there is a "Copy Project" option in Visual Studio.NET, but I wanted to know if there is any trick available for this.
1
1410
by: Joe | last post by:
I removed and re-added several controls in the toolbox. I also removed the references from the project and re-added them but when the project runs it complains it can't find the older version. I've double checked the version number of the current reference and it says it's the newer one but running the app still looks for the older one. For example if the newer assembly is version 1.1.1 and the older one was 1.0.0, I get a message that...
9
5449
by: Anubhav Jain | last post by:
Hi, I am having few .net source files(.cs or .vb) and I want to dynamically generate the corresponding .net project file(.csproj or .vbproj) for them without using visual studio.So that I could be able to generate and compile the project on the enviroments where Visual Studio.Net is not installed. Thanks and Regards, Anubhav Jain MTS Persistent Systems Pvt. Ltd. Ph:+91 712 2226900(Off) Extn: 2431 Mob : 094231 07471
3
1709
by: Titan | last post by:
When I run my project (F5), it runs an older version of my project. However, when I build or rebuild the solution, it builds flawlessly... so shouldn't this overwrite the older version of my project so that F5 runs the newer version? Is there a way to clear the older versions (other than deleting the files manually) and is there something I am doing wrong? I want to prevent this from happening, as it makes debugging quite confusing! ...
0
9641
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10080
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9944
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6735
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2875
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.