Problem with Visual Studio 2010 with Windows 7 RC1 - visual-studio

Has anyone run into the error where your upgrading a VS2008 project which targets .NET 3.5 to VS2010 and the error message states that you don't have .NEt 3.5 installed?
Snippet from the error message below
"is targeting ".NETFramework, Version=v3.5, Profile=Full", which is not installed on this machine"
I know that running multiple unreleased products together increases my changes for failure, but I would still like to try.

Well, at this time, this error appears to be a bug in VSTS2010.
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=453802
Please vote for the bug in MS Connect if you have this problem as well.

Related

The C# project is targeting ".NeETFramework, Version=v4.0", which is not installed on this machine

Trying to run an old project in Visual Studio 2015. It was created in 2012 or 2013, I cannot remember which. I have uninstalled both programs as I was running out of space, and i think that is what caused this. I get the following options:
And I do not want to change the target, so clicking on the second option brings me to https://www.microsoft.com/net/targeting which I can't seem to find anything there that remedies the situation. Is there a way around this without reinstalling the old version of Visual Studio again? Will that even fix my problem? Thank you.
Just Reinstall Visual Studio. When you uninstalled previous version it caused this problem.
You could try doing a repair reinstall of Visual Studio 2015.
Another point to consider is that Windows 7 (the oldest version of Windows still supported by Microsoft) includes a Windows Update for the .NET Framework v4.6.1 categorized as an "Important" update. I have not confirmed with Windows 8, but I suspect it, too, includes a similar update. Windows 10 comes with .NET 4.6 to start with. That means that any up-to-date supported machine today will be able to run apps targeting any .NET version up to and including 4.6. I recognize that there may be other reasons to continue targeting an older .NET version, but I bring this up just in case the concern is support on client workstations.

Problems with installation of VS 2012 (.Net is missing)

I'm having trouble installing Visual Studio 2012. When I run the installer I get the message:
Microsoft .NET Framework required for Microsoft Visual Studio Professional 2012 setup
The first time I got this message, I clicked to install. It loaded some stuff but it didn't look like it installed anything. I ran the installer for VS 2012 again and I get the same message but now without any buttons to click on. Is there any solution to this?
What happened before
I had VS 2012 already up and working. I left it alone for quite a while until I decided I wanted to do some programming again. Starting the application resulted suddenly in an error:
Cannot find one or more components. Please reinstall the application.
After searching for a couple of hours I couldn't resolve the problem so I did as it asked and reinstalled VS, but I got the same error again. Then I tried to remove every single application VS installs as indicated by this list and any program that had a similar name. I also removed all .NET versions and C++ redistributables. Now I can't install VS anymore and some games and gadgets are now broken.
And I always, always, always forget the existence of system restore. I doubt my oldest system restore is old enough. This is going to be my last resort.
What I tried
Search for a .NET installation in the control panel, it's not present after clicking the install button on the prompt of the VS 2012 installer.
Reinstall .NET 4.5 using this installer. It installs correctly, but the problem persists.
Turning .NET 3.5.1 off from windows features and install it manually. This fails for an unknown reason (error code -2145124329, which seems undefined). Just turning it off doesn't work either.

.net framework 4 on windows server 2008

Ive got an issue, wich I just can not figure out how to fix. Ive got a pc with windows server 2008 and .net frameork 4.5 installed on it. Ive tried to run there appliction, that is running on .net framework 4.5, but it shows me an error .net framework 4 requied. Ive uninstalled NF4.5 and installed NF4 and.... the error is still there. Ive tried to compile a different application targetting .nf4(just a default informs project in VS) and it shows me the same error hen running on this PC. Searching gave me no results on this issue... Maybe somebody could help me?
Thank You very much for your attention and sorry for my bad english.
I found the solution some time ago, but had no time to answer it here. As I found out it as windows server 2008 RC, not release version and .net framework 4 or 4.5 coul be installed on it, but it will never pass the check if it is installed. So? it is a bug, but only in RC version, that is not supported by microsoft quite a long time.

The version of clr.dll does not match the one mscordacwks.dll was built for

I have a C# console app in Visual Studio 2010 that I can run just fine. When I attempt to run the process in debug mode, I am presented with the following error:
I have tried searching for any information, but I haven't been able to find anything. Can anyone provide clues as to why I can't run this with the debugger?
EDIT: I should clarify that I have been able to successfully debug a console app previously, this is a new situation.
From what I can tell when I'm able to reproduce this error, it is caused by being in the middle of installing Windows updates. So, running updates, then postponing a reboot, then attempting to debug code is what was putting me in this broken state.
I had this issue once and it was caused by an pending Windows Update on the Server where the process was running, which I wanted to attach.
I encountered the same issue. It happened to me when I attempted to attach to a process for debugging purposes. At the time I had postponed a pending windows update.
Everything started working fine after I restarted my computer and allowed the update to take place.
Additional notes: I had recently updated to Visual Studio 2010 Ultimate and installed its Service Pack 1.
I had this when I installed .NET 4.6 for Visual Studio 2013.
In this particular case, restarting Visual Studio 2013 solved the problem.
I have finally solved this!
It seemed to have happened after I updated my Windows 7. One of my files must have been out of date.
The fix: Install VS 2010 Service Pack 1
Worked correctly right after I installed. Hitting breakpoints and everything!
Hope this works for you too!
I also updated to Service Pack 1, and made sure Windows updates were up to date, but I was still having the same issue:
"The Version of CLR.dll in the target does not match the one mscordacwks.dll was built for."
Microsoft closed this issue on connect.microsoft.com as not reproducible... Unforgivable, irresponsible support system!!
But on social.msdn.com I was directed to upgrade through this link, and this has resolved the problem in my machine ( Win7,VS2010,target 4.0)
Hope it helps.
Simply. Restarting Visual Studio solved the problem in my case.
I had VS 2010 SP1 for ages and had rebooted many times. There wasn't any windows update in progress either. I closed all my VS 2010 IDEs and then opened them, and the problem was gone.
This happens, when you do a WINDOWS UPDATE and haven't rebooted your system and the update isn't compatible with VISUAL STUDIO. So in order to solve this, just do an update on VISUAL STUDIO to latest. That should FIX it
I had this weird issue after installing .net framework 4.5, when using .net 4 for my project.
updating VS 2010 service pack didn't solve this, only removal of .net 4.5 and 4, and then reinstalling .net 4 only.
I have VS2013 on Win7 and restarting VS worked for me. Seems it is a VS/CLR bug.

Strange Visual Studio 2008 Crash when editing CSS or in Designer - help!

So visual studio 2008 SP1 has started crashing on me when working on web applications, and nothing I do seems to work.
Things I've done:
- Reinstalled
- Uninstalled the web authoring component and reinstalled - this seems to fix the problem for about an hour
- Cleared temp files
- Run VS in safe mode
Yet, when in design view, or editing a CSS file, VS will vanish, and the only message I get in the systems logs is:
.NET Runtime version 2.0.50727.4927 - Fatal Execution Engine Error (66346BA8) (80131506)
Im running VS 2008 with MVC installed (although what I'm working on is not MVC) on Windows 7 64bit with every update out there installed.
Any help would be really appreciated as this thing is driving me nuts!
Thanks
I'm not sure if this helps, but you can try sending the problem report to Microsoft. (Send report when presented with the option, after the crash).
They tend to be helpful.

Resources