How-To: Use Visual Studio 2005 to compile an extension

How-To: Use Visual Studio 2005 to compile an extension

  
To compile an extension in the .net framework 1.1 with VS 2005 you need to:

1 - Install MSBee

2 - Change Integration Studio Edit->Options to point to Visual Studio 2005 path

3 - Open project with Edit Source Code .NET

4 - Step through the conversion wizard

5 - Close Visual Studio

6 - Open the csproj file with a text editor and replace:
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" >
with
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" >
<Import Project="$(MSBuildExtensionsPath)\MSBee\MSBuildExtras.FX1_1.CSharp.targets"
Condition=" '$(BuildingInsideVisualStudio)' == '' AND '$(TargetFX1_1)'=='true'">


7 - Compile the project in VS 2005 command line:
msbuild [project file] /p:TargetFX1_1=true /p:CustomAfterMicrosoftCommonTargets="%ProgramFiles%\MSBuild\MSBee\MSBuildExtras.Fx1_1.CSharp.targets"

8 - Copy NET\Bin\FX1_1\Debug\OutSystems.NssYourExtension.dll to NET\Bin\OutSystems.NssYourExtension.dll

To understand more about MSBuild and MSBee read MSBee documentation.
Cheers,
Tiago