It is currently 21 April 2025, 16:39 Advanced search

File csproj e TargetFramework vs ".NET version"

Domande e risposte su come utilizzare Instant Developer Foundation al meglio

File csproj e TargetFramework vs ".NET version"

Postby smuser » 12 March 2025, 11:46

Ciao
ho notato che nel file csproj creato da INDE nell'elemento TargetFramework imposta "net6.0" anche se nel parametri di compilazione del progetto INDE ".NET Version" ho impostato "Framework 4.x".

Si tratta di un anomalia?

Grazie
User avatar
smuser
 
Posts: 289
Joined: 3 May 2019, 10:41
Location: Milano

Re: File csproj e TargetFramework vs ".NET version"

Postby d.pierangeli » 12 March 2025, 16:17

Si, può essere un miglioramento.

Il file csproj non viene usato in compilazione, perchè per framework ci pensa Cassini (ed è configurato per compilare con .net framework4) mentre per .net le dll vengono fatte compilare dall'IDE usando la riga di comando giusta.

Se uno avesse bisogno di compilare l'applicazione framework usando visual studio e IIS express (incluso in Visual Studio) forse quel csproj gli potrebbe dare fastidio, va verificato.
User avatar
d.pierangeli
Pro Gamma
Pro Gamma
 
Posts: 8092
Joined: 30 September 2010, 15:35

Re: File csproj e TargetFramework vs ".NET version"

Postby smuser » 12 March 2025, 18:00

grazie Diego!
User avatar
smuser
 
Posts: 289
Joined: 3 May 2019, 10:41
Location: Milano


Return to Tips & Tricks - Foundation

Who is online

Users browsing this forum: Google [Bot] and 52 guests