Skip to content

Commit 4562d45

Browse files
committed
chore: Defines the first version of the VSIX package
Switches to .NET 4.6. Adds LICENSE.txt. Configures source.extension.vsixmanifest.
1 parent 7f87f9c commit 4562d45

File tree

8 files changed

+128
-92
lines changed

8 files changed

+128
-92
lines changed

src/Sharpen.Engine/Sharpen.Engine.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>Sharpen.Engine</RootNamespace>
1111
<AssemblyName>Sharpen.Engine</AssemblyName>
12-
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
14+
<TargetFrameworkProfile />
1415
</PropertyGroup>
1516
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1617
<DebugSymbols>true</DebugSymbols>

src/Sharpen.Engine/app.config

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,67 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<runtime>
44
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
55
<dependentAssembly>
6-
<assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
7-
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
6+
<assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
7+
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0"/>
88
</dependentAssembly>
99
<dependentAssembly>
10-
<assemblyIdentity name="System.Linq" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
11-
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
10+
<assemblyIdentity name="System.Linq" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
11+
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0"/>
1212
</dependentAssembly>
1313
<dependentAssembly>
14-
<assemblyIdentity name="System.Runtime.Extensions" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
15-
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
14+
<assemblyIdentity name="System.Runtime.Extensions" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
15+
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0"/>
1616
</dependentAssembly>
1717
<dependentAssembly>
18-
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
19-
<bindingRedirect oldVersion="0.0.0.0-1.2.1.0" newVersion="1.2.1.0" />
18+
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
19+
<bindingRedirect oldVersion="0.0.0.0-1.2.1.0" newVersion="1.2.1.0"/>
2020
</dependentAssembly>
2121
<dependentAssembly>
22-
<assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
23-
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
22+
<assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
23+
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0"/>
2424
</dependentAssembly>
2525
<dependentAssembly>
26-
<assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" />
27-
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
26+
<assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral"/>
27+
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0"/>
2828
</dependentAssembly>
2929
<dependentAssembly>
30-
<assemblyIdentity name="System.Runtime.InteropServices" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
31-
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
30+
<assemblyIdentity name="System.Runtime.InteropServices" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
31+
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0"/>
3232
</dependentAssembly>
3333
<dependentAssembly>
34-
<assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
35-
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
34+
<assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
35+
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0"/>
3636
</dependentAssembly>
3737
<dependentAssembly>
38-
<assemblyIdentity name="System.Security.Cryptography.Algorithms" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
39-
<bindingRedirect oldVersion="0.0.0.0-4.2.1.0" newVersion="4.2.1.0" />
38+
<assemblyIdentity name="System.Security.Cryptography.Algorithms" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
39+
<bindingRedirect oldVersion="0.0.0.0-4.2.1.0" newVersion="4.2.1.0"/>
4040
</dependentAssembly>
4141
<dependentAssembly>
42-
<assemblyIdentity name="System.IO.FileSystem" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
43-
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
42+
<assemblyIdentity name="System.IO.FileSystem" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
43+
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0"/>
4444
</dependentAssembly>
4545
<dependentAssembly>
46-
<assemblyIdentity name="System.IO.FileSystem.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
47-
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
46+
<assemblyIdentity name="System.IO.FileSystem.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
47+
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0"/>
4848
</dependentAssembly>
4949
<dependentAssembly>
50-
<assemblyIdentity name="System.Security.Cryptography.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
51-
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
50+
<assemblyIdentity name="System.Security.Cryptography.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
51+
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
5252
</dependentAssembly>
5353
<dependentAssembly>
54-
<assemblyIdentity name="System.Xml.XPath.XDocument" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
55-
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
54+
<assemblyIdentity name="System.Xml.XPath.XDocument" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
55+
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0"/>
5656
</dependentAssembly>
5757
<dependentAssembly>
58-
<assemblyIdentity name="System.Linq.Expressions" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
59-
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
58+
<assemblyIdentity name="System.Linq.Expressions" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
59+
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0"/>
6060
</dependentAssembly>
6161
<dependentAssembly>
62-
<assemblyIdentity name="System.Threading.Thread" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
63-
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
62+
<assemblyIdentity name="System.Threading.Thread" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
63+
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/>
6464
</dependentAssembly>
6565
</assemblyBinding>
6666
</runtime>
67-
</configuration>
67+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/></startup></configuration>

src/Sharpen.Engine/packages.config

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<package id="Microsoft.CodeAnalysis.VisualBasic.Workspaces" version="2.4.0" targetFramework="net47" />
1111
<package id="Microsoft.CodeAnalysis.Workspaces.Common" version="2.4.0" targetFramework="net47" />
1212
<package id="Microsoft.VisualStudio.LanguageServices" version="2.4.0" targetFramework="net47" />
13-
<package id="System.AppContext" version="4.3.0" targetFramework="net47" />
13+
<package id="System.AppContext" version="4.3.0" targetFramework="net47" requireReinstallation="true" />
1414
<package id="System.Collections" version="4.3.0" targetFramework="net47" />
1515
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="net47" />
1616
<package id="System.Collections.Immutable" version="1.3.1" targetFramework="net47" />
@@ -27,23 +27,23 @@
2727
<package id="System.Diagnostics.Tools" version="4.3.0" targetFramework="net47" />
2828
<package id="System.Dynamic.Runtime" version="4.3.0" targetFramework="net47" />
2929
<package id="System.Globalization" version="4.3.0" targetFramework="net47" />
30-
<package id="System.IO" version="4.3.0" targetFramework="net47" />
30+
<package id="System.IO" version="4.3.0" targetFramework="net47" requireReinstallation="true" />
3131
<package id="System.IO.Compression" version="4.3.0" targetFramework="net47" />
3232
<package id="System.IO.FileSystem" version="4.3.0" targetFramework="net47" />
3333
<package id="System.IO.FileSystem.Primitives" version="4.3.0" targetFramework="net47" />
34-
<package id="System.Linq" version="4.3.0" targetFramework="net47" />
35-
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="net47" />
36-
<package id="System.Reflection" version="4.3.0" targetFramework="net47" />
34+
<package id="System.Linq" version="4.3.0" targetFramework="net47" requireReinstallation="true" />
35+
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="net47" requireReinstallation="true" />
36+
<package id="System.Reflection" version="4.3.0" targetFramework="net47" requireReinstallation="true" />
3737
<package id="System.Reflection.Metadata" version="1.4.2" targetFramework="net47" />
3838
<package id="System.Resources.ResourceManager" version="4.3.0" targetFramework="net47" />
39-
<package id="System.Runtime" version="4.3.0" targetFramework="net47" />
40-
<package id="System.Runtime.Extensions" version="4.3.0" targetFramework="net47" />
41-
<package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="net47" />
39+
<package id="System.Runtime" version="4.3.0" targetFramework="net47" requireReinstallation="true" />
40+
<package id="System.Runtime.Extensions" version="4.3.0" targetFramework="net47" requireReinstallation="true" />
41+
<package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="net47" requireReinstallation="true" />
4242
<package id="System.Runtime.Numerics" version="4.3.0" targetFramework="net47" />
43-
<package id="System.Security.Cryptography.Algorithms" version="4.3.0" targetFramework="net47" />
43+
<package id="System.Security.Cryptography.Algorithms" version="4.3.0" targetFramework="net47" requireReinstallation="true" />
4444
<package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net47" />
4545
<package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net47" />
46-
<package id="System.Security.Cryptography.X509Certificates" version="4.3.0" targetFramework="net47" />
46+
<package id="System.Security.Cryptography.X509Certificates" version="4.3.0" targetFramework="net47" requireReinstallation="true" />
4747
<package id="System.Text.Encoding" version="4.3.0" targetFramework="net47" />
4848
<package id="System.Text.Encoding.CodePages" version="4.3.0" targetFramework="net47" />
4949
<package id="System.Text.Encoding.Extensions" version="4.3.0" targetFramework="net47" />
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Igor Rončević
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

src/Sharpen.VisualStudioExtension/Sharpen.VisualStudioExtension.csproj

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<NuGetPackageImportStamp>
88
</NuGetPackageImportStamp>
99
<UseCodebase>true</UseCodebase>
10+
<TargetFrameworkProfile />
1011
</PropertyGroup>
1112
<PropertyGroup>
1213
<SignAssembly>true</SignAssembly>
@@ -24,8 +25,8 @@
2425
<OutputType>Library</OutputType>
2526
<AppDesignerFolder>Properties</AppDesignerFolder>
2627
<RootNamespace>Sharpen.VisualStudioExtension</RootNamespace>
27-
<AssemblyName>Sharpen.VisualStudioExtension</AssemblyName>
28-
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
28+
<AssemblyName>Sharpen</AssemblyName>
29+
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
2930
<GeneratePkgDefFile>true</GeneratePkgDefFile>
3031
<IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer>
3132
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
@@ -355,6 +356,10 @@
355356
</EmbeddedResource>
356357
</ItemGroup>
357358
<ItemGroup>
359+
<Content Include="LICENSE.txt">
360+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
361+
<IncludeInVSIX>true</IncludeInVSIX>
362+
</Content>
358363
<Content Include="Resources\SharpenPackage.ico">
359364
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
360365
<IncludeInVSIX>true</IncludeInVSIX>

0 commit comments

Comments
 (0)