简体   繁体   中英

How do I get rid of this error warning with unity targeting the wrong .NET framework in Visual Studio

Ok so whenever I try to use Visual Studio with the Unity game engine I get this strange error message. [1]: https://i.stack.imgur.com/f8qQF.png I have no idea how to fix this as I am very new to VS and Unity and am only following the tutorials, so any help would be appreciated. I managed to go on the second option and downloaded .NET framework version 4.8 however it didn't really work

set the .NET Framework target version down to a version below 4.8. You can set it in Visual Studio in the Project tab --> Properties --> Application. Alternatively you can install the .NET Framework needed but I am not sure if Unity supports it. I would recommend to use just an older version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM