Tips and Tricks in a world of Mix

Posts tagged ‘Framework 4’

Microsoft Visual Studio 2010 Service Pack 1 (Installer) is out!

Microsoft Download

As they say :

This service pack release addresses issues that were found through a combination of customer and partner feedback, as well as internal testing. These service packs offer Visual Studio users improvements in responsiveness and stability, as well as completes some high-impact scenarios requested by customers.

What means :

Less time waiting for the compilation to end .. 🙂

A full description here .

 

Will try it out in a few days and report the outcome .

Free PostSharp 1.5 doesn’t work with Framework 4

Well , that is a very big disappointment ! The PostSharp 1.5 doesn’t work anymore !

The only solution is to buy PostSharp 2 or some illegal action about the dll’s of 1.5.

Nevertheless PostSharp 1.5 can work with VS 2010 with Framewrok 3.5 so if you are not using dynamics or some fancy sample architecture using only Framework 4 , you still can enjoy this genius  framework of PostSharp.

You must enter the project file and add those lines :

Stand on your project –> Unload Project –> Edit cproj  ->

  1: <PropertyGroup>
  2:   <PostSharpUseCommandLine>True</PostSharpUseCommandLine>
  3:   <DontImportPostSharp>True</DontImportPostSharp>
  4: </PropertyGroup>

and also :

  1: <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
  2: <Import Project="C:\Program Files\PostSharp 1.5\PostSharp-1.5.targets" />

That will enable you to work with PostSharp 1.5 in VS 2010.

P.S.

If anyone has a solution for PostSharp 1.5 with Framework 4 it would be just splendid . Please send me a reference or an explanation..

Tag Cloud

%d bloggers like this: