Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

# Our batch files requires CRLF for correct work.
# https://github.com/3F/hMSBuild/issues/2

*.bat text eol=crlf
*.cmd text eol=crlf
*.tpl text eol=crlf
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Specific

/vsSolutionBuildEvent/source.extension.vsixmanifest

/vsSolutionBuildEvent/Version.cs
/Bridge/Version.cs
/CI.MSBuild/Version.cs
Expand Down
2 changes: 1 addition & 1 deletion .gnt/gnt.core

Large diffs are not rendered by default.

236 changes: 155 additions & 81 deletions .vssbe

Large diffs are not rendered by default.

26 changes: 12 additions & 14 deletions Bridge/Bridge.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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>
<Configuration Condition=" '$(Configuration)' == '' ">DBG_SDK10</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
Expand All @@ -12,48 +12,46 @@
<AssemblyName>Bridge</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<NetTargetVName>net40</NetTargetVName>
<DefineConstants>NET_40</DefineConstants>
<FileAlignment>512</FileAlignment>
<vsSBE_SDK>1.1.0</vsSBE_SDK>
<NoWarn>CS1591;IDE1006</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DBG_SDK10|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>$(DefineConstants);DEBUG;TRACE</DefineConstants>
<DefineConstants>NET_40;DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'REL_SDK10|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>$(DefineConstants)</DefineConstants>
<DefineConstants>NET_40</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>CS1591</NoWarn>
<DocumentationFile>bin\Release\Bridge.XML</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release_net45|AnyCPU'">
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'REL_SDK15|AnyCPU' ">
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<NetTargetVName>net45</NetTargetVName>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>NET_45</DefineConstants>
<DefineConstants></DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>bin\Release\Bridge.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_net45|AnyCPU'">
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DBG_SDK15|AnyCPU' ">
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<NetTargetVName>net45</NetTargetVName>
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>NET_45;DEBUG;TRACE</DefineConstants>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
Expand Down
2 changes: 1 addition & 1 deletion CI.MSBuild/CI.MSBuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ REM # The documentation: http://vssbe.r-eg.net/doc/CI/CI.MSBuild/

set cimdll=CI.MSBuild.dll

msbuild %* /l:"%~dp0%cimdll%" /nologo
hMSBuild %* /l:"%~dp0%cimdll%" /nologo
28 changes: 13 additions & 15 deletions CI.MSBuild/CI.MSBuild.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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>
<Configuration Condition=" '$(Configuration)' == '' ">DBG_SDK10</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
Expand All @@ -14,47 +14,45 @@
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<NetTargetVName>net40</NetTargetVName>
<DefineConstants>NET_40</DefineConstants>
<FileAlignment>512</FileAlignment>
<NoWarn>CS1591;IDE1006</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DBG_SDK10|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>$(DefineConstants);DEBUG;TRACE</DefineConstants>
<DefineConstants>NET_40;DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'REL_SDK10|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>$(DefineConstants)</DefineConstants>
<DefineConstants>NET_40</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\CI.MSBuild.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release_net45|AnyCPU'">
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'REL_SDK15|AnyCPU' ">
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<NetTargetVName>net45</NetTargetVName>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>NET_45</DefineConstants>
<DefineConstants></DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>bin\Release\CI.MSBuild.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_net45|AnyCPU'">
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DBG_SDK15|AnyCPU' ">
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<NetTargetVName>net45</NetTargetVName>
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>NET_45;DEBUG;TRACE</DefineConstants>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
Expand Down Expand Up @@ -94,7 +92,7 @@
<None Include="$(SolutionDir)\tools\gnt.bat">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="$(SolutionDir)\tools\msbuild.bat">
<None Include="$(SolutionDir)\tools\hMSBuild.bat">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="CI.MSBuild.bat">
Expand Down
14 changes: 7 additions & 7 deletions CIMLib/CIMLib.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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)' == '' ">Release</Configuration>
<Configuration Condition=" '$(Configuration)' == '' ">REL_SDK10</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
Expand All @@ -13,26 +13,26 @@
<AssemblyName>CIMLib</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<NetTargetVName>net40</NetTargetVName>
<DefineConstants>NET_40</DefineConstants>
<FileAlignment>512</FileAlignment>
<NoWarn>CS1591;IDE1006</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'REL_SDK10|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>$(DefineConstants)</DefineConstants>
<DefineConstants>NET_40</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>3</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release_net45|AnyCPU'">
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'REL_SDK15|AnyCPU' ">
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<NetTargetVName>net45</NetTargetVName>
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\</OutputPath>
<DefineConstants>NET_45</DefineConstants>
<DefineConstants></DefineConstants>
<Optimize>true</Optimize>
<WarningLevel>3</WarningLevel>
<DebugType>pdbonly</DebugType>
Expand Down
24 changes: 12 additions & 12 deletions ClientDemo/ClientDemo.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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>
<Configuration Condition=" '$(Configuration)' == '' ">DBG_SDK10</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{9673A8FC-07E1-4BB3-A97E-020481A5275E}</ProjectGuid>
<OutputType>Library</OutputType>
Expand All @@ -12,43 +12,43 @@
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<NetTargetVName>net40</NetTargetVName>
<DefineConstants>NET_40</DefineConstants>
<FileAlignment>512</FileAlignment>
<NoWarn>CS1591;IDE1006</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DBG_SDK10|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>$(DefineConstants);DEBUG;TRACE</DefineConstants>
<DefineConstants>NET_40;DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'REL_SDK10|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>$(DefineConstants)</DefineConstants>
<DefineConstants>NET_40</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release_net45|AnyCPU'">
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'REL_SDK15|AnyCPU' ">
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<NetTargetVName>net45</NetTargetVName>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>NET_45</DefineConstants>
<DefineConstants></DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_net45|AnyCPU'">
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DBG_SDK15|AnyCPU' ">
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<NetTargetVName>net45</NetTargetVName>
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>NET_45;DEBUG;TRACE</DefineConstants>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
Expand Down
4 changes: 2 additions & 2 deletions Devenv/Devenv.AddIn
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<Version>12.0</Version>
</HostApplication>
<Addin>
<FriendlyName>vsSolutionBuildEvent Devenv Command-Line</FriendlyName>
<Description>Add-in to vsSolutionBuildEvent</Description>
<FriendlyName>vsSolutionBuildEvent Devenv</FriendlyName>
<Description>vsSolutionBuildEvent Devenv Command-Line version</Description>
<Assembly>Devenv/Devenv.dll</Assembly>
<FullClassName>net.r_eg.vsSBE.Devenv.Connect</FullClassName>
<LoadBehavior>4</LoadBehavior>
Expand Down
26 changes: 12 additions & 14 deletions Devenv/Devenv.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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>
<Configuration Condition=" '$(Configuration)' == '' ">DBG_SDK10</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30424</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
Expand All @@ -16,15 +16,15 @@
<DeploymentDirectory>.\bin\</DeploymentDirectory>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<NetTargetVName>net40</NetTargetVName>
<DefineConstants>NET_40</DefineConstants>
<vsSBE_SDK>1.1.0</vsSBE_SDK>
<NoWarn>CS1591;IDE1006</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DBG_SDK10|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<Optimize>false</Optimize>
<OutputPath>.\bin\Debug\</OutputPath>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<DefineConstants>$(DefineConstants);DEBUG;TRACE</DefineConstants>
<DefineConstants>NET_40;DEBUG;TRACE</DefineConstants>
<WarningLevel>4</WarningLevel>
<IncrementalBuild>false</IncrementalBuild>
<DocumentationFile>
Expand All @@ -33,40 +33,38 @@
<DebugType>pdbonly</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'REL_SDK10|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<Optimize>true</Optimize>
<OutputPath>.\bin\Release\</OutputPath>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<DefineConstants>$(DefineConstants)</DefineConstants>
<DefineConstants>NET_40</DefineConstants>
<WarningLevel>4</WarningLevel>
<IncrementalBuild>false</IncrementalBuild>
<DocumentationFile>bin\Release\Devenv.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
<Prefer32Bit>false</Prefer32Bit>
<DebugType>pdbonly</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release_net45|AnyCPU'">
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'REL_SDK15|AnyCPU' ">
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<NetTargetVName>net45</NetTargetVName>
<DebugSymbols>true</DebugSymbols>
<OutputPath>.\bin\Release\</OutputPath>
<DefineConstants>NET_45</DefineConstants>
<DefineConstants></DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>bin\Release\Devenv.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug_net45|AnyCPU'">
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DBG_SDK15|AnyCPU' ">
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<NetTargetVName>net45</NetTargetVName>
<DebugSymbols>true</DebugSymbols>
<OutputPath>.\bin\Debug\</OutputPath>
<DefineConstants>NET_45;DEBUG;TRACE</DefineConstants>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
Expand Down
Loading