Project File downgrade from VS2010 to VS 2008 - visual-studio-2010

I just created a VB.Net Application with Visual Studio 2010 in other computer and I want to copy it so I can modify the system at home. I'm using VS2008 at home. After I copied it, I did this: Which I found on the internet
Format Version 10.00 ( Changed from 11.00 to 10.00)
# Visual Studio 2008 (Changed from 2010 to 2008)
When I opened my system in my computer, I have error all over my window forms. All of my window forms have this error
'IContainer' is ambiguous in the namespace 'System.ComponentModel'.
'ISupportInitialize' is ambiguous in the namespace 'System.ComponentModel'
Most of the error I see is this. I have searched the internet for the right solution. If anyone could tell me what should I do. I would greatly appreciate it.
'IContainer' is ambiguous in the namespace 'System.ComponentModel'.
'ISupportInitialize' is ambiguous in the namespace 'System.ComponentModel'
'GeneratedCodeAttribute' is ambiguous in the namespace 'System.CodeDom.Compiler'.
'EditorBrowsableAttribute' is ambiguous in the namespace 'System.ComponentModel'.
'GeneratedCodeAttribute' is ambiguous in the namespace 'System.CodeDom.Compiler'.

According to the first link that Google offers this is what you should do:
Remove the project's reference to the 'System' assembly (System.dll),
rebuild the project, then add the reference back to System.dll.

Related

Visual Studio 2017 New project build gives "The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft'

Whenever I open a new project and simply build it the output box gives me about 7 of these errors. Same thing over and over just different error code. Please help solve my problem.

Studio 2010 Express C#, created class not visible in another file

I am attempting to get Scs (simple client/server code from here: http://www.halilibrahimkalkan.com/en/page/SCS-(Simple-Client-Server)-Framework.aspx ) to work with forms.
I have three projects in a single solution btw on Visual studio 2010 express. This works fine so long as I just run the more simple console based applications of the server + client.
I CANNOT get my Form1 (simply inherited from Windows.Form) to be 'visible' from a file (program.cs) in the client project. It's baffelling.
I have uploaded the whole project to here http://filecloud.io/qg1blte3
as I don't know which 'bit of it' to put in here to show the problem.
I am simply getting the Error:
The type or namespace name 'Form1' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\Myself\Desktop\Scs-Sources\Scs-Sources\Scs-Samples\SimpleCalculatorSystem\CalculatorClient\Program.cs
I have added 'using' in all the correct places.
All projects are in the same namespace.
I am a newby amateur and this is my first question so that means you have to be EASY ON ME!!!
Thanks for your time.

Missing assembly reference Visual Studio 2012

I installed Visual Studio 2012 Ultimate and I encounter painful build problems. Solutions cannot build, because of
Error 12 The type or namespace name 'TypeName' does not exist in the namespace 'Framework' (are you missing an assembly reference?)
The assembly is there for sure and is referenced - the only change was new VS - previously I used VS 2010 Ultimate. Also the target framework of both assembly and solution is the same (4.0.3).
Any solutions?
Thank you in advance!
Make sure you have this line included:
using System.Web.UI.WebControls;
If that doesn't help, this link might: http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.objectdatasource.typename.aspx
The dll project and its referencing windows/console project should be in two independent folders.If these folders overlap the above problem comes.That means one project folder should not be inside other project folder.This problem coming only in vs2012 and vs2013

Blend error "the name xx does not exist in the namespace yy" - but works fine in Visual Studio

So I've been working on a WPF project with Visual Studio 2010 for awhile. I'm using several class library projects with WPF controls that I wrote. Today I opened the solution in Blend for the first time, and it showed me many errors like this:
"the name xxx does not exist in the namespace yy"
Looking at the assembly, I can see that the class appears at that namespace. Also if it didn't, Visual Studio wouldn't have compiled it, right?
I checked similar questions, and no, I don't have the x86 build platform thing, all my DLL's are .Net 4.0, and no missing references.
Is there anything else?
Looks like some Bug in Blend. I fixed this by removing the project references and then adding it back again

Visual Studio 2010 - .Net Framework 4 Console Application

Basically I have added the System.Numerics reference to my project, and have added it to my using statements as below:
However, I am getting the following error:
The type or namespace name 'Numerics' does not exist in the namespace 'System'
This is hopefully a simple one!
Thanks

Resources