Microsoft.VisualBasic.Powerpacks.ShapeContainer not found - c#

I am developing a game in C# and it works properly here in my laptop. But when I tried to run it in other pc's its getting an error "Microsoft.VisualBasic.Powerpacks.ShapeContainer could not be found". I used Visual Studio 2008 and the pc's I have tried running also uses Visual Studio 2008.
Does anyone knows how to solve this error?
Will removing the lines, panels I have used in the forms helps?

You should download and install Microsoft Visual Basic Power Packs 3.0.

Related

Smart Device development for Visual Studio 2017

I am currently assigned to migrate an existing Smart Device application built using visual studio 2005. I tried to migrate the application to Visual Studio 2017 without changing the framework and settings. I have already spent some time doing some research but no luck so far.
This is the error I'm encountering:
Any leads or advice is appreciated.
I guess you are talking Windows Mobile 6.x projects. Unfortunately,
support for mobile application development for versions of Windows Phone prior to Windows Phone 7.0
has been dropped with Visual Studio 2010.
The last version that supported this application type is Visual Studio 2008. Usually, you can install different versions of Visual Studio without problems. Nonetheless, this is a very old version and it might be worth to keep it on a separate machine.
You are stuck with Visual Studio 2005 or use VS2008. That's it.

"C# 2017 compiler could not be created" error message while opening project

I've Visual Studio 2017 community edition. I have a C# project created using Visual Studio 2015. When I try to open the project in VS 2017 I get an error message prompt:
--------------------- Microsoft Visual Studio
Project 'dataStructureInCSharp' could not be opened because the Visual C# 2017 compiler could not be created.
Please re-install Visual Studio.
--------------------------- OK
I'm trying to obtain help if anyone else has faced similar issue. I feel going the uninstall and then reinstall route is very costly for me and would try that option last if I've got no other resort.
What I've done so far :
Tried starting visual studio with administrative privileges
But problem remained same.
I tried creating a new console project solution from scratch but in that case I get very same error and an additional error error also shown below:
System Environment: Windows 7 Ultimate Service Pack 1
You can try to close all VS 2017 instances and delete the folder %localappdata%\Microsoft\VisualStudio\15.0_xxxx\ComponentModelCache, then open VS to create a new Console project.
Or
please re-run the VS 2017 installer as administrator, click the icon beside ‘Launch’ button and choose ‘Repair’ to repair as shown below:
Just to brief the history of my problem, I had first installed Visual Studio(VS) 2017 community when it was in RC stage. This was first time when I saw the workload based UI of visual studio installation. Initially I simply chose .Net desktop development workload to get started as I was interested in creating only console applications to get my hands dirty.
Initially it was all working well. One fine day I added all other workloads I was interested in namely Universal Windows Platform Development, Azure Development, ASP.NET and web development,Node.js development, and Mobile development with .Net. I'm not sure if there any of the specific workloads to be blamed for the issue I've posted.
Just to avoid the case if RC and RTM release builds might not have messed up my entire environment, I simply uninstalled the entire stuff, rebooted my machine and installed it again from scratch from latest RTM release for Visual Studio Community.
I would strongly recommend that you first try possible solutions suggested by #Sara-MSFT before doing clean reinstall just in case if it works. It can save you couple of hours required in whole reinstallation process if it works.

Visual Studio - cannot run any projects: application was unable to start correctly (0xc0000142)

Windows 10 x64
Visual Studio 2012 x32
.NET Framework 3.5 and 4.6
I cannot run/debug/F5 any projects in Visual Studio. I have tried nopCommerce, BlogEngineDotNet, File->New Website, etc. First I was getting an error about .NET 4.5 and .NET 4.0 not being registered, but I installed the fix from Microsoft (https://support.microsoft.com/en-us/kb/3002339) which resolved that issue.
Now, everytime I try to F5 I get the error below.
I've searched until I was ready to beat my head against the desk. I found a lot of posts from a few years ago saying to use dependency walker to see if any pre reqs fail, but dependency walker says its only good up to Windows 8.
I ran into this issue after I switched the "Default terminal application" to Windows Terminal. I had to restart Visual Studio and then it worked again but using Windows Terminal caused other issues so I had to revert and restart VS again.
As #Trout.Z mentioned, you may also want to enable the Automatically close the console when debugging stops option in Visual Studio. You can find it in the options under Debugging > General.
uninstall Visual Studio 2012 x32 and install new Visual Studio 2012 x64 because your os is 64 bit
above code helps you to make it working.

DataBase Error while running Asp.NET project in Visual Studio

This is the error image showing when tried to register to the app:
This is the register button image:
I've tried to run my first Asp.net project in visual studio 2015 on my windows 8.1 PC. But when i was trying to register in the site clicking on the register button, it's showing SQL Server not found this type of error. i've uploaded the pic of the error. So, Do i need to install SQL server differently with VS 2015? or it's already installed by default with VS 2015? Need help from any expert please.
I've solved this problem. The SQL database server was not installed by default when i installed the visual studio 2015. I again modified the visual studio with the database server and now it's working. Thanks all.

XNA Game Studio 4.0 does not show in installed templates

I've been using XNA Game Studio 4.0 with Visual Studio 2013 Express Desktop Edition for a few weeks now.
Recently, Visual Studio stopped working, saying that it:
could not find all components
I worked around this problem by choosing "repair" from it's setup.
However, it stopped showing XNA as an installed template.
Things I have already tried:
Uninstalling and re-installing Visual Studio
XNA Game Studio
I tried uninstalling XNA Game Studio, but there is no uninstall.exe anywhere, it does not show in "Programs and Features" in Control Panel, and in the Start Menu also it does not have any uninstall features.
As of now, XNA is not part of my installed templates, but it is installed.
When I try to install it again it says
"This extension is already installed to all applicable products".
I finally figured it out!
The problem lied in the Visual Studio software, which stopped working and had to be re-installed (as I mentioned earlier).
After that, XNA was still installed but not showing as an installed template.
So, in Visual Studio, I went in Tools->Extensions and Updates.
In installed templates, it was empty. But after typing "XNA Game Studio" in the search bar, it showed XNA.
The problem was, that it was disabled.
Just enable it and it'll start working like perfect and show up in your installed templates.
I really appreciate the help given to me by #Salah Akbari. Seriously, all suggestions and help is really appreciated.
If you are using Windows 8, XNA is not supported on Windows 8. There is a work around:
Download and install Games for Windows Marketplace Client
You can find it in the following link.:
Games for Windows Marketplace Client

Categories