Skip to content

Commit

Permalink
Upgraded CVSI to support Visual Studio 2013.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonorossi committed May 25, 2014
1 parent 5553920 commit 2b91889
Show file tree
Hide file tree
Showing 13 changed files with 1,084 additions and 65 deletions.
5 changes: 3 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ To develop extensions for Visual Studio you will need to install the Visual Stud
* 2008 - Visual Studio 2008 SDK 1.0
* 2010 - Visual Studio 2010 SDK 1.0
* 2012 - Visual Studio 2012 SDK 1.0
* 2013 - Visual Studio 2013 SDK 1.0

Configure the Visual Studio project to launch the Visual Studio experimental hive:
* Set "Start external program" to "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe"
* Set "Start external program" to "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"
* Set "Command line arguments" to "/ranu /rootsuffix Exp"

Issue Tracker
-------------
Unresolved CVSI issues:
* http://issues.castleproject.org/issues/CONTRIB?q=%23{Castle+Visual+Studio+Integration}+%23Unresolved
* http://issues.castleproject.org/youtrack/issues/CONTRIB?q=%23{Castle+Visual+Studio+Integration}+%23Unresolved
6 changes: 3 additions & 3 deletions doc/Changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
| Changes to Castle Visual Studio Integration |
+=============================================+

0.5.0 (xxxx-xx-xx)
0.5.0 (2014-05-25)
==================
- Upgraded CVSI to support Visual Studio 2012 (done 2012-10-14).
Preview released http://stackoverflow.com/questions/14714549/visual-studio-2012-colorizer-and-intellisense-for-the-nvelocity-language
- Upgraded CVSI to support Visual Studio 2012 (done 2012-10-14; preview released http://stackoverflow.com/questions/14714549/visual-studio-2012-colorizer-and-intellisense-for-the-nvelocity-language)
- Upgraded CVSI to support Visual Studio 2013 (done 2014-05-25)

0.4.0 (2011-03-07)
==================
Expand Down
64 changes: 64 additions & 0 deletions src/CVSI-vs2013.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{9E96BF44-5C5D-40F1-A535-136A57055774}"
ProjectSection(SolutionItems) = preProject
..\doc\Changes.txt = ..\doc\Changes.txt
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Castle.VisualStudio.MonoRailIntelliSenseProvider-vs2013", "Castle.VisualStudio.MonoRailIntelliSenseProvider\Castle.VisualStudio.MonoRailIntelliSenseProvider-vs2013.csproj", "{1BF278D1-1FD8-4E26-9F93-777E5157A3A7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Castle.VisualStudio.MonoRailIntelliSenseProvider.Demo-vs2013", "Castle.VisualStudio.MonoRailIntelliSenseProvider.Demo\Castle.VisualStudio.MonoRailIntelliSenseProvider.Demo-vs2013.csproj", "{F0488714-07C6-4C4F-934A-3B9C955D75C6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Castle.VisualStudio.NVelocityLanguageService-vs2013", "Castle.VisualStudio.NVelocityLanguageService\Castle.VisualStudio.NVelocityLanguageService-vs2013.csproj", "{2FEF9F9C-1180-4F6D-A609-C8CD529A1C5E}"
ProjectSection(ProjectDependencies) = postProject
{6E419017-8FB9-4D6B-99EE-4B7502C234B0} = {6E419017-8FB9-4D6B-99EE-4B7502C234B0}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Castle.NVelocity.Demo-vs2013", "Castle.NVelocity.Demo\Castle.NVelocity.Demo-vs2013.csproj", "{7DD29533-E576-4A0C-BA0F-C026344E6AE0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Castle.NVelocity.Tests-vs2013", "Castle.NVelocity.Tests\Castle.NVelocity.Tests-vs2013.csproj", "{062FDFDB-0BAE-4E6C-84FB-72F774738CA6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Castle.NVelocity-vs2013", "Castle.NVelocity\Castle.NVelocity-vs2013.csproj", "{6E419017-8FB9-4D6B-99EE-4B7502C234B0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Castle.VisualStudio.NVelocityLanguageService.DebugWindow-vs2013", "Castle.VisualStudio.NVelocityLanguageService.DebugWindow\Castle.VisualStudio.NVelocityLanguageService.DebugWindow-vs2013.csproj", "{C0FEAF34-DF2E-47A7-BEFF-6C9B99501A0F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1BF278D1-1FD8-4E26-9F93-777E5157A3A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1BF278D1-1FD8-4E26-9F93-777E5157A3A7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1BF278D1-1FD8-4E26-9F93-777E5157A3A7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1BF278D1-1FD8-4E26-9F93-777E5157A3A7}.Release|Any CPU.Build.0 = Release|Any CPU
{F0488714-07C6-4C4F-934A-3B9C955D75C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F0488714-07C6-4C4F-934A-3B9C955D75C6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F0488714-07C6-4C4F-934A-3B9C955D75C6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F0488714-07C6-4C4F-934A-3B9C955D75C6}.Release|Any CPU.Build.0 = Release|Any CPU
{2FEF9F9C-1180-4F6D-A609-C8CD529A1C5E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2FEF9F9C-1180-4F6D-A609-C8CD529A1C5E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2FEF9F9C-1180-4F6D-A609-C8CD529A1C5E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2FEF9F9C-1180-4F6D-A609-C8CD529A1C5E}.Release|Any CPU.Build.0 = Release|Any CPU
{7DD29533-E576-4A0C-BA0F-C026344E6AE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7DD29533-E576-4A0C-BA0F-C026344E6AE0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7DD29533-E576-4A0C-BA0F-C026344E6AE0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7DD29533-E576-4A0C-BA0F-C026344E6AE0}.Release|Any CPU.Build.0 = Release|Any CPU
{062FDFDB-0BAE-4E6C-84FB-72F774738CA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{062FDFDB-0BAE-4E6C-84FB-72F774738CA6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{062FDFDB-0BAE-4E6C-84FB-72F774738CA6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{062FDFDB-0BAE-4E6C-84FB-72F774738CA6}.Release|Any CPU.Build.0 = Release|Any CPU
{6E419017-8FB9-4D6B-99EE-4B7502C234B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6E419017-8FB9-4D6B-99EE-4B7502C234B0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6E419017-8FB9-4D6B-99EE-4B7502C234B0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6E419017-8FB9-4D6B-99EE-4B7502C234B0}.Release|Any CPU.Build.0 = Release|Any CPU
{C0FEAF34-DF2E-47A7-BEFF-6C9B99501A0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C0FEAF34-DF2E-47A7-BEFF-6C9B99501A0F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C0FEAF34-DF2E-47A7-BEFF-6C9B99501A0F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C0FEAF34-DF2E-47A7-BEFF-6C9B99501A0F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
129 changes: 129 additions & 0 deletions src/Castle.NVelocity.Demo/Castle.NVelocity.Demo-vs2013.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{7DD29533-E576-4A0C-BA0F-C026344E6AE0}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Castle.NVelocity.Demo</RootNamespace>
<AssemblyName>Castle.NVelocity.Demo</AssemblyName>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<IsWebBootstrapper>false</IsWebBootstrapper>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkProfile />
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ParserGUIForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ParserGUIForm.Designer.cs">
<DependentUpon>ParserGUIForm.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="Example5.vm" />
<None Include="Example3.vm" />
<None Include="Example2.vm" />
<None Include="Example1.vm" />
<None Include="Example4.vm" />
<None Include="Example6.vm" />
<None Include="GUITemplate.vm" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="ParserGUIForm.resx">
<SubType>Designer</SubType>
<DependentUpon>ParserGUIForm.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
<Visible>False</Visible>
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
<Visible>False</Visible>
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Castle.NVelocity\Castle.NVelocity-vs2010.csproj">
<Project>{6E419017-8FB9-4D6B-99EE-4B7502C234B0}</Project>
<Name>Castle.NVelocity-vs2010</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
128 changes: 128 additions & 0 deletions src/Castle.NVelocity.Tests/Castle.NVelocity.Tests-vs2013.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{062FDFDB-0BAE-4E6C-84FB-72F774738CA6}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Castle.NVelocity.Tests</RootNamespace>
<AssemblyName>Castle.NVelocity.Tests</AssemblyName>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<IsWebBootstrapper>false</IsWebBootstrapper>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkProfile />
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.framework, Version=2.4.1.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ParserTests\XmlPositionTestCase.cs" />
<Compile Include="ParserTests\GetNodeAtPositionTestCase.cs" />
<Compile Include="ParserTests\NVelocityCommentsTestCase.cs" />
<Compile Include="ParserTests\NVelocityDirectiveTestCase.cs" />
<Compile Include="ParserTests\NVelocityExpressionPositionTestCase.cs" />
<Compile Include="ParserTests\NVelocityInXmlParserTestCase.cs" />
<Compile Include="ParserTests\XmlParserTestCase.cs" />
<Compile Include="ParserTests\NVelocityExpressionParserTestCase.cs" />
<Compile Include="ParserTests\NVelocityReferenceParserTestCase.cs" />
<Compile Include="ParserTests\ParserTestBase.cs" />
<Compile Include="ScannerTests\LineScannerTestCase.cs" />
<Compile Include="ScannerTests\ScannerOptionsTestCase.cs" />
<Compile Include="ScannerTests\SplitTokenTestCase.cs" />
<Compile Include="ScannerTests\TokenLookAhead.cs" />
<Compile Include="ScannerTests\TokenPositionTestCase.cs" />
<Compile Include="ScannerTests\NVelocityTokenTestCase.cs" />
<Compile Include="ScannerTests\NVelocityCommentTestCase.cs" />
<Compile Include="ScannerTests\NVelocityDirectiveTestCase.cs" />
<Compile Include="ScannerTests\ScannerTestBase.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ScannerTests\XmlTestCase.cs" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
<Visible>False</Visible>
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
<Visible>False</Visible>
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Castle.NVelocity\Castle.NVelocity-vs2010.csproj">
<Project>{6E419017-8FB9-4D6B-99EE-4B7502C234B0}</Project>
<Name>Castle.NVelocity-vs2010</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
Loading

0 comments on commit 2b91889

Please sign in to comment.