How to fix “Root element is missing.” when doing a Visual Studio (VS) Build?
In my case it was the xxxxxxxxxxxx.vcxproj.user file that was causing the problem; it was blank after a crash. I renamed it and the problem went away.
In my case it was the xxxxxxxxxxxx.vcxproj.user file that was causing the problem; it was blank after a crash. I renamed it and the problem went away.
You say you’ve tried undoing the binding, but have you tried rebinding back to source control? In Visual Studio: Open a solution with the problem Choose the solution in Solution Explorer Pick File->Source Control->Change Source Control Visual Studio 2013/2015: File->Source Control->Advanced->Change Source Control Unbind any projects that are bound but not working correctly. Bind all … Read more
Try using Property Sheets. These can create a single properties file that can be inherited by multiple projects. Use “View > Other Windows > Property Manager” to bring up the Property Manager. It will show your projects and configurations. Right click a configuration, and select “Add New Project Property Sheet…”. You can name it, and … Read more
Ok, this is resolved for me, by doing the following: Running aspnet_regiis -i in the 32-bit directory c:\Windows\Microsoft.NET\Framework\v4.0.30319. At this point, I don’t understand why 64-bit mode isn’t working, but I’m now unblocked. Hopefully this helps anyone else who is having this issue.
IIS7 + related answer …. Ok – here’s what I ended up doing. More or less, following the post by Simon Weaver in this thread/question. But when it comes to the MSBuild settings .. most people here are using following setting: /p:MSDeployPublishMethod=RemoteAgent which is NOT RIGHT for IIS7. Using this setting means TFS tries to … Read more
Finally I found the solution … It’s very easy Go to the LAN settings (In Chrome : Tools -> Options -> Under the hood -> Change Proxy setting -> LAN Setting) There will be a checkbox for “Bypass proxy server for local address” Tick the checkbox. Done! On Mac/Apple: Chrome uses system preferences for localhost … Read more
The solution to this problem is as follows. It is based on the solution given in http://connect.microsoft.com/VisualStudio/feedback/details/774158/re-installed-visual-studio-2010-and-c-standard-headers-are-missing Uninstall Visual Studio 2010. Uninstall Visual Studio 2010 SP1 (despite the warning it gives). Open Registry Editor (regedit). Search for keys named PaddedVersion Remove any parent keys VisualStudio\10.0\VC\Libraries, or similar (note the version number 10.0, which corresponds to … Read more
Try adding the following to devenv.exe.config (in Common7\IDE folder): <configuration> <system.net> <settings> <servicePointManager expect100Continue=”false” /> </settings> </system.net> </configuration> This is a known issue with some proxy servers that will be addressed in a future release.
Stealing liberally from blog post Replace Visual Studio Command Prompt with PowerShell, I was able to get this to work. I added the following to my profile.ps1 file and all is well with the world. pushd ‘c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC’ cmd /c “vcvarsall.bat&set” | foreach { if ($_ -match “=”) { $v = … Read more
I had a problem where VS 2010 would not regenerate the Designer.cs files, and couldn’t find the solution elsewhere. I was able to regenerate them though, without going to the command line. To fix the issue in Visual Studio 2010 I did the following: Deleted the Designer.cs file Right clicked on the main resx file … Read more