473,399 Members | 3,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0

JustRun
127 100+
I have two windows application projects in the same solution, The solution contains an application that has a reference to another application in the same solution,

When I tried to publish the project that contains the reference it gave me that error :

Error 8 :Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0

And another question:
If I will use the project 1 with all my project is it correct to make it Windows application and add reference to all other projects, or is there better way?
Jun 3 '09 #1
6 4354
balame2004
142 100+
Change CopyToLocal property of the reference in your project to be true and check it out.
Jun 3 '09 #2
JustRun
127 100+
It is True already !!!!!!!!!!!!!!!!!!!!!!!
Jun 3 '09 #3
IanWright
179 100+
It sounds like .NET 2.0 isn't installed correctly on the machine or something similar. The CLR is core .NET stuff, so if it can't be found...

And yes adding references is the correct way to do that.
Jun 3 '09 #4
JustRun
127 100+
I don't Think its the framework, cause I have published the other project, and it worked, and yesterday both of them was working fine, I didn't change a bit :(
Jun 3 '09 #5
tlhintoq
3,525 Expert 2GB
Instead of just hitting "F5"...
Right-click on one project (not the entire solution) and click 'build'. See if that works.
Then do the same for the other.
Hopefully this will narrow down *where* the problem really is.
I have seen some very odd solutions that had so many projects dependent on other projects that if they weren't built in the right order, so there was a completed executable in the right path - that everything goes awry.
Jun 3 '09 #6
JustRun
127 100+
Of course I did so, and I got the same error after build .
Jun 6 '09 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: Thom Little | last post by:
My first ASP.NET application on Visual Studio 2005 and .NET Framework 2.0 The application compiles and executes correctly on the development machine. I then publish it to an empty directory on...
1
by: urs | last post by:
Two days ago, I built an ASP.NET 2.0 application and published it on a shared IIS 6 Web server. After publishing, and during the whole day, it worked fine. The server remained untouched since....
2
by: Rabbit | last post by:
dear all, I was ok to use Visual Studio 2005 built-in Web Server to develop my web application. When I deploy it onto IIS, the compliation prompts following: >>>>>>>>>>>>>>>>>>> Error 1 Could...
1
by: ddelaney | last post by:
I've seen this posted before in many places, but have yet to find a real fix. I have a web application on dev server right now, and randomly, hours or days, it returns the expception posted below. ...
4
by: Richard Bysouth | last post by:
Hi I am running a site built on asp.net 1.1 on a windows server 2003 (which is running asp.net 2.0 - shared hosting at my webhost). The site is low traffic and very simple (mostly static text...
0
by: Steve B. | last post by:
Hi, I'm building an application that uses ASP.Net 2.0. During dev phase, I used the vs webserver and it works fine. Now I want to test it into a production like IIS web server, but without...
1
by: Steve Wofford | last post by:
I am recieving the following. This happens when I moved it from my development system to our production SBS 2003 w/ latest .net frameworks and service packs . I developed under XPSP2 and VS2008. ...
3
by: =?Utf-8?B?SGVyYg==?= | last post by:
I've developed an ASP.NET website that runs fine on my local WinXP IIS and on my server's IIS, both are IIS6.0 The site uses a master page that has the following declaration: <%@ Master...
0
JustRun
by: JustRun | last post by:
Hi All This is a very urget, Plz answer me I have two windows application projects in the same solution, The solution contains an application that has a reference to another application in the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...

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.