PostSharp & .NET Framework version

Questions about integration in Visual Studio, MSBuild or other IDEs or build tools.

PostSharp & .NET Framework version

Postby rps on Thu May 29, 2008 4:45 pm

Hi,

I´m new to PostSharp and I have found that it´s really a great tool which offers tons of possibilities.

Currently I´m developing a project with Visual Studio 2008, .NET Framework 3.5 and PostSharp 1.0.9.373. I don´t have installed PostSharp globally, so I have tweaked my project file to include PostSharp.targets file. Everything works perfectly, but I have noticed something that sounds odd to me. In Object Browser, the post-compiled assembly appears targeting the 2.0 version instead of 3.5.

I´m pretty sure that I have missed something while configuring PostSharp in my project file, but I don´t find where the setting of target version of .NET Framework can be.

I would appreciate much if someone could help me solving this behavior.

Thanks in advance.

Jose Antonio
rps
 
Posts: 4
Joined: Thu May 29, 2008 4:21 pm
First Name: Jose
Last Name: Antonio
Company: Ibermatica

Re: PostSharp & .NET Framework version

Postby gfraiteur on Fri May 30, 2008 1:24 pm

I don't understand; how do you see if it targets .NET 3.5 or 2.0? It is the same CLR. It's possible I've missed something there...
Gael Fraiteur, project leader
gfraiteur
Site Admin
 
Posts: 834
Joined: Tue Dec 18, 2007 3:09 pm
First Name: Gael
Last Name: Fraiteur
Company: postsharp.org

Re: PostSharp & .NET Framework version

Postby rps on Tue Jun 03, 2008 3:42 pm

Hi Gael,

I wanted to post you an screenshot of the Object Browser of Visual Studio showing the situation, but unfortunately noy I´m not able to reproduce it. I will post it if I happen to see it again.

Sorry for the inconvenience.

Regards,

Jose Antonio.
rps
 
Posts: 4
Joined: Thu May 29, 2008 4:21 pm
First Name: Jose
Last Name: Antonio
Company: Ibermatica


Return to Integration with IDE and Build Scripts