• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
4
Question by scot9000 · Aug 13, 2021 at 12:41 PM · projectgenerateexternal-toolscs

Missing "Generate all .csproj files" in Unity 2020.3

Hi all,

Accordung to Unity's 2020.3 external-tools documentation, there should exist an option to generate all .csproj files (the option is accessed by "preferences .> external tools").

Unfortunately, the option disappeared when updating from Unity 2019.4 to Unity 2020.3 although the documentation lists it. Any idea where it went? Or how I can generate the .csproj from Unity?

Thanks, Scot.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

5 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by jwesharris1996 · Oct 11, 2021 at 09:11 PM

Changing the External Script Editor to Visual Studio caused the options to appear for me.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by Chipboard · Aug 14, 2021 at 03:29 AM

I'm not sure what you're seeing but for me, when I go to File -> Preferences -> External Tools, there is a Regenerate project files button. That's the button that does it, if it's missing for you, I'm not sure what's going on. Hope you figure it out!

alt text


unity-2021-08-13-23-26-20.png (120.5 kB)
Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image scot9000 · Aug 16, 2021 at 12:58 PM 0
Share

Thanks @Bricktronic. The button you are showing is not visible in my settings: external-tools-config The package Visual Studio Code Editor 1.2.3 is installed, which should enable the .csproj file generation. As said, in 2019 it all work like a charm (without VS Community installed)...

external-tools-config.png (92.8 kB)
avatar image OnatKorucu scot9000 · Feb 12, 2022 at 11:51 PM 0
Share

Selecting an IDE should make the button visible. In my case, .csproj files are also created automatically.

avatar image
1

Answer by GeaR66 · Jan 22, 2022 at 02:02 AM

@apellisscot Hi! If there is no "Regenerate project files" button, make sure that "Visual Studio Editor" package is enabled in Package manager (That worked for me): alt text

Good luck!


ss1.png (69.2 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by OnatKorucu · Feb 12, 2022 at 11:53 PM

In my case, I had a new laptop and no IDE was selected. To generate .csproj files, go to Edit ->Preferences-> External Tools and select Rider(other IDEs should work too.).

If that is not enough, click Regenerate Project Files button (That button is visible only if you have an IDE selected.).

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by jamesnw · Sep 24, 2022 at 09:47 AM

I had t$$anonymous$$s same issue updating a project from 2019 to 2022. Basically it narrowed it down to the JsonDotNet asset's DLLs ( Newtonsoft.Json.dll ). After removing that folder, the installed Visual Studio versions finally showed up in the dropdown. After selecting VS 2022, I closed the project, and put the folder back. That seems to have somehow reset somet$$anonymous$$ng, as now the issue doesn't return when the JsonDotNet asset is restored. Very odd. If you experience t$$anonymous$$s issue, it may be one of your assets - more specially ones that have .Net DLLs that may get loaded. Might be causing a silent internal error and preventing other modules from working properly.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

128 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity not Opening Solution in Visual Studio--Only File 1 Answer

2d Project setup won't work on mac 0 Answers

How can I make night scene? 2 Answers

Can't import movies on a specific project 1 Answer

How to remove "Development Build" watermark? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges