Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Custom.targets for generating and including a standard VersionA…
…ssemblyInfo file using MSBuildTasks nuget package Tidied up AssemblyInfo for each project to remove errors, and update some data Removed packages from repository added nuget exe modified build.ps1 to restore nuget, get version from dll to rename the installer Fixed SSMS addin from failing due to resource name being wrong when creating template file Added new SSMS versions - 2012, 2014, 2016 (untested) Minor code cleanups with Laan.AddIns.Ssms
- Loading branch information
Showing
97 changed files
with
325 additions
and
104,290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ node_modules | |
*/publish/ | ||
.cr | ||
/.vs/config/applicationhost.config | ||
/Build/VersionAssemblyInfo.cs | ||
/dist |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<activePackageSource> | ||
<add key="All" value="(Aggregate source)" /> | ||
</activePackageSource> | ||
<packageRestore> | ||
<add key="enabled" value="true" /> | ||
<add key="automatic" value="true" /> | ||
</packageRestore> | ||
<solution> | ||
<add key="disableSourceControlIntegration" value="true" /> | ||
</solution> | ||
<packageSources> | ||
<add key="nuget.org" value="https://www.nuget.org/api/v2/" /> | ||
</packageSources> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<PropertyGroup> | ||
<MSBuildCommunityTasksPath>$(SolutionDir)packages\MSBuildTasks.1.5.0.235\tools\</MSBuildCommunityTasksPath> | ||
</PropertyGroup> | ||
|
||
<Import Project="$(MSBuildCommunityTasksPath)MSBuild.Community.Tasks.targets"/> | ||
|
||
<!-- Default Properties shared by All Projects, for both Debug and Release Configurations --> | ||
<PropertyGroup> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<StyleCopTreatErrorsAsWarnings>true</StyleCopTreatErrorsAsWarnings> | ||
<WarningLevel>4</WarningLevel> | ||
<ErrorReport>prompt</ErrorReport> | ||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> | ||
</PropertyGroup> | ||
|
||
<!-- Properties shared by All Projects, for Debug Configuration --> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<DebugType>full</DebugType> | ||
<RunCodeAnalysis>false</RunCodeAnalysis> | ||
</PropertyGroup> | ||
|
||
<!-- Properties shared by All Projects, for Release Configuration --> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'"> | ||
<DefineConstants>CODE_ANALYSIS;TRACE</DefineConstants> | ||
<Optimize>true</Optimize> | ||
<DebugType>pdbonly</DebugType> | ||
<!--RunCodeAnalysis>true</RunCodeAnalysis--> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<Major>0</Major> | ||
<Minor>2</Minor> | ||
<Build>1</Build> | ||
<Revision>$(BUILD_NUMBER)</Revision> | ||
</PropertyGroup> | ||
|
||
<Target Name="GenerateVersionAssemblyInfo"> | ||
<Message Text="Generating Assembly Version: $(Major).$(Minor).$(Build).$(Revision)"/> | ||
<AssemblyInfo | ||
CodeLanguage="CS" | ||
OutputFile="$(SolutionDir)Build\VersionAssemblyInfo.cs" | ||
AssemblyVersion="$(Major).$(Minor).$(Build).$(Revision)" | ||
AssemblyConfiguration="$(Configuration)" | ||
Condition="$(Revision) != '' " /> | ||
<AssemblyInfo | ||
CodeLanguage="CS" | ||
OutputFile="$(SolutionDir)Build\VersionAssemblyInfo.cs" | ||
AssemblyVersion="$(Major).$(Minor).*" | ||
AssemblyConfiguration="$(Configuration)" | ||
Condition="$(Revision) == '' " /> | ||
</Target> | ||
|
||
<Target Name="BeforeBuild"> | ||
<CallTarget Targets="GenerateVersionAssemblyInfo" /> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
|
||
namespace Laan.AddIns.Ssms.Actions | ||
{ | ||
|
||
[MenuBarToolsMenu] | ||
public class SqlFormatter : Core.Action | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Oops, something went wrong.