I'm trying to make a C# Windows Forms Application, but whenever I try, I get this error:
"Error writing the project file."
I also get this error when I try making a Basic application or any other C# application. I tried searching the internet for a solution, but nothing worked. I tried reinstalling NuGet and MSXML6. Neither worked.
Edit
I am able to make c++ projects, just not C# and Basic
Related
I get this error when trying to add an existing project to my solution file, I'm getting into C# and its the only issue stopping me from being able to run my CSharp code, I'm using tutorials so I don't have much knowledge about VS yet.
I can't seem to understand how to create a console app project because it's not a template option. However, solutions on the internet seem to all have this option. What should I do?
I have a serious problem with creating cross-platform applications.
When I'm trying to create the project the following error displayed:
How to fix these issues?
I solved the problem,
The problem is with UWP project. This project is trying to restore packages from api.nuget.org but failed every time.
I removed this project from the solution and the entire solution is working perfectly now.
Note: UWP project can work separately, but it can't work with Android and iOS projects. I still don't know what the problem is, I reported this issue to Visual Studio report center.
But for now, I need only Android and iOS projects.
I just installed VS2015 Professional with Update 2 and created a new MVC4 web application. I created a view - no problem, created a new script - no problem. But when i open any C# file, even a new one that i create, my VS has stopped working followed by visual studio is restarting.. I can even run the project no problem, it seems that only opening C# files causes the project to bug. has anyone else had this problem or know how to fix this?
I have a massive* C# solution recently handed to me that I am trying to straighten out and get to correctly work. The vast majority of it was developed in Visual Studio 2012 and open with it just fine. But I am unable to open a few projects, and Visual Studio isn't able to tell me why. So I'm wondering if there is some simple way to check if these projects that weren't able to be opened were developed in VS 2013.
*massive based on projects I've worked on; YMMV.