Windows Presentation Foundation Host error on Xamarin Studio - c#

After enabling the Visual Design on Xamarin Studio, I came across something very annoying: a bug in the IDE is keeping me from using the designer.
When I try to open the .xaml file with the Windows Presentation Host, it gives the following error, saying the file could not be found.
This occurred on both Windows 8.1 and 10. 2015 is the only Visual Studio version installed on my machine.
What may be happening?
Note: messages are in portuguese. The error message says 'Windows could not find C:\...\Vinicius\etc. Make sure the name is correctly typed and try again. ':

Related

When i debug my UWP App gives error related to Component DLL?

I have Windows 10 (1803) installed on my PC and Visual Studio 17. I have recently downloaded Windows SDK but there are two versions get downloaded i.e., 10.0.17763.132 and 10.0.17134.12. Now i have created my first sample app and when i debug it on my Local Machine it gives error as Unable to debug windows store app.....A component dll could not be found. if failure continues,ty disabling any installed add ins or repairing your installation. But i have created app with Target 1803 so why this error get shown?.
.A component dll could not be found
For this error, you could try to reinstall UWP sdk, then repaired your visual studio. Certainly, you could also reinstall Visual Studio.

"Cannot access a disposed object." error message shown while trying to open a C# form

This error message pops up for every form I'm trying to open in Visual Studio 2015 Community Edition. It happened after windows update.
I also had the same problem with Visual Studio 2017 (on Windows 10) with my solutions stored on Microsoft's OneDrive. What I did to fix this was open my local OneDrive settings, find the Files On-Demand setting, and uncheck that checkbox disabling the Files On-Demand feature.

error while create Installation setup in vs 2015

I am using visual studio 2015 community version.
I have create one windows application(desktop) with c#.
While i am trying to publish it, It shows following error
An error occurred while signing: SignTool.exe was not found at path C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\signtool.exe.
What does its mean? and where to find this signtool.exe.
i had this problem once. Check if there are updates available for VS and widows 7. I have to had service pack one of windows 7. or visual studio. then the problem was solved.

Error deploying app to windows phone

I am trying to run my app on my windows phone but keep getting the following error.
Unexpected error creating debug information file 'c:\Users\Admin\Documents\Visual Studio 2012\Projects\PhoneApp1\PhoneApp1\obj\Debug\PhoneApp1.PDB' -- 'c:\Users\Admin\Documents\Visual Studio 2012\Projects\PhoneApp1\PhoneApp1\obj\Debug\PhoneApp1.pdb: The process cannot access the file because it is being used by another process. C:\Users\Admin\documents\visual studio 2012\Projects\PhoneApp1\PhoneApp1\CSC PhoneApp1
Try restarting Visual Studio again, or building your app first using Release configuration and then again using Debug configuration. It will solve your problem.
This is happening because Visual Studio has created a sort of "lock", it can happen sometimes.
Change the debug in the above picture to Release.

When creating a WCF project in VS2010, I get "Error : WcfProject.csproj cannot be opened. The project type is not supported by this installation"

hey there. So, we have a VS2010 project and the VisualSVN server on one machine. We added a new machine with the client visual svn and the projected loaded in. except for the WCF service. i'm getting a...
" error : the project file c:/..../wcfProject.csproj cannot be opened.
The project type is not supported by this installation."
i've checked the directory, the files and file structure are there and the same as the main development machine. any tips/solutions?
thanks
David K.
I had a similar problem with some WCF solution which I downloaded from a blog.
The solutions of running deveng with the switches did not resolve my issues. After some more searching it turned out that the following clue in the answer of Ralph Willgoss lead to the solution of my problem:
I resolved it by installing the Visual Web Developer.
I also had to (manually) install the Web Platform Installer to (automatically) download the last requirements for the project to properly load.
I had a similar problem when trying to create a new project of the following types:
WCF Service Application
WCF Work Flow Service Application
Syndication Service Library
I was using Windows 7 Ultimate 64bit, with no other versions of Visual Studio installed.
I also had tried many other options, such as:
devenv /resetsettings
devenv /resetskippkgs
ensuring I had C++ option of VS2010 installed
VS2010 Service Pack 1
I resolved it by installing the Visual Web Developer.
There are a few things this could be so I can't give you one specific answer. However, here are a few things to try on your machine that is throwing the error:
First, verify which version of Visual Studio is set as the default for opening csproj files. It could be that you installed SQL or something else that uses an older version of Visual Studio. Sometimes that can give an error. Even if the default is the Visual Studio version selector I've seen it throw an error. Open up the correct version of Visual Studio (through the Programs menu) and then inside Visual Studio try to open the package. If that works, you know the issue is with which version is opening the file.
If that doesn't work, you could try resetting the Visual Studio settings. From the run menu type devenv /setup This should reset the Visual Studio environment and hopefully it will fix the issue. If this does not work, try running devenv /ResetSkipPkgs from the Run menu. This will try to load any packages that Visual Studio previously skipped.
If these steps don't work, let us know. Give us any further error messages that come up after attempting these steps.

Categories

Resources