PostSharp & .NET Framework version
3 posts • Page 1 of 1
PostSharp & .NET Framework version
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
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
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
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.
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
3 posts • Page 1 of 1
