Failed publish for a website projecs in VS2010 SP1 - visual-studio-2010

I've seem this problem in previews posts but none of the solutions offered solved my issue
When I click on Build->Publish and select a local file system publish option
VS2010 SP1 reports the following error :
Get service of SVsBuildManagerAccessor fails
Can anyone shad some light on how to solve this

Related

Visual Studio 2015 - Can't see Azure view and can't publish

I got a probleme with Visual Studio 2015 Community.
If I want to create a new project I get the same problem as described here (hosting in the cloud is not shown):
Unable to see the Windows Azure (Host in Cloud) option for VS2013 Professional version
The Azure SDK is installed and I tried the described solutions with multiple uninstall/install and repair of Visual Studio.
But also I got a further problem. When I want to publish an app to Azure (right click on the project -> publish) I can't see my subscriptions and get the error message "Object reference not set to an instance of an object."
Are there any ideas how I can fix the problems? I'm currently completly unable to publish to Azure.
In addition: I got this problem only on my companies notebook. My privat computer / visual studio worked immediately.
+++SOLVED+++
Today a new error occured. I loaded a project and got the error:
"The ‘CctSharedPackage’ package did not load correctly. Restarting Visual Studio could solve the problem."
A short research directed me to this link which worked immediately:
https://blogs.msdn.microsoft.com/rob/2014/02/12/fixing-the-cctsharedpackage-package-did-not-load-correctly/
(System Control Panel -> Windows Azure Tools for Microsoft -> Change -> Repair)

Unable to attach to machine 'machine name' - Visual Studio 2003

I get the following error: Unable to attach to machine 'machine name' when running my project in debug mode with visual studio 2003.
I have not find this error/solution anywhere on google or stackoverflow, this is why I am asking here. I'm not even sure what is causing it, I haven't made any changes to the project's Property or any code.
Additional Info:
Debug mode worked fine before.
No issue with release mode.
Any hints will be helpful.
This issue was somehow related to ClearCase version Control. Making a new view in ClearCase solved the problem.

XAML Designer Failed to load

I am trying to develop a Windows Phone app and I am using Visual Studio 2013 Update 4 for development.
I am using Pivot App (Windows Phone) for development.
My problem is, XAML designer failed to load. I did some search on StackOverflow and Google and found some solutions and none of them worked.
The solutions I tried so far are :
Repair of a Visual Studio.
Clearing Contents in C:\Users\<User>\AppData\Local\Microsoft\VisualStudio\12.0\Designer\ShadowCache (Answered here on StackOverflow
Deleting ComponentModelCache from C:\Users\<User>\AppData\Local\Microsoft\VisualStudio\12.0
and none of these worked.
Please help me if anyone have solution.

VS2012 Javascript Debugging Won't Work

For the last 2 days I have had a right pigs ear of a problem that I just have not been able to get past.
Any time I try to debug an Windows 8 store JavaScript app using VS2012 on my laptop I get the following error:
>Unable to start debugging 'C:\Windows\system32\wwahost.exe'.
>
>Microsoft Visual Studio Debugging Monitor (MSCVMON.EXE) failed to
>start. If this problem persists, please repair your Visual Studio
>installation vis 'Add or Remove Programs' in control panel.
This happens when I try to debug locally and in simulator.
This only happens for javascript projects, all other types of projects work fine.
So far the steps I have taken are:
repaired installation
installed update 1
Added all application packages to program files (x86)\Common Files\Microsoft Shared\VS7Debug on security tab.
uninstalled and re-installed
Nothing has worked.
Interestingly this error is about remote debugging which I am not trying to do, I didn't have remote debugging installed for 2012 but it was installed on my system for VS2008.
I installed it for VS2012 and opened the monitor while I tried to debug and nothing showed in the log.
I did an install using same VS2012 DVD on a fresh win8 desktop installation and it has no issues it all works fine although it did ask me on first run to set the permissions (I cant remember if it did this on my laptop).
I think the problem came when installing on my laptop it asked me if I wanted to import setting from previous versions of Visual Studio and I said yes.
I have done constant internet searching on this topic for last 2 days and some people are saying the problem is caused by VS2012 trying to open some VS2008 files but how to fix this is not clear.
When I uninstalled VS2012 and re-installed it didn't ask me if I wanted to import settings so I think I didn't fully un-install it (it still had a list of my recently accessed projects after the re-install).
Sorry for the long post but this has driven me crazy and I just cannot think of what to try next. Can anyone please help?

VS 2010 Error when creating or opening projects

I just installed new copy of visual studio 2010 and when i tried to open old project i got error message.
So i just tried to create new project, and received the same message.
No valid exports were found that match the contraint '((exportDefinition.ContractName == "Microsoft.VisualStudio.Text.ITextBufferFactoryService") AndAlso (exportDefinition.Metadata.ContainsKey("ExportTypeIdentiy") AndAlso "Microsoft.VisualStudio.Text.ITextBufferFactoryService".Equals(exportDefinition.Metadata.get_Item("ExportTypeIdentity"))))', invalid exports may have been rejected.
I already tried to remove and re-install it. After that did not work i tried to use repair option.
I'm running Windows 7 64bit OS.
I had a similar error with Visual Studio 2012 that seemed to have been caused when I enabled ClearType text on a different monitor. I found a solution in another MSDN thread:
Remove the file: Microsoft.VisualStudio.Default.cache
in the folder: in C:\Users...\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache
After starting VS2012 re-generates the file and everything works.
I was able to resolve the issue. After a suggestion from a coworker I installed VS2010 SP1. After SP1 was installed issue has not come back.

Resources