Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
ReSharper 7.1 EAP support - #2
Browse files Browse the repository at this point in the history
  • Loading branch information
citizenmatt committed Nov 7, 2012
1 parent 3dd5117 commit a5f75b0
Show file tree
Hide file tree
Showing 7 changed files with 133 additions and 5 deletions.
2 changes: 1 addition & 1 deletion install/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
NuGetSupport
NuGetSupport*
*.zip
7 changes: 5 additions & 2 deletions install/Install-NuGetSupport.7.0.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ set PRODUCT=ReSharper
set BASEDIR=JetBrains\%PRODUCT%\v%VERSION%
set PLUGIN=NuGetSupport

set INSTALL_SOURCEDIR=%~dp0\%PLUGIN%
set INSTALL_SOURCEDIR=%~dp0\%PLUGIN%.%VERSION%

set PER_USER_PLUGINDIR=%LOCALAPPDATA%\%BASEDIR%\plugins\%PLUGIN%

if exist "%PER_USER_PLUGINDIR%" goto do_copy
if exist "%PER_USER_PLUGINDIR%" goto do_clean
mkdir "%PER_USER_PLUGINDIR%"

:do_clean
del /q %PER_USER_PLUGINDIR%\*.* 2> NUL

:do_copy
echo Copying files...
copy /y "%INSTALL_SOURCEDIR%\*.dll" "%PER_USER_PLUGINDIR%"
Expand Down
33 changes: 33 additions & 0 deletions install/Install-NuGetSupport.7.1.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
@echo off
setlocal enableextensions

set VERSION=7.1
set PRODUCT=ReSharper
set BASEDIR=JetBrains\%PRODUCT%\v%VERSION%
set PLUGIN=NuGetSupport

set INSTALL_SOURCEDIR=%~dp0\%PLUGIN%.%VERSION%

set PER_USER_PLUGINDIR=%LOCALAPPDATA%\%BASEDIR%\plugins\%PLUGIN%

if exist "%PER_USER_PLUGINDIR%" goto do_clean
mkdir "%PER_USER_PLUGINDIR%"

:do_clean
del /q %PER_USER_PLUGINDIR%\*.* 2> NUL

:do_copy
echo Copying files...
copy /y "%INSTALL_SOURCEDIR%\*.dll" "%PER_USER_PLUGINDIR%"
copy /y "%INSTALL_SOURCEDIR%\*.pdb" "%PER_USER_PLUGINDIR%" 2> NUL

echo.

REM See https://github.com/citizenmatt/UnblockZoneIdentifier
echo Unblocking downloaded files...
pushd "%PER_USER_PLUGINDIR%"
for /r %%i in (*) do "%~dp0\UnblockZoneIdentifier" "%%i"
popd

:end
pause
8 changes: 8 additions & 0 deletions install/Prepare-Release.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@echo off
setlocal enableextensions

mkdir NuGetSupport.7.0 2> NUL
copy /y ..\src\resharper-nuget\bin\Release\*.7.0.* NuGetSupport.7.0\

mkdir NuGetSupport.7.1 2> NUL
copy /y ..\src\resharper-nuget\bin\Release\*.7.1.* NuGetSupport.7.1\
8 changes: 7 additions & 1 deletion src/resharper-nuget.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "resharper-nuget", "resharper-nuget\resharper-nuget.csproj", "{7AF55DF9-33DA-4E50-B6E5-ADE407376D4E}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "resharper-nuget.7.0", "resharper-nuget\resharper-nuget.7.0.csproj", "{7AF55DF9-33DA-4E50-B6E5-ADE407376D4E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "resharper-nuget.7.1", "resharper-nuget\resharper-nuget.7.1.csproj", "{171609ED-2DB8-4682-9B2E-ACEDD4E6DC2A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -13,6 +15,10 @@ Global
{7AF55DF9-33DA-4E50-B6E5-ADE407376D4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7AF55DF9-33DA-4E50-B6E5-ADE407376D4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7AF55DF9-33DA-4E50-B6E5-ADE407376D4E}.Release|Any CPU.Build.0 = Release|Any CPU
{171609ED-2DB8-4682-9B2E-ACEDD4E6DC2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{171609ED-2DB8-4682-9B2E-ACEDD4E6DC2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{171609ED-2DB8-4682-9B2E-ACEDD4E6DC2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{171609ED-2DB8-4682-9B2E-ACEDD4E6DC2A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>JetBrains.ReSharper.Plugins.NuGet</RootNamespace>
<AssemblyName>JetBrains.ReSharper.Plugins.NuGet</AssemblyName>
<AssemblyName>JetBrains.ReSharper.Plugins.NuGet.7.0</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
Expand Down
78 changes: 78 additions & 0 deletions src/resharper-nuget/resharper-nuget.7.1.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{171609ED-2DB8-4682-9B2E-ACEDD4E6DC2A}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>JetBrains.ReSharper.Plugins.NuGet</RootNamespace>
<AssemblyName>JetBrains.ReSharper.Plugins.NuGet.7.1</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>JET_MODE_ASSERT;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="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="Microsoft.VisualStudio.ComponentModelHost, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.ComponentModelHost.dll</HintPath>
</Reference>
<Reference Include="Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<Reference Include="Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<Reference Include="NuGet.VisualStudio">
<HintPath>..\..\packages\NuGet.VisualStudio.2.1.0\lib\net40\NuGet.VisualStudio.dll</HintPath>
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="System" />
<Reference Include="System.ComponentModel.Composition" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="ExposeNuGetServices.cs" />
<Compile Include="NuGetApi.cs" />
<Compile Include="NuGetModuleReferencer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="VsServiceMapExtensions.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<PropertyGroup>
<ReSharperSdkTargets Condition=" '$(ReSharperSdkTargets)' == '' ">$(MSBuildExtensionsPath)\JetBrains\ReSharper.SDK\v7.1</ReSharperSdkTargets>
</PropertyGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(ReSharperSdkTargets)\Plugin.Targets" />
<Import Project="resharper-nuget-debugging.proj" />
</Project>

0 comments on commit a5f75b0

Please sign in to comment.