Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working project suddenly gives an error
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Common Language Runtime
Titre:
Working project suddenly gives an error
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01596054
Message ID:
01596054
Vues:
59
Hi everybody,

I have a working solution consisting of 3 projects. One of them is Windows Form which is used for testing. I just added some code to that form.

I didn't touch the main program (program.cs) and yet all of the sudden it gives an error on this code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms; // Error here

namespace MiddlewareTest
Error 1 The type or namespace name 'Windows' does not exist in the namespace 'System' (are you missing an assembly reference?) C:\_Siriusware\Main\Siriusware.Middleware\Siriusware.Middleware\Program.cs 4 14 Siriusware.Middleware

----------------------
In the references I do see System.Windows.Forms

Why would I get this strange error?

I'm going to try closing VS 2013 and re-opening.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform