I'm encountering a strange bug in visual studio that seems to be caused by a specific Nuget package named Ragnar. The package is, by its own description
"a C++/CLI wrapper for Rasterbar's libtorrent. It aims to provide a (mostly) complete interface to the underlying C++ library."
I've reproduced the bug across multiple machines. So far I've tested Visual Studio 2013 on Windows 7 Ultimate and Windows 7 Professional.
Steps to reproduce:
Create a new WPF project
PM> install-package ragnar
Save all and restart Visual Studio 2013
Reopen the project from the Visual Studio 2013 start page.
Errors:
System.Runtime.Remoting.RemotingException
[5448] Designer process terminated unexpectedly!
The exception unknown software exception (0xe0434352) occurred in the application at location 0x74efc42d
There is not enough virtual memory available. Please save your work and restart (0).
The instruction at 0x7740e823 referenced memory at 0x00000024. The memory could not be read.
At this point Visual Studio 2013 becomes unresponsive and needs to be killed via the task manager. Removing the reference created by Nuget stops the issue, so I've confirmed it's Ragnar.dll that's causing the issue.
Any ideas what could be causing this? Is this a Visual Studio bug or just weird behavior caused by a buggy class library?
If this is a bug in the package itself, please contact the owner of this package and ask them to update the package. https://www.nuget.org/packages/Ragnar/0.1.0
Related
Yes, i've tried devenv/install, with no help.
So, I don't have the Console C# Project option when creating the project,
as shown here
Currently i have installed windows basic pack - there's my 'about' screen.
I have just reinstalled Windows because i was getting the same exact problem on old system, and because VS2015 had interface bugs and crashed consequently, but it didn`t help(as well as reinstalling both VS 2015 and 2017 numerous times)
Hope that you can guess whats wrong with my PC.
Visual Studio 2017 setup allows you to very fine-grainedly install various "components" separately, or groups of components delivered as "workloads".
You're missing the workload named ".NET desktop development", which contains among others these project templates. So re-run setup and install that workload.
You have a link, Open Visual Studio Installer in a New Project window that will allow you modify your installed components
This is my first time of using Visual Studio 2015 Community with Xamarin, and in using them to create Tizen apps.
In Visual Studio 2015, I chose File - New Project - Blank Tizen App (Tizen Xamarin.Forms Single). The files were generated, but virtually every keyword was not recognized i.e. red underline on them.
What configuration is wrong is my system, and how to fix them?
OK, so I did the following and it fixed this problem (somehow):
1. Uninstalled VS2015.
2. Reinstalled VS2015. I encountered installation failure on Roslyn and NDK-R11C.
3. I Ran VS2015 installer again in elevated mode (Run as Admin) and chose Repair. Roslyn was successfully installed but NDK-R11C was still failed, with the same error as before: Cannot extract the zip file to the target location.
4. Manually I ran the extraction of NDK using windows' default unzipper. I got unclear error message stating that NDK cannot be expanded.
5. Using Norton Commander, Extracted the zip file to the same target location. Success.
6. Ran VS2015, created the blank project. Now NuGet could get the updates, and after that the keywords were properly recognized.
I don't know, though, what was the connection between NDK and Tizen Extension. Maybe the act of reinstalling VS2015 just fixed the problem. At least now I got it now. Thanks all!.
I think it's bug of VS plugin. (it's preview version.)
Project - Unload project and Project - Reload project
I think this should solve your problem.
I am having difficulty in installing Visual Studio 2015 Enterprise (Update 1). After installation completes, I get a warning saying "Not all features installed correctly". See below snip for details
In control panel programs list I found that VC++ 14.0.23506 (both x64 and x86) are installed.
I am able to open visual studio, but when I try to create a new project I get following error regrading c# compiler error
I know performing a clean install again is a solution, but I have poor internet speed and would like to avoid downloading the whole thing again. Any help in fixing this would be great.
PS: I have VS 2013 professional and VS 2012 express also installed, both of which are working fine
Try uninstalling Visual Studio 2015, those VC++ 2015 x86 and x64 runtimes, and reinstalling Visual Studio 2015. Looks like it didn't finish installing properly because you already had the runtimes installed.
I am using the PopupWindowAction from assembly 'Microsoft.Practices.Prism.Interactivity'
When I build my application the build succeeds and the application runs and works correctly however I loose designer support for my view due to the following error:
The type 'PopupWindowAction' from assembly 'Microsoft.Practices.Prism.Interactivity' is built with an older version of the Blend SDK, and is not supported in a Windows Presentation Framework 4 project
This issue did not occur in visual studio 2013. Can anyone suggest how I resolve the issue?
I had the exact same problem, and I finally resolved this by reinstalling Visual Studio 2015. I did this after realizing that my colleagues did not experience the same behavior.
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.