-
Jul 16th, 2014, 01:23 PM
#1
[RESOLVED] SetUp new PC problem
Just bought a new Win 7 Pro x64 machine. Trying to move my project from old Win7 machine. When I try to run or build project I'm getting error. It can't find some of the references, when I try to go to reference I get this error.
"Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0'. This can happen if the target framework is not installed or if the framework moniker is incorrectly formatted."
I can't download FW 4 because I have 4.5 installed but ver 4.5 doesn't show up as one of the choices of Target Framework. Do I have to uninstall FW 4.5? btw, there is a .Net FW 4 Multi Targeting pack installed.
Thanks for any information
-
Jul 16th, 2014, 01:30 PM
#2
Re: SetUp new PC problem
4.5 is installed already? I'd advise not uninstalling any framework. Have you actually tried installing 4.0?
-
Jul 16th, 2014, 01:33 PM
#3
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Jul 16th, 2014, 01:50 PM
#4
Re: SetUp new PC problem
Originally Posted by .paul.
I'd try reinstalling 4.5
I'd get rid of w7 and install 8.1
-
Jul 16th, 2014, 03:22 PM
#5
Re: SetUp new PC problem
.paul, Thanks for the reply
Yes I already did a reinstall, thought maybe then it would show up in the Target Framework choices.
-
Jul 16th, 2014, 03:27 PM
#6
Re: SetUp new PC problem
When I try to install ver 4, It say "Installation will not occur", in the details it says,
"Same or higher version of .NET Framework 4 has already been installed on this computer."
-
Jul 16th, 2014, 03:35 PM
#7
Re: SetUp new PC problem
I would guess that you are using VS2010 (or 2010 Express), which can only target 4.0 (and some earlier ones). To target 4.5 you need either 2012 or 2013. Still, I thought that if you had 4.5 you also had 4.0, because one is just an extension of the other.
My usual boring signature: Nothing
-
Jul 16th, 2014, 03:39 PM
#8
-
Jul 16th, 2014, 03:40 PM
#9
Re: SetUp new PC problem
Originally Posted by Shaggy Hiker
I would guess that you are using VS2010 (or 2010 Express), which can only target 4.0 (and some earlier ones). To target 4.5 you need either 2012 or 2013. Still, I thought that if you had 4.5 you also had 4.0, because one is just an extension of the other.
Same time post
-
Jul 16th, 2014, 04:02 PM
#10
Re: SetUp new PC problem
ident, Shaggy thanks for the replies. Yes I'm using 2010 Pro. Don't really want to buy 2012, I don't really need it. Can't use the Express version because there is no Crystal Reports for that version.
Strange thing though, I created a new project and targeted Framework 4 and there was no problem when I went to view the references.
Seems like I have two choices, remove FW 4.5 and install FW 4 or create new project and add the items from my existing project. Seems like a lot of work, one of the projects probably has close to 100 items. Think I'll keep looking for another solution for a while.
-
Jul 16th, 2014, 04:41 PM
#11
Re: SetUp new PC problem
I may have spoke to soon. My other .Net 2010 projects seem to be loading and running ok. To bad take the one that's not working is the really large one. Buying a new machine is fun. Setting up a new development machine is a lot of work, so much to install.
-
Jul 16th, 2014, 04:56 PM
#12
Re: SetUp new PC problem
Well, I got it working. There may be some issues but it is at least running in the IDE. I just had to remove some references. Now I need to figure out why they were there!
-
Jul 16th, 2014, 04:58 PM
#13
Banned
Re: SetUp new PC problem
Originally Posted by ident
I'd get rid of w7 and install 8.1
W8 or W8.1 are crap.
-
Jul 16th, 2014, 06:08 PM
#14
Re: SetUp new PC problem
Originally Posted by berny22
W8 or W8.1 are crap.
Thanks for that wonderful insight.
-
Jul 16th, 2014, 07:07 PM
#15
Re: [RESOLVED] SetUp new PC problem
W8.1 is awesome. I'm running it on a Surface Pro 2, and I totally get what they were trying to do with it. I realize that people would want to go to the desktop (which you can start up in now) for a conventional desktop system, but touch capabiliity and mobile are both increasing rapidly, and 8.1 is pretty doggone sweet on such a system.
As for VS, I'm still using 2010 for almost everything. Partly this is because I'm working on something that makes use of XNA, and getting XNA going in 2012, while possible, is not seemless. Furthermore, I like the look of 2010 better than 2012 (I have yet to see 2013), and haven't found anything in 4.5 that I can't live without.
My usual boring signature: Nothing
-
Jul 16th, 2014, 08:29 PM
#16
Re: [RESOLVED] SetUp new PC problem
Originally Posted by Shaggy Hiker
W8.1 is awesome. I'm running it on a Surface Pro 2, and I totally get what they were trying to do with it. I realize that people would want to go to the desktop (which you can start up in now) for a conventional desktop system, but touch capabiliity and mobile are both increasing rapidly, and 8.1 is pretty doggone sweet on such a system.
As for VS, I'm still using 2010 for almost everything. Partly this is because I'm working on something that makes use of XNA, and getting XNA going in 2012, while possible, is not seemless. Furthermore, I like the look of 2010 better than 2012 (I have yet to see 2013), and haven't found anything in 4.5 that I can't live without.
Yeah, I was torn between 7 and 8.1. But 95% of my computer time is using my desktop tower. I have no need for touch screen and all of my clients use Win 7. I'm semi retired and most of my work is maintaining apps I've already written, though I'm in the process of updating a large VB6 to .Net.
To be honest I have a hard time finding things on 8.1 and I get flustrated with trying to get that tool pain on the right to pop up (I have 8.1 on a laptop). With practice I would probably get over these issues. Windows 9 should be out in 18 month, I'll just wait. Besides, that will give me a good reason to buy a new machine.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|