Demigiant / dotween

A Unity C# animation engine. HOTween v2
http://dotween.demigiant.com
Other
2.33k stars 348 forks source link

Error in Rider when installing DoTween into project #550

Closed SoundGuy closed 2 years ago

SoundGuy commented 2 years ago

I'm getting an error in Rider as soon as i finish installing DOTween and open Rider, and this messes up the entire project. Don't know how to fix it, other than completely remove DoTween.

10:42 Project 'Assembly-CSharp' load failed Project 'DOTween.Modules.csproj' targets 'NET_Standard_2_0'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.0'. at (1653:5) Project 'DOTweenPro.Scripts.csproj' targets 'NET_Standard_2_0'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.0'. at (1653:5)

10:42 Project 'DOTweenPro.Scripts' load failed: Project 'DOTween.Modules.csproj' targets 'NET_Standard_2_0'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.0'. at (1653:5)

10:42 Project 'DOTweenPro.EditorScripts' load failed Project 'DOTween.Modules.csproj' targets 'NET_Standard_2_0'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.0'. at (1653:5) Project 'DOTweenPro.Scripts.csproj' targets 'NET_Standard_2_0'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.0'. at (1653:5)

Unity 2021.2.8f1 DoTween 1.2.632 DoTweenPro 1.0.310 Rider 2021.2.2 / Rider 2020.2.4 (on another machine) / Rider 2021.3.2 (after upgrading because i thought this would be the issue)

Demigiant commented 2 years ago

Hi,

I'm seeing no issues (nor had any like this reported before) on Unity 2022.1b nor 2021.2.7f1 on Visual Studio. Will try installing 2021.2.8f1 later, but in the meantime could you send (to the mail you wrote to) a barebone project that replicates this issue so I can see if it's a Rider problem or something else?

SoundGuy commented 2 years ago

It might be a rider problems. it weas using MSBuild 16 instead of 17.

i'm trying to reimport now and see if it works.

On Fri, Jan 28, 2022 at 12:03 PM Daniele Giardini @.***> wrote:

Hi,

I'm seeing no issues (nor had any like this reported before) on Unity 2022.1b nor 2021.2.7f1 on Visual Studio. Will try installing 2021.2.8f1 later, but in the meantime could you send (to the mail you wrote to) a barebone project that replicates this issue so I can see if it's a Rider problem or something else?

— Reply to this email directly, view it on GitHub https://github.com/Demigiant/dotween/issues/550#issuecomment-1024062090, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALDLG46QGC5LJW4E7HYIKDUYJSYBANCNFSM5NAIGJIQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

-- -- Like what I do? Check out my Patreon! http://bit.ly/PatreonEmail


/\ \ Oded Sharon / __\ CEO, Corbomite Games http://corbomitegames.com | CEO, Adventure Mob http://adventuremob.com/ | Unity3D Israel user group. \ / / \ / / @.*** \/ / Skype: soundguy27 | Twitter: @SoundGuy https://twitter.com/SoundGuy| Facebook:oded.sharon http://facebook.com/oded.sharon LinkedIn: SoundGuy http://il.linkedin.com/in/soundguy | Blog: http://odedsharon.com http://blog.odedsharon.com

"In every revolution there’s one man with a vision. -- James T. Kirk

Demigiant commented 2 years ago

Let me know how it goes

SoundGuy commented 2 years ago

All good. I had to manually change to 17 - it was auto selected at 16 for some reason

[image: image.png]

you can close this. my bad.

On Fri, Jan 28, 2022 at 6:37 PM Daniele Giardini @.***> wrote:

Let me know how it goes

— Reply to this email directly, view it on GitHub https://github.com/Demigiant/dotween/issues/550#issuecomment-1024395823, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALDLG4AQT7HA46LRWVFPX3UYLA4FANCNFSM5NAIGJIQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

-- -- Like what I do? Check out my Patreon! http://bit.ly/PatreonEmail


/\ \ Oded Sharon / __\ CEO, Corbomite Games http://corbomitegames.com | CEO, Adventure Mob http://adventuremob.com/ | Unity3D Israel user group. \ / / \ / / @.*** \/ / Skype: soundguy27 | Twitter: @SoundGuy https://twitter.com/SoundGuy| Facebook:oded.sharon http://facebook.com/oded.sharon LinkedIn: SoundGuy http://il.linkedin.com/in/soundguy | Blog: http://odedsharon.com http://blog.odedsharon.com

"In every revolution there’s one man with a vision. -- James T. Kirk

Demigiant commented 2 years ago

Great, thank you :)