Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for SDK, Build Tools, Version, and Description #58

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
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
30 changes: 0 additions & 30 deletions .github/workflows/MSBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,6 @@ jobs:
working-directory: build
run: cmd.exe /C scripts\gh-version-setup ${{ github.run_number }}

- name: Build 2017-2019
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /v:m /restore /p:UseVsSdkVersion=15.0 /p:Configuration=Release ${{env.SOLUTION_FILE_PATH}} @build\scripts\msbuild-version.rsp

- name: Package vsix 2017-2019
uses: actions/upload-artifact@v2
with:
name: Ankh-VSIX-2017-2019
path: build/src/Ankh.Package/bin/release/Ankh.Package.vsix

- name: Build 2019
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /v:m /restore /t:rebuild /p:Configuration=Release ${{env.SOLUTION_FILE_PATH}} @build\scripts\msbuild-version.rsp

- name: Package vsix 2019
uses: actions/upload-artifact@v2
with:
name: Ankh-VSIX-2019-only
path: build/src/Ankh.Package/bin/release/Ankh.Package.vsix

- name: Build 2022
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /v:m /restore /t:rebuild /p:UseVsSdkVersion=17.0 /p:Configuration=Release ${{env.SOLUTION_FILE_PATH}} @build\scripts\msbuild-version.rsp
Expand All @@ -59,13 +39,3 @@ jobs:
with:
name: Ankh-VSIX-2022
path: build/src/Ankh.Package/bin/release/Ankh.Package.vsix

# - name: Build 2012-2015
# working-directory: ${{env.GITHUB_WORKSPACE}}
# run: msbuild /m /v:m /restore /t:rebuild /p:UseVsSdkVersion=11.0 /p:Configuration=Release ${{env.SOLUTION_FILE_PATH}} @build\scripts\msbuild-version.rsp
#
# - name: Package vsix 2012-2015
# uses: actions/upload-artifact@v2
# with:
# name: Ankh-VSIX-2012-2015
# path: build/src/Ankh.Package/bin/release/Ankh.Package.vsix
3 changes: 3 additions & 0 deletions src/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

# VSTHRD010: Invoke single-threaded types on Main thread
dotnet_diagnostic.VSTHRD010.severity = none

# IDE0052: Remove unread private members
dotnet_diagnostic.IDE0052.severity = none
12 changes: 11 additions & 1 deletion src/Ankh.Diff/Ankh.Diff.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet>ExtendedCorrectnessRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
Expand Down Expand Up @@ -190,6 +190,16 @@
<Name>Ankh.Services</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.VisualStudio.SDK">
<Version>17.5.33428.388</Version>
</PackageReference>
<PackageReference Update="Microsoft.VSSDK.BuildTools">
<Version>17.5.4072</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</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.
Expand Down
14 changes: 12 additions & 2 deletions src/Ankh.ExtensionPoints/Ankh.ExtensionPoints.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
<PlatformTarget>AnyCPU</PlatformTarget>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<OutputPath>bin\Release\</OutputPath>
Expand All @@ -46,7 +46,7 @@
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
<PlatformTarget>AnyCPU</PlatformTarget>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand All @@ -69,6 +69,16 @@
<ItemGroup>
<None Include="Ankh.ExtensionPoints.snk" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.VisualStudio.SDK">
<Version>17.5.33428.388</Version>
</PackageReference>
<PackageReference Update="Microsoft.VSSDK.BuildTools">
<Version>17.5.4072</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</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.
Expand Down
10 changes: 10 additions & 0 deletions src/Ankh.Ids/Ankh.Ids.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@
</ItemGroup>
<ItemGroup>
<None Include="Ankh.Ids.snk" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.VisualStudio.SDK">
<Version>17.5.33428.388</Version>
</PackageReference>
<PackageReference Update="Microsoft.VSSDK.BuildTools">
<Version>17.5.4072</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
11 changes: 10 additions & 1 deletion src/Ankh.ImageCatalog/Ankh.ImageCatalog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,16 @@
</Content>
<EmbeddedResource Include="Imgs\RepositoryExplorer.png" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<PackageReference Update="Microsoft.VisualStudio.SDK">
<Version>17.5.33428.388</Version>
</PackageReference>
<PackageReference Update="Microsoft.VSSDK.BuildTools">
<Version>17.5.4072</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="..\tools\turtletasks\QQn.TurtleTasks.targets" />
<PropertyGroup>
Expand Down
25 changes: 17 additions & 8 deletions src/Ankh.Package/Ankh.Package.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@
<SubType>Component</SubType>
</Compile>
<Compile Include="AnkhSvnPackage.cs" />
<Compile Include="AnkhSvnPackage.AsyncPackage.cs" Condition="'$(UseVsSdkVersion)' &gt;= '15.0'">
<DependentUpon>AnkhSvnPackage.cs</DependentUpon>
</Compile>
<Compile Include="AnkhSvnPackage.LegacyPackage.cs" Condition="'$(UseVsSdkVersion)' &lt; '15.0'">
<DependentUpon>AnkhSvnPackage.cs</DependentUpon>
</Compile>
<Compile Include="AnkhSvnPackage.About.cs">
<Compile Include="AnkhSvnPackage.AsyncPackage.cs" Condition="'$(UseVsSdkVersion)' &gt;= '15.0'">
<DependentUpon>AnkhSvnPackage.cs</DependentUpon>
</Compile>
<Compile Include="AnkhSvnPackage.LegacyPackage.cs" Condition="'$(UseVsSdkVersion)' &lt; '15.0'">
<DependentUpon>AnkhSvnPackage.cs</DependentUpon>
</Compile>
<Compile Include="AnkhSvnPackage.About.cs">
<DependentUpon>AnkhSvnPackage.cs</DependentUpon>
</Compile>
<Compile Include="AnkhSvnPackage.Commands.cs">
Expand Down Expand Up @@ -506,7 +506,16 @@
<Name>Ankh</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<PackageReference Update="Microsoft.VisualStudio.SDK">
<Version>17.5.33428.388</Version>
</PackageReference>
<PackageReference Update="Microsoft.VSSDK.BuildTools">
<Version>17.5.4072</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<Target Name="RemoveUnneededPlatformTargets" BeforeTargets="FindSourceVsixManifest">
<ItemGroup>
<None Include="x86\*.VsixManifest" Condition="'$(UseVsSdkVersion)' &lt; '17.0'" />
Expand Down
6 changes: 6 additions & 0 deletions src/Ankh.Package/AnkhEditorFactories.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,15 @@ public int SetSite(IOleServiceProvider psp)
sealed class AnkhDynamicEditorFactory : AnkhEditorFactory, IAnkhDynamicEditorFactory
{
readonly Stack<VSEditorControl> _forms = new Stack<VSEditorControl>();

[Obsolete]
public AnkhDynamicEditorFactory(AnkhSvnPackage package)
: base(package)
{
if (package is null)
{
throw new ArgumentNullException(nameof(package));
}
}

protected override VSEditorControl CreateForm()
Expand Down
1 change: 1 addition & 0 deletions src/Ankh.Package/AnkhSvnPackage.About.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ namespace Ankh.VSPackage
// This attribute is used to register the informations needed to show the this package
// in the Help/About dialog of Visual Studio.
[InstalledProductRegistration(true, null, null, null)]
[Obsolete]
public partial class AnkhSvnPackage : IVsInstalledProduct
{
Version _packageVersion;
Expand Down
1 change: 1 addition & 0 deletions src/Ankh.Package/AnkhSvnPackage.SolutionProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ public int ReadUserOptions([In] IStream pOptionsStream, [In] string pszKey)
}
catch (Exception ex)
{
string error = ex.Message;
#if DEBUG
IAnkhErrorHandler handler = GetService<IAnkhErrorHandler>();

Expand Down
2 changes: 1 addition & 1 deletion src/Ankh.Package/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("2.9.*")]
[assembly: AssemblyVersion("2.9.20")]

// TODO: These should not be set in release code
#if !FOR_MSI
Expand Down
4 changes: 2 additions & 2 deletions src/Ankh.Package/x64/source.extension.VsixManifest
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="AnkhSVN.2.9.417f85d8-1b5c-47ee-a8ae-b58359e79899" Version="2.8.0" Language="en-US" Publisher="AnkhSVN Team" />
<Identity Id="AnkhSVN.2.9.417f85d8-1b5c-47ee-a8ae-b58359e79899" Version="2.9.0" Language="en-US" Publisher="AnkhSVN Team" />
<DisplayName>AnkhSVN - Subversion Support for Visual Studio</DisplayName>
<Description xml:space="preserve">Opensource Subversion Support for Visual Studio 2017 and 2019.</Description>
<Description xml:space="preserve">Opensource Subversion Support for Visual Studio.</Description>
<MoreInfo>http://www.ankhsvn.net/</MoreInfo>
<License>LICENSE.rtf</License>
<ReleaseNotes>http://ankhsvn.net/releasenotes</ReleaseNotes>
Expand Down
4 changes: 2 additions & 2 deletions src/Ankh.Package/x86/source.extension.VsixManifest
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="AnkhSVN.2.7.417f85d8-1b5c-47ee-a8ae-b58359e79899" Version="2.8.0" Language="en-US" Publisher="AnkhSVN Team" />
<Identity Id="AnkhSVN.2.7.417f85d8-1b5c-47ee-a8ae-b58359e79899" Version="2.9.0" Language="en-US" Publisher="AnkhSVN Team" />
<DisplayName>AnkhSVN - Subversion Support for Visual Studio</DisplayName>
<Description xml:space="preserve">Opensource Subversion Support for Visual Studio 2017 and 2019.</Description>
<Description xml:space="preserve">Opensource Subversion Support for Visual Studio.</Description>
<MoreInfo>http://www.ankhsvn.net/</MoreInfo>
<License>LICENSE.rtf</License>
<ReleaseNotes>http://ankhsvn.net/releasenotes</ReleaseNotes>
Expand Down
8 changes: 8 additions & 0 deletions src/Ankh.Scc/Ankh.Scc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,14 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.VisualStudio.SDK">
<Version>17.5.33428.388</Version>
</PackageReference>
<PackageReference Update="Microsoft.VSSDK.BuildTools">
<Version>17.5.4072</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
Loading