[svn] r7128: nemerle/trunk/ncc/typing/Typer.n vs-plugin/trunk/ConsoleTest/Program.cs vs-plugin/trunk/Nemer...

IT svnadmin at nemerle.org
Thu Dec 21 06:14:03 CET 2006


Log:
1. Fixed the MacroEnvelop location. See the comment in Typer.n at 1106.
2. Renamed Nemerle.VsIntegration.csproj to Nemerle.VisualStudio.csproj.

Author: IT
Date: Thu Dec 21 06:13:55 2006
New Revision: 7128

Added:
   vs-plugin/trunk/Nemerle.VsIntegration/Nemerle.VisualStudio.csproj
Removed:
   vs-plugin/trunk/Nemerle.VsIntegration/Nemerle.VsIntegration.csproj
Modified:
   nemerle/trunk/ncc/typing/Typer.n
   vs-plugin/trunk/ConsoleTest/Program.cs
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Content/Class1.n
   vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Tests.n
   vs-plugin/trunk/Nemerle.VSIP.sln

Modified: nemerle/trunk/ncc/typing/Typer.n
==============================================================================
--- nemerle/trunk/ncc/typing/Typer.n	(original)
+++ nemerle/trunk/ncc/typing/Typer.n	Thu Dec 21 06:13:55 2006
@@ -1089,6 +1089,8 @@
               log (TYPING, e.loc, $ "intercepted: $e'");
               e'
             } else {
+              def orig_loc = e.Location;
+
               log (MACRO_EXPANSIONS, e.loc, $ "running expand with: $e");
               def (e, wraps) = MacroRegistry.expand_macro (this, e);
               log (MACRO_EXPANSIONS, e.loc, $ "after expansion: $e");
@@ -1101,7 +1103,11 @@
               def wrap (e, wraps) {
                 match (wraps) {
                   | (orig, im) :: xs =>
-                    wrap (TExpr.MacroEnvelope (e.Location, e.Type, im, orig, e), xs)
+                    // IT: In some cases, MacroEnvelope takes e.Location without keyword location.
+                    // For example, for (mutable i;;) {} takes e.Location without 'for'.
+                    // The following fixes that.
+                    def loc = if (orig_loc.IsGenerated) e.Location else orig_loc;
+                    wrap (TExpr.MacroEnvelope (loc, e.Type, im, orig, e), xs)
                   | [] => e
                 }
               }

Modified: vs-plugin/trunk/ConsoleTest/Program.cs
==============================================================================
--- vs-plugin/trunk/ConsoleTest/Program.cs	(original)
+++ vs-plugin/trunk/ConsoleTest/Program.cs	Thu Dec 21 06:13:55 2006
@@ -12,6 +12,7 @@
 			Test1 test = new Test1();
 			test.Init();
 
+			test.QuickTip_ForMacro();
 			test.Complete_in_match_variant_6();
 			test.Complete_in_match_variant_5();
 			test.Complete_in_match_variant_4();

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Content/Class1.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Content/Class1.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Content/Class1.n	Thu Dec 21 06:13:55 2006
@@ -264,6 +264,16 @@
   }
 }
 
+class Class6
+{
+  Foo() : void
+  {
+    for/*forMacro:-1*/ (mutable i;;)
+    {
+    }
+  }
+}
+
 module ClassExtension
 {
   Boo() : void

Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Tests.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Tests.n	(original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Tests.n	Thu Dec 21 06:13:55 2006
@@ -598,6 +598,17 @@
     }
 
     [Test]
+    public QuickTip_ForMacro() : void
+    {
+      def file        = FilePath1;
+      def (line, col) = ReadLocation(file, "forMacro");
+
+      def result = _project.GetQuickTipInfo(file, line, col);
+
+      Assert.IsTrue(result.Text.StartsWith("macro Nemerle.Core.for"));
+    }
+
+    [Test]
     public Property_location() : void
     {
       def file        = FilePath1;

Modified: vs-plugin/trunk/Nemerle.VSIP.sln
==============================================================================
--- vs-plugin/trunk/Nemerle.VSIP.sln	(original)
+++ vs-plugin/trunk/Nemerle.VSIP.sln	Thu Dec 21 06:13:55 2006
@@ -1,7 +1,7 @@
 
 Microsoft Visual Studio Solution File, Format Version 9.00
 # Visual Studio 2005
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nemerle.VsIntegration", "Nemerle.VsIntegration\Nemerle.VsIntegration.csproj", "{16041FE4-7A5D-4DFD-9A79-A92B6A81E291}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nemerle.VisualStudio", "Nemerle.VsIntegration\Nemerle.VisualStudio.csproj", "{16041FE4-7A5D-4DFD-9A79-A92B6A81E291}"
 	ProjectSection(ProjectDependencies) = postProject
 		{DBC77173-9367-485F-B425-74E6D6AB3F82} = {DBC77173-9367-485F-B425-74E6D6AB3F82}
 	EndProjectSection

Added: vs-plugin/trunk/Nemerle.VsIntegration/Nemerle.VisualStudio.csproj
==============================================================================
--- (empty file)
+++ vs-plugin/trunk/Nemerle.VsIntegration/Nemerle.VisualStudio.csproj	Thu Dec 21 06:13:55 2006
@@ -0,0 +1,319 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Nemerle Condition=" '$(Nemerle)' == '' ">$(ProgramFiles)\Nemerle</Nemerle>
+    <SignAssembly>true</SignAssembly>
+    <AssemblyOriginatorKeyFile>nemerle.snk</AssemblyOriginatorKeyFile>
+    <RootNamespace>Nemerle.VisualStudio</RootNamespace>
+  </PropertyGroup>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <ProductVersion>8.0.50727</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{16041FE4-7A5D-4DFD-9A79-A92B6A81E291}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <NoStandardLibraries>false</NoStandardLibraries>
+    <AssemblyName>Nemerle.VisualStudio</AssemblyName>
+    <SignAssembly>true</SignAssembly>
+    <AssemblyOriginatorKeyFile>nemerle.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
+    <DebugSymbols>true</DebugSymbols>
+    <Optimize>false</Optimize>
+    <OutputPath>..\bin\Debug\</OutputPath>
+    <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
+    <DefineConstants>TRACE;DEBUG</DefineConstants>
+    <WarningLevel>4</WarningLevel>
+    <IncrementalBuild>false</IncrementalBuild>
+    <UseVSHostingProcess>false</UseVSHostingProcess>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
+    <DebugSymbols>false</DebugSymbols>
+    <Optimize>true</Optimize>
+    <OutputPath>..\bin\Release\</OutputPath>
+    <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
+    <DefineConstants>TRACE</DefineConstants>
+    <WarningLevel>4</WarningLevel>
+    <IncrementalBuild>false</IncrementalBuild>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Design" />
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.Windows.Forms" />
+    <Reference Include="System.Xml" />
+    <Reference Include="EnvDTE" />
+    <Reference Include="EnvDTE80" />
+    <Reference Include="Microsoft.VisualStudio.Designer.Interfaces" />
+    <Reference Include="Microsoft.VisualStudio.OLE.Interop" />
+    <Reference Include="Microsoft.VisualStudio.Package.LanguageService" />
+    <Reference Include="Microsoft.VisualStudio.Shell" />
+    <Reference Include="Microsoft.VisualStudio.Shell.Design" />
+    <Reference Include="Microsoft.VisualStudio.Shell.Interop" />
+    <Reference Include="Microsoft.VisualStudio.Shell.Interop.8.0" />
+    <Reference Include="Microsoft.VisualStudio.TextManager.Interop" />
+    <Reference Include="Microsoft.VisualStudio.TextManager.Interop.8.0" />
+    <Reference Include="VSLangProj" />
+    <Reference Include="$(Nemerle)\Nemerle.Compiler.dll" />
+    <Reference Include="$(Nemerle)\Nemerle.dll" />
+    <Reference Include="$(Nemerle)\Nemerle.Macros.dll" />
+    <!--
+    <Reference Include="Microsoft.VisualStudio.Package.LanguageService, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
+    <Reference Include="Microsoft.VisualStudio.Shell.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
+    <Reference Include="Microsoft.VisualStudio.TextManager.Interop.8.0, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+    -->
+  </ItemGroup>
+  <ItemGroup>
+    <!-- Make the reference to binary. ReSharper not support 
+         ProjectReference to Nemerle projects. 
+    -->
+    <Reference Include="..\Nemerle.Compiler.Utils\bin\$(Configuration)\Nemerle.Compiler.Utils.dll" />
+    <Reference Include="ISymWrapper" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Project\ScopeNode.cs" />
+    <Compile Include="Project\HierarchyListener.cs" />
+    <Compile Include="NemerleConstants.cs" />
+    <Compile Include="LanguageService\NemerleDeclarations.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="LanguageService\NemerleMethods.cs" />
+    <Compile Include="LanguageService\NemerleViewFilter.cs" />
+    <Compile Include="RegisterSnippetsAttribute.cs" />
+    <Compile Include="Resources.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <Compile Include="LanguageService\SnippetsEnumerator.cs" />
+    <Compile Include="Project\TextLineEventListener.cs" />
+    <Compile Include="ErrorHelper.cs">
+      <SubType>Code</SubType>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="CodeSnippets\SnippetsIndex.xml">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="CodeSnippets\Snippets\class.snippet">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="CodeSnippets\Snippets\ctor.snippet">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="CodeSnippets\Snippets\for.snippet">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="CodeSnippets\Snippets\if.snippet">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="CodeSnippets\Snippets\while.snippet">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+  </ItemGroup>
+  <PropertyGroup>
+    <CommonRegAttributes>$(VisualStudioIntegration)\Common\Source\CSharp\RegistrationAttributes</CommonRegAttributes>
+  </PropertyGroup>
+  <ItemGroup>
+    <Compile Include="$(VisualStudioIntegration)\Common\Source\CSharp\RegistrationAttributes\WebSiteProjectAttribute.cs">
+      <Link>RegistrationAttributes\WebSiteProjectAttribute.cs</Link>
+    </Compile>
+    <Compile Include="$(VisualStudioIntegration)\Common\Source\CSharp\RegistrationAttributes\WebSiteProjectRelatedFilesAttribute.cs">
+      <Link>RegistrationAttributes\WebSiteProjectRelatedFilesAttribute.cs</Link>
+    </Compile>
+    <Compile Include="GUI\AutoSizeListView.cs">
+      <SubType>Component</SubType>
+    </Compile>
+    <Compile Include="GUI\GoToTypeForm.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="GUI\GoToTypeForm.Designer.cs">
+      <DependentUpon>GoToTypeForm.cs</DependentUpon>
+    </Compile>
+    <Compile Include="GUI\NativeMethods.cs" />
+    <Compile Include="LanguageService\NemerleAuthoringScope.cs" />
+    <Compile Include="LanguageService\NemerleAuthoringSink.cs" />
+    <Compile Include="LanguageService\NemerleColorableItem.cs" />
+    <Compile Include="LanguageService\NemerleColorizer.cs" />
+    <Compile Include="LanguageService\NemerleDropDownMember.cs" />
+    <Compile Include="LanguageService\NemerleLanguageService.cs" />
+    <Compile Include="LanguageService\NemerleScanner.cs" />
+    <Compile Include="LanguageService\NemerleSource.cs" />
+    <Compile Include="LanguageService\NemerleTypeAndMemberDropdownBars .cs" />
+    <Compile Include="LanguageService\ProjectManager.cs" />
+    <Compile Include="LanguageService\SourceTextManager.cs" />
+    <Compile Include="NemerlePackage.cs" />
+    <Compile Include="Project\ModuleID.cs" />
+    <Compile Include="Project\NemerleAssemblyReference.cs" />
+    <Compile Include="Project\NemerleAssemblyReferenceNode.cs" />
+    <Compile Include="Project\NemerleDependentFileNode.cs" />
+    <Compile Include="Project\NemerleFileDocumentManager.cs" />
+    <Compile Include="Project\NemerleFileNodeCodeDomProvider.cs">
+      <SubType>Component</SubType>
+    </Compile>
+    <Compile Include="Project\NemerleOAFileItem.cs" />
+    <Compile Include="Project\HierarchyEventArgs.cs" />
+    <Compile Include="Project\INemerleLibraryManager.cs" />
+    <Compile Include="Project\Library.cs" />
+    <Compile Include="Project\LibraryNode.cs" />
+    <Compile Include="Project\NemerleLibraryManager.cs" />
+    <Compile Include="Project\NemerleLibraryNode.cs" />
+    <Compile Include="Project\NemerleProjectFactory.cs" />
+    <Compile Include="Project\NemerleProjectNode.cs" />
+    <Compile Include="Project\NemerleProjectNodeProperties.cs" />
+    <Compile Include="Project\ProjectInfo.cs" />
+    <Compile Include="Utils.cs" />
+    <Compile Include="Project\ConfigurationPropertyPages.cs" />
+    <Compile Include="Project\NemerleEditorFactory.cs" />
+    <Compile Include="FileCodeModel\CodeClassElement.cs" />
+    <Compile Include="FileCodeModel\CodeDomUtils.cs" />
+    <Compile Include="FileCodeModel\CodeElementBase.cs" />
+    <Compile Include="FileCodeModel\CodeNamespaceElement.cs" />
+    <Compile Include="FileCodeModel\CodeTypeElement.cs" />
+    <Compile Include="FileCodeModel\CodeTypeFunctionMember.cs" />
+    <Compile Include="FileCodeModel\CodeTypeMemberElement.cs" />
+    <Compile Include="FileCodeModel\CodeTypeReferenceElement.cs" />
+    <Compile Include="FileCodeModel\NemerleCodeElements.cs" />
+    <Compile Include="FileCodeModel\NullTextPoint.cs" />
+    <Compile Include="FileCodeModel\VoidCodeTypeRef.cs" />
+    <Compile Include="Project\NemerleReferenceContainerNode.cs" />
+    <Compile Include="Project\NemerleTokenProcessor.cs" />
+    <Compile Include="FileCodeModel\NemerleFileCodeModel.cs" />
+    <Compile Include="Project\PropertyPages.cs" />
+    <Compile Include="Project\NemerleConfigProvider.cs" />
+    <Compile Include="Project\NemerleFileNode.cs" />
+    <Compile Include="Project\NemerleFileNodeProperties.cs" />
+    <Compile Include="Project\NemerleMenus.cs" />
+    <Compile Include="Resources.cs" />
+    <Compile Include="Project\SelectionElementValueChangedListener.cs" />
+    <Compile Include="$(CommonRegAttributes)\SingleFileGeneratorSupportRegistrationAttribute.cs">
+      <Link>RegistrationAttributes\SingleFileGeneratorSupportRegistrationAttribute.cs</Link>
+      <Visible>true</Visible>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <CtcFile Include="CtcComponents\PkgCmd.ctc">
+      <ResourceName>1000</ResourceName>
+    </CtcFile>
+    <Content Include="CodeSnippets\Snippets\foreach.snippet">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="CodeSnippets\Snippets\when.snippet">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="CodeSnippets\Snippets\unless.snippet">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="CodeSnippets\Snippets\match.snippet">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <None Include="CtcComponents\Guids.h" />
+    <None Include="CtcComponents\PkgCmdID.h" />
+    <None Include="nemerle.snk" />
+    <ZipItem Include="Templates\ProjectItems\Form\Form.Designer.n" />
+    <ZipItem Include="Templates\ProjectItems\Form\Form.n" />
+    <ZipProject Include="Templates\Projects\WindowsApplication\AssemblyInfo.n" />
+    <ZipProject Include="Templates\Projects\MacroLibrary\AssemblyInfo.n" />
+    <ZipProject Include="Templates\Projects\ConsoleApplication\AssemblyInfo.n" />
+    <ZipProject Include="Templates\Projects\WindowsApplication\WindowsApplication.nproj" />
+    <ZipProject Include="Templates\Projects\WindowsApplication\Form1.Designer.n" />
+    <ZipProject Include="Templates\Projects\MacroLibrary\Macro1.n" />
+    <ZipProject Include="Templates\Projects\MacroLibrary\MacroLibrary.nproj" />
+    <ZipProject Include="Templates\Projects\ClassLibrary\AssemblyInfo.n" />
+    <!--
+    <ZipProject Include="Templates\Projects\Web\WebApplication\__TemplateIcon.ico" />
+    <ZipProject Include="Templates\Projects\Web\WebApplication\Default.aspx" />
+    <ZipProject Include="Templates\Projects\Web\WebApplication\Default.aspx.py" />
+    <ZipProject Include="Templates\Projects\Web\WebApplication\Web.config" />
+    <ZipProject Include="Templates\Projects\Web\WebApplication\WebApplication.pyproj" />
+    <ZipProject Include="Templates\Projects\Web\WebApplication\WebApplication.vstemplate" />
+    <ZipProject Include="Templates\Projects\Web\WebService\WebService.vstemplate" />
+    <ZipProject Include="Templates\Projects\Web\WebService\Service1.asmx" />
+    <ZipProject Include="Templates\Projects\Web\WebService\__TemplateIcon.ico" />
+    <ZipProject Include="Templates\Projects\Web\WebService\WebService.pyproj" />
+    <ZipProject Include="Templates\Projects\Web\WebService\Web.config" />
+    <ZipProject Include="Templates\Projects\Web\WebService\Service1.asmx.py" />
+    -->
+  </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="Resources.resx">
+      <MergeWithCTO>true</MergeWithCTO>
+      <SubType>Designer</SubType>
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+    </EmbeddedResource>
+  </ItemGroup>
+  <ItemGroup>
+    <ZipItem Include="Templates\ProjectItems\Class\Class.ico" />
+    <ZipItem Include="Templates\ProjectItems\Class\Class.n" />
+    <ZipItem Include="Templates\ProjectItems\Class\Nemerle.vstemplate" />
+    <ZipItem Include="Templates\ProjectItems\Text\TextFile.txt" />
+    <ZipItem Include="Templates\ProjectItems\Text\TextFile.vstemplate" />
+    <ZipItem Include="Templates\ProjectItems\Text\Text.ico" />
+    <ZipItem Include="Templates\ProjectItems\Form\Form.ico" />
+    <ZipItem Include="Templates\ProjectItems\Form\windowsform.vstemplate" />
+    <ZipItem Include="Templates\ProjectItems\ResX\Resource.resX">
+      <SubType>Designer</SubType>
+    </ZipItem>
+    <ZipItem Include="Templates\ProjectItems\ResX\Resource_Resx.ico" />
+    <ZipItem Include="Templates\ProjectItems\ResX\Resource.vstemplate" />
+    <ZipProject Include="Templates\Projects\ClassLibrary\Class1.n" />
+    <ZipProject Include="Templates\Projects\ClassLibrary\ClassLibrary.vstemplate" />
+    <ZipProject Include="Templates\Projects\ClassLibrary\ClassLibrary.nproj" />
+    <ZipProject Include="Templates\Projects\ConsoleApplication\Console.ico" />
+    <ZipProject Include="Templates\Projects\ConsoleApplication\ConsoleApplication.nproj" />
+    <ZipProject Include="Templates\Projects\ConsoleApplication\Main.n" />
+    <ZipProject Include="Templates\Projects\ConsoleApplication\ConsoleApplication.vstemplate" />
+    <ZipProject Include="Templates\Projects\WindowsApplication\Form1.n" />
+    <ZipProject Include="Templates\Projects\WindowsApplication\Program.n" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Resources\Nemerle.ico" />
+    <EmbeddedResource Include="GUI\GoToTypeForm.resx">
+      <SubType>Designer</SubType>
+      <DependentUpon>GoToTypeForm.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="Resources\NemerleImageList.bmp" />
+    <ZipProject Include="Templates\Projects\WindowsApplication\NemerleMacroLibrary.vstemplate" />
+    <ZipProject Include="Templates\Projects\WindowsApplication\Nemerle.ico" />
+    <ZipProject Include="Templates\Projects\ClassLibrary\Nemerle.ico" />
+    <ZipProject Include="Templates\Projects\MacroLibrary\Nemerle.ico" />
+    <ZipProject Include="Templates\Projects\MacroLibrary\MacroLibrary.vstemplate" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />
+  </ItemGroup>
+  <PropertyGroup>
+    <TargetRegistryRoot>Software\Microsoft\VisualStudio\8.0Exp</TargetRegistryRoot>
+    <RegisterOutputPackage>true</RegisterOutputPackage>
+    <RegisterWithCodebase>true</RegisterWithCodebase>
+    <VsTemplateLanguage>Nemerle</VsTemplateLanguage>
+  </PropertyGroup>
+  <PropertyGroup>
+    <ProjectBasePath>$(VisualStudioIntegration)\Common\Source\CSharp\Project</ProjectBasePath>
+  </PropertyGroup>
+  <PropertyGroup>
+    <TargetRegistryRoot>Software\Microsoft\VisualStudio\8.0Exp</TargetRegistryRoot>
+    <RegisterOutputPackage>true</RegisterOutputPackage>
+    <RegisterWithCodebase>true</RegisterWithCodebase>
+  </PropertyGroup>
+  <!-- This imports the files that make up the project base classes. -->
+  <Import Project="$(ProjectBasePath)\ProjectBase.Files" />
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
+  <Import Project="$(VisualStudioIntegration)\Tools\Build\Microsoft.VsSDK.targets" />
+  <ProjectExtensions>
+    <VisualStudio>
+    </VisualStudio>
+  </ProjectExtensions>
+  <!--
+  <PropertyGroup>
+    <PostBuildEvent>REM Building zip files for Web Site Project templates .....
+$(MSBuildBinPath)\msbuild "$(ProjectDir)..\WebSiteProject\WebSiteProject.proj"</PostBuildEvent>
+  </PropertyGroup>
+  -->
+  <!-- Add user defined preprocessor directives -->
+  <PropertyGroup Condition=" '$(UserDefinedConstants)' != '' ">
+    <DefineConstants>$(DefineConstants);$(UserDefinedConstants)</DefineConstants>
+  </PropertyGroup>
+</Project>
\ No newline at end of file



More information about the svn mailing list