# Assembly-Csharp.csproj unloaded in visual studio

**URL:** https://discussions.unity.com/t/assembly-csharp-csproj-unloaded-in-visual-studio/868888
**Category:** C# & .NET
**Created:** [January 20, 2022, 5:02am UTC](https://discussions.unity.com/t/assembly-csharp-csproj-unloaded-in-visual-studio/868888 "2022-01-20T05:02:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![snakeslayer22](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@snakeslayer22](https://discussions.unity.com/u/snakeslayer22)
#### Post date: [January 20, 2022, 5:02am UTC](https://discussions.unity.com/t/assembly-csharp-csproj-unloaded-in-visual-studio/868888/1 "2022-01-20T05:02:54Z")

</div>

I have just got back into game making with unity after a one year break, and after installing unity hub 3.0, unity 2020 (the recommended version) and visual studio 2022. I attempted making a script and noticed that intellisense wasn’t working in visual studio, so I tried closing visual studio and re opening the script (which automatically opens visual studio), but I got an error message saying that one or more files failed to load (which ended up being Assembly-Csharp). I’ve tried many things that I’ve seen online like right clicking it and clicking reload, deleting and regenerating the files, and deleting and reinstalling Assembly-Csharp through unity, but nothing has worked.

It seems that the issue is that visual studio cant load any .csproj files (I tried regenerating all possible .csproj files in unity but visual studio couldn’t read any of them), which puts all the .cs files into ‘miscellaneous files’ meaning intellisense wasn’t working for them. I have also tried using unity 2019 (what i used to use) and visual studio 2019, but the same issue still applied.

this seems to happen even when creating a new unity project or even deleting unity and visual studio and reinstalling them.

Does anyone know how I could fix this?

here is the error message (using unity 2020 and visual studio 2019 for this one):  
C:\Users\jacqui\OneDrive\Desktop\unity\_games\test\Assembly-CSharp.csproj : error : The imported project “C:\Users\jacqui\OneDrive\Desktop\unity\_games\test\obj\Assembly-CSharp.csproj._.props" was not found. Confirm that the expression in the Import declaration "C:\Users\jaken\OneDrive\Desktop\unity\_games\test\obj\Assembly-CSharp.csproj._.props” is correct, and that the file exists on disk. C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Microsoft.Common.props

---

<div class="post-metadata">

### Author: ![Nnja13](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@Nnja13](https://discussions.unity.com/u/Nnja13)
#### Post date: [November 13, 2022, 9:30pm UTC](https://discussions.unity.com/t/assembly-csharp-csproj-unloaded-in-visual-studio/868888/2 "2022-11-13T21:30:31Z")

</div>

Please go to Edit \> Preferences \> External tools . Then Click External Script Editor and choose your editor of Microsoft visual studio 2022.  
After that click appeard button “Regenerate project files” .

 ![](https://europe1.discourse-cdn.com/unity/original/4X/8/2/9/8292016378542dd9463211f9cef34ca4dbdd3af1.png)

---

<div class="post-metadata">

### Author: ![Kurt-Dekker](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/kurt-dekker/32/101578_2.png) [@Kurt-Dekker](https://discussions.unity.com/u/Kurt-Dekker)
#### Post date: [November 13, 2022, 9:47pm UTC](https://discussions.unity.com/t/assembly-csharp-csproj-unloaded-in-visual-studio/868888/3 "2022-11-13T21:47:04Z")

</div>

Or more generally…

This may help you with intellisense and possibly other Visual Studio integration problems:

Sometimes the fix is as simple as doing Assets → Open C# Project from Unity. Other times it requires more.

Other times it requires you also nuke the userprefs and .vsconfig and other crufty low-value high-hassle files that Visual Studio tends to slowly damage over time, then try the above trick.

Barring all that, move on to other ideas:

> [@Intellisense Not Working with Visual Studio (Fix)](https://discussions.unity.com/t/778503):
>
> Likely, if you have appeared here to this page you are having the problem I had for the past hour or so. Intellisense is not working in Visual Studio. Well lucky for you, I figured out the solution to fix this issue after searching the entire web. So you don’t have to search the web anymore, I will tell you how I fixed the issue. Step 1: Close Visual Studio Step 2: In Unity, go to Edit \< Preferences \< External Tools (left part of the Window) Step 3: In External Tools go to the part that sa…

Also, try update the VSCode package inside of Unity: Window → Package Manager → Search for Visual Studio Code Editor → Press the Update button

Also, this: [No suggestions in Vscode](https://discussions.unity.com/t/805330/7)

---

<div class="post-metadata">

### Author: ![huynhminhchau43dn](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@huynhminhchau43dn](https://discussions.unity.com/u/huynhminhchau43dn)
#### Post date: [December 7, 2025, 11:50am UTC](https://discussions.unity.com/t/assembly-csharp-csproj-unloaded-in-visual-studio/868888/4 "2025-12-07T11:50:44Z")

</div>

#### **Step 1: Try Reloading**

in visual studio, at solution explorer, at the Assembly-CSharp, right click and choose reload.  
then the error is resolved and c# source code is showed and with the code suggestion tool is running.

- Right-click the unloaded project → **Reload Project**.
- If it works, the issue might have been temporary.
