Skip to content

Commit

Permalink
Only deploy when building inside Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
jcansdale committed Sep 23, 2018
1 parent 9139744 commit db56fcd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TemporaryProjects.Vsix/TemporaryProjects.Vsix.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DeployExtension>True</DeployExtension>
<CreateVsixContainer>True</CreateVsixContainer>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -44,6 +46,10 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(BuildingInsideVisualStudio)' != 'true'">
<!-- Only deploy extension when building inside Visual Studio -->
<DeployExtension>false</DeployExtension>
</PropertyGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
Expand Down

0 comments on commit db56fcd

Please sign in to comment.