all of a sudden any script I create is not accessible from any other scrip in Visual Studiot!!?!?!

I have been working on a game for 2 years and now all of a sudden ANY new script I create and attach to ANY object is giving me the error of the type or namespace could not be found when trying to reference in another script. i have tried creating voer 50 scripts with all kinds of different names attached to 50 different objects and NTOHING is working anymore. WTF would have happened that I broke this entirely? Fresh brand new scripts with just a public bool re not accessible…did something in visual studio get fucked up?

MONODEVELOP IS FINE, its some bullshit with visual studio.

I find this unlikely, Monodevelop hasnt been updated in months, Visual Studio is now the supported IDE.

Somehow in this small wall of text you gave us very little information.
Post the error message exactly please. As well as sharing an offending script.

delete csproj?

2 Likes

+1 this is quite a common fix. I also usually delete the solution file (.sln) too.

1 Like

where is csproj located

listen, I am talking about 50 different scripts I can create trying to reference to any other 50 in visual studio and its broken. sending an example is pointless since it works fine in monodevelop. Im not talking about a specific script ref to another specific single isolated incident I mean the entire process of calling references on another script is broken in visual studio.

In the project folder

1 Like