Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working project suddenly gives an error
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Common Language Runtime
Title:
Working project suddenly gives an error
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01596054
Message ID:
01596054
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform