CarterCommunity / Carter

Carter is framework that is a thin layer of extension methods and functionality over ASP.NET Core allowing code to be more explicit and most importantly more enjoyable.
MIT License
2.05k stars 172 forks source link

publish problem #295

Closed tkucukaksu closed 2 years ago

tkucukaksu commented 2 years ago

error NU1202: Package Carter 6.0.0 is not compatible with net60 (.NETFramework,Version=v6.0) / win7-x86. Package Carter 6.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0)

Anyone know how to fix that?

Latest sdk installed.

jchannon commented 2 years ago

Carter targets net6.0, you seem to be targeting the full .NET framework so I suggest changing that to net6.0

On Fri, 11 Mar 2022 at 12:04, tkucukaksu @.***> wrote:

error NU1202: Package Carter 6.0.0 is not compatible with net60 (.NETFramework,Version=v6.0) / win7-x86. Package Carter 6.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0)

Anyone know how to fix that?

Latest sdk installed.

— Reply to this email directly, view it on GitHub https://github.com/CarterCommunity/Carter/issues/295, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAZVJSA5WG7RZCNRKPMFC3U7MZETANCNFSM5QPN44QQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

tkucukaksu commented 2 years ago

Carter targets net6.0, you seem to be targeting the full .NET framework so I suggest changing that to net6.0 On Fri, 11 Mar 2022 at 12:04, tkucukaksu @.> wrote: error NU1202: Package Carter 6.0.0 is not compatible with net60 (.NETFramework,Version=v6.0) / win7-x86. Package Carter 6.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) Anyone know how to fix that? Latest sdk installed. — Reply to this email directly, view it on GitHub <#295>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAZVJSA5WG7RZCNRKPMFC3U7MZETANCNFSM5QPN44QQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

im not sure what i missed. how to fix? what i cant see?

my project file contains

> net6.0
jchannon commented 2 years ago

what's your dotnet publish command look like? my guess is something to do with win7-x86

tkucukaksu commented 2 years ago

problem solved. its all about windows machine framework. i reinstall windows. all work. ty