Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Installing .NET 4.5.1 breaks Powershell use of VS2010 devenv.com

$
0
0

I have a powershell script which I wrote to automate the tasks of

get clean copy of project from subversion
build my VS 2010 solution using devenv.com
prune the garbage

It's been working great, but recently it started failing with :

c:\fully\qualified\path\to\myproject.csproj : error  : Project 'myproject' could not be opened because the Microsoft Visual C# 2010 compiler could not be created. QueryService for '{7D960B16-7AF8-11D0-8E5E-00A0C911005A}' failed.

I can still open the solution in Visual Studio and build normally, but my automated script is now useless.

Today I hit upon the cause.  My working build VM breaks if I allow an application to install .net 4.5.1 from
http://dotnetsocial.cloudapp.net/GetDotnet?tfm=.NETFramework,Version=v4.5

I can revert to my last snapshot, but I'd rather find a way to make these work together in harmony. 

Does anyone have any suggestions?  Is there a 'more complete' version of 4.5.1 that won't break VS 2010?


This signature unintentionally left blank.



Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>