Initial structure of projects and extension
This commit is contained in:
Родитель
c1ca4ef2da
Коммит
f68a2cec3d
|
@ -11,6 +11,8 @@ indent_style = space
|
||||||
# Code files
|
# Code files
|
||||||
[*.{cs,csx,vb,vbx}]
|
[*.{cs,csx,vb,vbx}]
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
insert_final_newline = true
|
||||||
|
charset = utf-8-bom
|
||||||
|
|
||||||
# Xml project files
|
# Xml project files
|
||||||
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
|
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
|
||||||
|
@ -45,17 +47,91 @@ dotnet_style_coalesce_expression = true:suggestion
|
||||||
dotnet_style_null_propagation = true:suggestion
|
dotnet_style_null_propagation = true:suggestion
|
||||||
dotnet_style_explicit_tuple_names = true:suggestion
|
dotnet_style_explicit_tuple_names = true:suggestion
|
||||||
|
|
||||||
|
# Non-private static fields are PascalCase
|
||||||
|
dotnet_naming_rule.non_private_static_fields_should_be_pascal_case.severity = suggestion
|
||||||
|
dotnet_naming_rule.non_private_static_fields_should_be_pascal_case.symbols = non_private_static_fields
|
||||||
|
dotnet_naming_rule.non_private_static_fields_should_be_pascal_case.style = non_private_static_field_style
|
||||||
|
|
||||||
|
dotnet_naming_symbols.non_private_static_fields.applicable_kinds = field
|
||||||
|
dotnet_naming_symbols.non_private_static_fields.applicable_accessibilities = public, protected, internal, protected internal, private protected
|
||||||
|
dotnet_naming_symbols.non_private_static_fields.required_modifiers = static
|
||||||
|
|
||||||
|
dotnet_naming_style.non_private_static_field_style.capitalization = pascal_case
|
||||||
|
|
||||||
|
# Constants are PascalCase
|
||||||
|
dotnet_naming_rule.constants_should_be_pascal_case.severity = suggestion
|
||||||
|
dotnet_naming_rule.constants_should_be_pascal_case.symbols = constants
|
||||||
|
dotnet_naming_rule.constants_should_be_pascal_case.style = constant_style
|
||||||
|
|
||||||
|
dotnet_naming_symbols.constants.applicable_kinds = field, local
|
||||||
|
dotnet_naming_symbols.constants.required_modifiers = const
|
||||||
|
|
||||||
|
dotnet_naming_style.constant_style.capitalization = pascal_case
|
||||||
|
|
||||||
|
# Static fields are camelCase
|
||||||
|
dotnet_naming_rule.static_fields_should_be_camel_case.severity = suggestion
|
||||||
|
dotnet_naming_rule.static_fields_should_be_camel_case.symbols = static_fields
|
||||||
|
dotnet_naming_rule.static_fields_should_be_camel_case.style = static_field_style
|
||||||
|
|
||||||
|
dotnet_naming_symbols.static_fields.applicable_kinds = field
|
||||||
|
dotnet_naming_symbols.static_fields.required_modifiers = static
|
||||||
|
|
||||||
|
dotnet_naming_style.static_field_style.capitalization = camel_case
|
||||||
|
|
||||||
|
# Instance fields are camelCase
|
||||||
|
dotnet_naming_rule.instance_fields_should_be_camel_case.severity = suggestion
|
||||||
|
dotnet_naming_rule.instance_fields_should_be_camel_case.symbols = instance_fields
|
||||||
|
dotnet_naming_rule.instance_fields_should_be_camel_case.style = instance_field_style
|
||||||
|
|
||||||
|
dotnet_naming_symbols.instance_fields.applicable_kinds = field
|
||||||
|
|
||||||
|
dotnet_naming_style.instance_field_style.capitalization = camel_case
|
||||||
|
|
||||||
|
# Locals and parameters are camelCase
|
||||||
|
dotnet_naming_rule.locals_should_be_camel_case.severity = suggestion
|
||||||
|
dotnet_naming_rule.locals_should_be_camel_case.symbols = locals_and_parameters
|
||||||
|
dotnet_naming_rule.locals_should_be_camel_case.style = camel_case_style
|
||||||
|
|
||||||
|
dotnet_naming_symbols.locals_and_parameters.applicable_kinds = parameter, local
|
||||||
|
|
||||||
|
dotnet_naming_style.camel_case_style.capitalization = camel_case
|
||||||
|
|
||||||
|
# Local functions are PascalCase
|
||||||
|
dotnet_naming_rule.local_functions_should_be_pascal_case.severity = suggestion
|
||||||
|
dotnet_naming_rule.local_functions_should_be_pascal_case.symbols = local_functions
|
||||||
|
dotnet_naming_rule.local_functions_should_be_pascal_case.style = local_function_style
|
||||||
|
|
||||||
|
dotnet_naming_symbols.local_functions.applicable_kinds = local_function
|
||||||
|
|
||||||
|
dotnet_naming_style.local_function_style.capitalization = pascal_case
|
||||||
|
|
||||||
|
# By default, name items with PascalCase
|
||||||
|
dotnet_naming_rule.members_should_be_pascal_case.severity = suggestion
|
||||||
|
dotnet_naming_rule.members_should_be_pascal_case.symbols = all_members
|
||||||
|
dotnet_naming_rule.members_should_be_pascal_case.style = pascal_case_style
|
||||||
|
|
||||||
|
dotnet_naming_symbols.all_members.applicable_kinds = *
|
||||||
|
|
||||||
|
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
|
||||||
|
|
||||||
# CSharp code style settings:
|
# CSharp code style settings:
|
||||||
[*.cs]
|
[*.cs]
|
||||||
|
# Indentation preferences
|
||||||
|
csharp_indent_block_contents = true
|
||||||
|
csharp_indent_braces = false
|
||||||
|
csharp_indent_case_contents = true
|
||||||
|
csharp_indent_switch_labels = true
|
||||||
|
csharp_indent_labels = flush_left
|
||||||
|
|
||||||
# Prefer "var" everywhere
|
# Prefer "var" everywhere
|
||||||
csharp_style_var_for_built_in_types = true:suggestion
|
csharp_style_var_for_built_in_types = true:suggestion
|
||||||
csharp_style_var_when_type_is_apparent = true:suggestion
|
csharp_style_var_when_type_is_apparent = true:suggestion
|
||||||
csharp_style_var_elsewhere = true:suggestion
|
csharp_style_var_elsewhere = true:suggestion
|
||||||
|
|
||||||
# Prefer method-like constructs to have a block body
|
# Prefer method-like constructs to have an expression-body
|
||||||
csharp_style_expression_bodied_methods = false:none
|
csharp_style_expression_bodied_methods = true:none
|
||||||
csharp_style_expression_bodied_constructors = false:none
|
csharp_style_expression_bodied_constructors = true:none
|
||||||
csharp_style_expression_bodied_operators = false:none
|
csharp_style_expression_bodied_operators = true:none
|
||||||
|
|
||||||
# Prefer property-like constructs to have an expression-body
|
# Prefer property-like constructs to have an expression-body
|
||||||
csharp_style_expression_bodied_properties = true:none
|
csharp_style_expression_bodied_properties = true:none
|
||||||
|
|
|
@ -1,154 +1,8 @@
|
||||||
# EditorConfig is awesome:http://EditorConfig.org
|
*.cs text
|
||||||
|
*.md text
|
||||||
# top-most EditorConfig file
|
*.proj text
|
||||||
root = true
|
*.props text
|
||||||
|
*.targets text
|
||||||
# Don't use tabs for indentation.
|
*.resx text
|
||||||
[*]
|
*.sh text eol=lf
|
||||||
indent_style = space
|
*.sln text eol=crlf
|
||||||
# (Please don't specify an indent_size here; that has too many unintended consequences.)
|
|
||||||
|
|
||||||
# Code files
|
|
||||||
[*.{cs,csx,vb,vbx}]
|
|
||||||
indent_size = 4
|
|
||||||
insert_final_newline = true
|
|
||||||
charset = utf-8-bom
|
|
||||||
|
|
||||||
# Xml project files
|
|
||||||
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
|
|
||||||
indent_size = 2
|
|
||||||
|
|
||||||
# Xml config files
|
|
||||||
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
|
|
||||||
indent_size = 2
|
|
||||||
|
|
||||||
# JSON files
|
|
||||||
[*.json]
|
|
||||||
indent_size = 2
|
|
||||||
|
|
||||||
# Dotnet code style settings:
|
|
||||||
[*.{cs,vb}]
|
|
||||||
# Sort using and Import directives with System.* appearing first
|
|
||||||
dotnet_sort_system_directives_first = true
|
|
||||||
# Avoid "this." and "Me." if not necessary
|
|
||||||
dotnet_style_qualification_for_field = false:suggestion
|
|
||||||
dotnet_style_qualification_for_property = false:suggestion
|
|
||||||
dotnet_style_qualification_for_method = false:suggestion
|
|
||||||
dotnet_style_qualification_for_event = false:suggestion
|
|
||||||
|
|
||||||
# Use language keywords instead of framework type names for type references
|
|
||||||
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
|
|
||||||
dotnet_style_predefined_type_for_member_access = true:suggestion
|
|
||||||
|
|
||||||
# Suggest more modern language features when available
|
|
||||||
dotnet_style_object_initializer = true:suggestion
|
|
||||||
dotnet_style_collection_initializer = true:suggestion
|
|
||||||
dotnet_style_coalesce_expression = true:suggestion
|
|
||||||
dotnet_style_null_propagation = true:suggestion
|
|
||||||
dotnet_style_explicit_tuple_names = true:suggestion
|
|
||||||
|
|
||||||
# Non-private static fields are PascalCase
|
|
||||||
dotnet_naming_rule.non_private_static_fields_should_be_pascal_case.severity = suggestion
|
|
||||||
dotnet_naming_rule.non_private_static_fields_should_be_pascal_case.symbols = non_private_static_fields
|
|
||||||
dotnet_naming_rule.non_private_static_fields_should_be_pascal_case.style = non_private_static_field_style
|
|
||||||
|
|
||||||
dotnet_naming_symbols.non_private_static_fields.applicable_kinds = field
|
|
||||||
dotnet_naming_symbols.non_private_static_fields.applicable_accessibilities = public, protected, internal, protected internal, private protected
|
|
||||||
dotnet_naming_symbols.non_private_static_fields.required_modifiers = static
|
|
||||||
|
|
||||||
dotnet_naming_style.non_private_static_field_style.capitalization = pascal_case
|
|
||||||
|
|
||||||
# Constants are PascalCase
|
|
||||||
dotnet_naming_rule.constants_should_be_pascal_case.severity = suggestion
|
|
||||||
dotnet_naming_rule.constants_should_be_pascal_case.symbols = constants
|
|
||||||
dotnet_naming_rule.constants_should_be_pascal_case.style = constant_style
|
|
||||||
|
|
||||||
dotnet_naming_symbols.constants.applicable_kinds = field, local
|
|
||||||
dotnet_naming_symbols.constants.required_modifiers = const
|
|
||||||
|
|
||||||
dotnet_naming_style.constant_style.capitalization = pascal_case
|
|
||||||
|
|
||||||
# Static fields are camelCase
|
|
||||||
dotnet_naming_rule.static_fields_should_be_camel_case.severity = suggestion
|
|
||||||
dotnet_naming_rule.static_fields_should_be_camel_case.symbols = static_fields
|
|
||||||
dotnet_naming_rule.static_fields_should_be_camel_case.style = static_field_style
|
|
||||||
|
|
||||||
dotnet_naming_symbols.static_fields.applicable_kinds = field
|
|
||||||
dotnet_naming_symbols.static_fields.required_modifiers = static
|
|
||||||
|
|
||||||
dotnet_naming_style.static_field_style.capitalization = camel_case
|
|
||||||
|
|
||||||
# Instance fields are camelCase
|
|
||||||
dotnet_naming_rule.instance_fields_should_be_camel_case.severity = suggestion
|
|
||||||
dotnet_naming_rule.instance_fields_should_be_camel_case.symbols = instance_fields
|
|
||||||
dotnet_naming_rule.instance_fields_should_be_camel_case.style = instance_field_style
|
|
||||||
|
|
||||||
dotnet_naming_symbols.instance_fields.applicable_kinds = field
|
|
||||||
|
|
||||||
dotnet_naming_style.instance_field_style.capitalization = camel_case
|
|
||||||
|
|
||||||
# Locals and parameters are camelCase
|
|
||||||
dotnet_naming_rule.locals_should_be_camel_case.severity = suggestion
|
|
||||||
dotnet_naming_rule.locals_should_be_camel_case.symbols = locals_and_parameters
|
|
||||||
dotnet_naming_rule.locals_should_be_camel_case.style = camel_case_style
|
|
||||||
|
|
||||||
dotnet_naming_symbols.locals_and_parameters.applicable_kinds = parameter, local
|
|
||||||
|
|
||||||
dotnet_naming_style.camel_case_style.capitalization = camel_case
|
|
||||||
|
|
||||||
# Local functions are PascalCase
|
|
||||||
dotnet_naming_rule.local_functions_should_be_pascal_case.severity = suggestion
|
|
||||||
dotnet_naming_rule.local_functions_should_be_pascal_case.symbols = local_functions
|
|
||||||
dotnet_naming_rule.local_functions_should_be_pascal_case.style = local_function_style
|
|
||||||
|
|
||||||
dotnet_naming_symbols.local_functions.applicable_kinds = local_function
|
|
||||||
|
|
||||||
dotnet_naming_style.local_function_style.capitalization = pascal_case
|
|
||||||
|
|
||||||
# By default, name items with PascalCase
|
|
||||||
dotnet_naming_rule.members_should_be_pascal_case.severity = suggestion
|
|
||||||
dotnet_naming_rule.members_should_be_pascal_case.symbols = all_members
|
|
||||||
dotnet_naming_rule.members_should_be_pascal_case.style = pascal_case_style
|
|
||||||
|
|
||||||
dotnet_naming_symbols.all_members.applicable_kinds = *
|
|
||||||
|
|
||||||
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
|
|
||||||
|
|
||||||
# CSharp code style settings:
|
|
||||||
[*.cs]
|
|
||||||
# Indentation preferences
|
|
||||||
csharp_indent_block_contents = true
|
|
||||||
csharp_indent_braces = false
|
|
||||||
csharp_indent_case_contents = true
|
|
||||||
csharp_indent_switch_labels = true
|
|
||||||
csharp_indent_labels = flush_left
|
|
||||||
|
|
||||||
# Prefer "var" everywhere
|
|
||||||
csharp_style_var_for_built_in_types = true:suggestion
|
|
||||||
csharp_style_var_when_type_is_apparent = true:suggestion
|
|
||||||
csharp_style_var_elsewhere = true:suggestion
|
|
||||||
|
|
||||||
# Prefer method-like constructs to have an expression-body
|
|
||||||
csharp_style_expression_bodied_methods = true:none
|
|
||||||
csharp_style_expression_bodied_constructors = true:none
|
|
||||||
csharp_style_expression_bodied_operators = true:none
|
|
||||||
|
|
||||||
# Prefer property-like constructs to have an expression-body
|
|
||||||
csharp_style_expression_bodied_properties = true:none
|
|
||||||
csharp_style_expression_bodied_indexers = true:none
|
|
||||||
csharp_style_expression_bodied_accessors = true:none
|
|
||||||
|
|
||||||
# Suggest more modern language features when available
|
|
||||||
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
|
|
||||||
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
|
|
||||||
csharp_style_inlined_variable_declaration = true:suggestion
|
|
||||||
csharp_style_throw_expression = true:suggestion
|
|
||||||
csharp_style_conditional_delegate_call = true:suggestion
|
|
||||||
|
|
||||||
# Newline settings
|
|
||||||
csharp_new_line_before_open_brace = all
|
|
||||||
csharp_new_line_before_else = true
|
|
||||||
csharp_new_line_before_catch = true
|
|
||||||
csharp_new_line_before_finally = true
|
|
||||||
csharp_new_line_before_members_in_object_initializers = true
|
|
||||||
csharp_new_line_before_members_in_anonymous_types = true
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
<Project>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Update="Microsoft.CodeAnalysis.CSharp.Features" Version="[2.9.0]" />
|
||||||
|
<PackageReference Update="Microsoft.VSSDK.BuildTools" Version="[15.8.3252]" />
|
||||||
|
<PackageReference Update="Xamarin.VSSDK.BuildTools" Version="[0.3.0-alpha.17]" />
|
||||||
|
<PackageReference Update="MSBuilder.ThisAssembly.Metadata" Version="[0.1.3]" />
|
||||||
|
<PackageReference Update="GitInfo" Version="[2.0.18]" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,52 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 15
|
||||||
|
VisualStudioVersion = 15.0.28218.60
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Xamarin.CodeAnalysis", "src\Xamarin.CodeAnalysis\Xamarin.CodeAnalysis.csproj", "{A83DFC4B-4270-4A1A-8438-897A8AA61AE0}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Xamarin.CodeAnalysis.Completion", "src\Xamarin.CodeAnalysis.Completion\Xamarin.CodeAnalysis.Completion.csproj", "{E5EA94F5-3B00-40E9-B45A-0CF3C995D9E8}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Xamarin.CodeAnalysis.Tests", "src\Xamarin.CodeAnalysis.Tests\Xamarin.CodeAnalysis.Tests.csproj", "{366C371C-0FCE-4357-87AE-C03F5DB8D47E}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Xamarin.CodeAnalysis.Extension", "src\Xamarin.CodeAnalysis.Extension\Xamarin.CodeAnalysis.Extension.csproj", "{D84C73D3-0DA3-4723-9C3C-6F4B9FD07514}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{ADBB9E34-F6F8-4E54-82AA-279EE5DDFD15}"
|
||||||
|
ProjectSection(SolutionItems) = preProject
|
||||||
|
src\Directory.Build.props = src\Directory.Build.props
|
||||||
|
src\Directory.Build.targets = src\Directory.Build.targets
|
||||||
|
src\GitInfo.txt = src\GitInfo.txt
|
||||||
|
src\NuGet.Config = src\NuGet.Config
|
||||||
|
Packages.props = Packages.props
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{A83DFC4B-4270-4A1A-8438-897A8AA61AE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{A83DFC4B-4270-4A1A-8438-897A8AA61AE0}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{A83DFC4B-4270-4A1A-8438-897A8AA61AE0}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{A83DFC4B-4270-4A1A-8438-897A8AA61AE0}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{E5EA94F5-3B00-40E9-B45A-0CF3C995D9E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{E5EA94F5-3B00-40E9-B45A-0CF3C995D9E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{E5EA94F5-3B00-40E9-B45A-0CF3C995D9E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{E5EA94F5-3B00-40E9-B45A-0CF3C995D9E8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{366C371C-0FCE-4357-87AE-C03F5DB8D47E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{366C371C-0FCE-4357-87AE-C03F5DB8D47E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{366C371C-0FCE-4357-87AE-C03F5DB8D47E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{366C371C-0FCE-4357-87AE-C03F5DB8D47E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{D84C73D3-0DA3-4723-9C3C-6F4B9FD07514}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{D84C73D3-0DA3-4723-9C3C-6F4B9FD07514}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{D84C73D3-0DA3-4723-9C3C-6F4B9FD07514}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{D84C73D3-0DA3-4723-9C3C-6F4B9FD07514}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {C136E0D2-8637-4CDE-803F-4FCB33350FD8}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
|
@ -5,6 +5,26 @@ steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
clean: true
|
clean: true
|
||||||
|
|
||||||
|
- task: MSBuild@1
|
||||||
|
displayName: Restore
|
||||||
|
inputs:
|
||||||
|
solution: Xamarin.CodeAnalysis.sln
|
||||||
|
msbuildArguments: /t:Restore /m
|
||||||
|
|
||||||
|
- task: MSBuild@1
|
||||||
|
displayName: Build
|
||||||
|
inputs:
|
||||||
|
solution: Xamarin.CodeAnalysis.sln
|
||||||
|
msbuildArguments: /bl:"$(Build.ArtifactStagingDirectory)\build.binlog" /p:TargetVsixContainer=$(Build.ArtifactStagingDirectory)\Xamarin.CodeAnalysis.vsix /m
|
||||||
|
|
||||||
|
- task: VSTest@2
|
||||||
|
displayName: Test
|
||||||
|
inputs:
|
||||||
|
testAssemblyVer2: src\*\bin\*\*.Tests.dll
|
||||||
|
runInParallel: 'true'
|
||||||
|
codeCoverageEnabled: 'true'
|
||||||
|
publishRunAttachments: 'true'
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
displayName: Publish Artifact
|
displayName: Publish Artifact
|
||||||
inputs:
|
inputs:
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
<Project>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- We always target a single framework, so we don't need the added subdir -->
|
||||||
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||||
|
<DefaultItemExcludes>*.binlog</DefaultItemExcludes>
|
||||||
|
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(CI)' == ''">
|
||||||
|
<CI>false</CI>
|
||||||
|
<CI Condition="'$(TF_BUILD)' == 'true'">true</CI>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<GitSkipCache Condition="'$(CI)' == 'true'">true</GitSkipCache>
|
||||||
|
<Configuration Condition="'$(Configuration)' == '' and '$(CI)' == 'true'">Release</Configuration>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- Redeclared by GitInfo -->
|
||||||
|
<Target Name="GitVersion" />
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="GitInfo" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,59 @@
|
||||||
|
<Project>
|
||||||
|
|
||||||
|
<Target Name="SetVersions"
|
||||||
|
BeforeTargets="GetAssemblyVersion"
|
||||||
|
DependsOnTargets="GitVersion"
|
||||||
|
Returns="$(Version)"
|
||||||
|
Condition="'$(GitInfoImported)' == 'true' And '$(ExcludeRestorePackageImports)' != 'true'">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<GitBranch Condition="'$(SYSTEM_PULLREQUEST_TARGETBRANCH)' != ''">$(SYSTEM_PULLREQUEST_TARGETBRANCH)</GitBranch>
|
||||||
|
<GitBranch Condition="'$(SYSTEM_PULLREQUEST_TARGETBRANCH)' == '' and '$(BUILD_SOURCEBRANCHNAME)' != ''">$(BUILD_SOURCEBRANCHNAME)</GitBranch>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<VersionMetadata Include="$(GitCommits)"/>
|
||||||
|
|
||||||
|
<VersionMetadata Condition="$(CI) and '$(BUILD_REASON)' == 'PullRequest'"
|
||||||
|
Include="pr.$(SYSTEM_PULLREQUEST_PULLREQUESTNUMBER)"/>
|
||||||
|
|
||||||
|
<VersionMetadata Include="sha.$(GitCommit)"/>
|
||||||
|
|
||||||
|
<VersionMetadata Condition="$(CI)"
|
||||||
|
Include="vsts.$(BUILD_BUILDID)"/>
|
||||||
|
|
||||||
|
<VersionMetadata Include="$(GitBranch)"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<VersionMetadataLabel>@(VersionMetadata -> '%(Identity)', '-')</VersionMetadataLabel>
|
||||||
|
<VersionMetadataPlusLabel Condition="'$(VersionMetadataLabel)' != ''">+$(VersionMetadataLabel)</VersionMetadataPlusLabel>
|
||||||
|
<PackageVersion>$(GitBaseVersionMajor).$(GitBaseVersionMinor).$(GitBaseVersionPatch)$(GitSemVerDashLabel)</PackageVersion>
|
||||||
|
<Version>$(PackageVersion)$(VersionMetadataPlusLabel)</Version>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Message Condition="$(CI)" Importance="high" Text="##vso[build.updatebuildnumber]$(Version)"/>
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="AddMetadata" BeforeTargets="PrepareForBuild" DependsOnTargets="GetAssemblyVersion">
|
||||||
|
<ItemGroup>
|
||||||
|
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
|
||||||
|
<_Parameter1>Version</_Parameter1>
|
||||||
|
<_Parameter2>$(Version)</_Parameter2>
|
||||||
|
</AssemblyAttribute>
|
||||||
|
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
|
||||||
|
<_Parameter1>AssemblyVersion</_Parameter1>
|
||||||
|
<_Parameter2>$(AssemblyVersion)</_Parameter2>
|
||||||
|
</AssemblyAttribute>
|
||||||
|
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
|
||||||
|
<_Parameter1>FileVersion</_Parameter1>
|
||||||
|
<_Parameter2>$(FileVersion)</_Parameter2>
|
||||||
|
</AssemblyAttribute>
|
||||||
|
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
|
||||||
|
<_Parameter1>InformationalVersion</_Parameter1>
|
||||||
|
<_Parameter2>$(InformationalVersion)</_Parameter2>
|
||||||
|
</AssemblyAttribute>
|
||||||
|
</ItemGroup>
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1 @@
|
||||||
|
0.2.0
|
|
@ -0,0 +1,13 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<Sdk Name="Microsoft.Build.CentralPackageVersions" Version="2.0.1" />
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net46</TargetFramework>
|
||||||
|
<TargetFramework Condition="'$(VisualStudioVersion)' == '16.0'">net472</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Features" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 26 KiB |
|
@ -0,0 +1,130 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="100" xml:space="preserve">
|
||||||
|
<value>Xamarin CodeAnalysis</value>
|
||||||
|
</data>
|
||||||
|
<data name="101" xml:space="preserve">
|
||||||
|
<value>Provides custom completion for Xamarin projects.</value>
|
||||||
|
</data>
|
||||||
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
|
<data name="400" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>ICN_Xamarin.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"profiles": {
|
||||||
|
"Debug": {
|
||||||
|
"commandName": "Executable",
|
||||||
|
"executablePath": "$(VsInstallRoot)\\Common7\\IDE\\devenv.exe",
|
||||||
|
"commandLineArgs": "/rootSuffix $(VSSDKTargetPlatformRegRootSuffix)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,84 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<Sdk Name="Microsoft.Build.CentralPackageVersions" Version="2.0.1" />
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<Dev>$(VisualStudioVersion.Substring(0, 2))</Dev>
|
||||||
|
<TargetFramework>net46</TargetFramework>
|
||||||
|
<TargetFramework Condition="'$(VisualStudioVersion)' == '16.0'">net472</TargetFramework>
|
||||||
|
<Platforms>AnyCPU;x86</Platforms>
|
||||||
|
<Platform>x86</Platform>
|
||||||
|
|
||||||
|
<RootNamespace>Xamarin.CodeAnalysis</RootNamespace>
|
||||||
|
|
||||||
|
<!--<GeneratePkgDefFile>false</GeneratePkgDefFile>-->
|
||||||
|
<IncludeDebugSymbolsInVSIXContainer>true</IncludeDebugSymbolsInVSIXContainer>
|
||||||
|
<IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment>
|
||||||
|
<DefaultIncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;DebugSymbolsProjectOutputGroup;GetCopyToOutputDirectoryItems;SatelliteDllsProjectOutputGroup</DefaultIncludeOutputGroupsInVSIX>
|
||||||
|
|
||||||
|
<TargetVsixContainerName>Xamarin.CodeAnalysis.vsix</TargetVsixContainerName>
|
||||||
|
|
||||||
|
<IsExperimental>true</IsExperimental>
|
||||||
|
<IsSystemComponent>false</IsSystemComponent>
|
||||||
|
|
||||||
|
<VsixVersion>42.42.42</VsixVersion>
|
||||||
|
|
||||||
|
<RestoreSources>$(RestoreSources);https://api.nuget.org/v3/index.json;https://nugets.blob.core.windows.net/xvssdk/index.json</RestoreSources>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(CI)' == 'true'">
|
||||||
|
<IsProductComponent>true</IsProductComponent>
|
||||||
|
<IsExperimental>false</IsExperimental>
|
||||||
|
<IsSystemComponent>true</IsSystemComponent>
|
||||||
|
<ExtensionInstallationRoot>Extensions</ExtensionInstallationRoot>
|
||||||
|
<ExtensionInstallationFolder>Xamarin\Forms.Previewer</ExtensionInstallationFolder>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.VSSDK.BuildTools" />
|
||||||
|
<PackageReference Include="MSBuilder.ThisAssembly.Metadata" />
|
||||||
|
<PackageReference Include="Xamarin.VSSDK.BuildTools" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Xamarin.CodeAnalysis.Completion\Xamarin.CodeAnalysis.Completion.csproj">
|
||||||
|
<Name>Xamarin.CodeAnalysis.Completion</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\Xamarin.CodeAnalysis\Xamarin.CodeAnalysis.csproj">
|
||||||
|
<Name>Xamarin.CodeAnalysis</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Update="Properties\Resources.resx">
|
||||||
|
<Generator></Generator>
|
||||||
|
<MergeWithCTO>true</MergeWithCTO>
|
||||||
|
<ManifestResourceName>VSPackage</ManifestResourceName>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Resource Include="Properties\ICN_Xamarin.ico" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="GetVsixVersion" DependsOnTargets="SetVersions" Returns="$(VsixVersion)">
|
||||||
|
<PropertyGroup>
|
||||||
|
<VsixVersion Condition="'$(CI)' == 'true'">$(GitSemVerMajor).$(GitSemVerMinor).$(GitSemVerPatch)</VsixVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="AppendVsixVersionToTargetVsixContainer" BeforeTargets="CreateVsixContainer" DependsOnTargets="GetVsixVersion">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetVsixContainer>$([System.IO.Path]::ChangeExtension('$(TargetVsixContainer)', '$(VsixVersion).vsix'))</TargetVsixContainer>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="IncludeSymbolsFromProjectReferences" BeforeTargets="GetVsixSourceItems">
|
||||||
|
<!-- For any project references that are set to copy local ('Private' property != false), add the output groups for project references that are not set -->
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReferenceWithConfiguration Condition="'%(ProjectReferenceWithConfiguration.Private)' != 'false' and '%(ProjectReferenceWithConfiguration.IncludeOutputGroupsInVSIX)' == ''">
|
||||||
|
<IncludeOutputGroupsInVSIX>$(DefaultIncludeOutputGroupsInVSIX)</IncludeOutputGroupsInVSIX>
|
||||||
|
</ProjectReferenceWithConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="IsExperimental" Returns="$(IsExperimental)" />
|
||||||
|
<Target Name="IsSystemComponent" Returns="$(IsSystemComponent)" />
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,24 @@
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using Microsoft.VisualStudio.Shell;
|
||||||
|
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
[assembly: Guid("271716A6-CCF6-47F0-A358-70869B8B24BD")]
|
||||||
|
[assembly: ProvideCodeBase(AssemblyName = "Xamarin.CodeAnalysis")]
|
||||||
|
[assembly: ProvideCodeBase(AssemblyName = "Xamarin.CodeAnalysis.Completion")]
|
||||||
|
[assembly: ProvideCodeBase(AssemblyName = "Xamarin.CodeAnalysis.Extension")]
|
||||||
|
|
||||||
|
namespace Xamarin.CodeAnalysis
|
||||||
|
|
||||||
|
{
|
||||||
|
[InstalledProductRegistration(
|
||||||
|
productName: "#100",
|
||||||
|
productDetails: "#101",
|
||||||
|
productId: ThisAssembly.Metadata.InformationalVersion,
|
||||||
|
IconResourceID = 400)]
|
||||||
|
[PackageRegistration(UseManagedResourcesOnly = true)]
|
||||||
|
[Guid("FBE35200-65BD-42B1-AC6D-2F4EB5719209")]
|
||||||
|
[ProvideBindingPath]
|
||||||
|
public class XamarinCodeAnalysisPackage : Package
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?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="Xamarin.CodeAnalyis" Version="|%CurrentProject%;GetVsixVersion|" Language="en-US" Publisher="Xamarin" />
|
||||||
|
<DisplayName>Xamarin Code Analysis</DisplayName>
|
||||||
|
<Description>Provides analyzers, code fixes and completion for Xamarin projects.</Description>
|
||||||
|
</Metadata>
|
||||||
|
<Installation AllUsers="|%CurrentProject%;IsSystemComponent|" SystemComponent="|%CurrentProject%;IsSystemComponent|" Experimental="|%CurrentProject%;IsExperimental|">
|
||||||
|
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[15.0, 16.0)" />
|
||||||
|
</Installation>
|
||||||
|
<Prerequisites>
|
||||||
|
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0, 16.0)" DisplayName="Visual Studio core editor" />
|
||||||
|
</Prerequisites>
|
||||||
|
<Assets>
|
||||||
|
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
|
||||||
|
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="Xamarin.CodeAnalysis" Path="|Xamarin.CodeAnalysis|" />
|
||||||
|
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="Xamarin.CodeAnalysis.Completion" Path="|Xamarin.CodeAnalysis.Completion|" />
|
||||||
|
</Assets>
|
||||||
|
</PackageManifest>
|
|
@ -0,0 +1,16 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net46</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="xunit" Version="2.4.0" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Xamarin.CodeAnalysis.Completion\Xamarin.CodeAnalysis.Completion.csproj" />
|
||||||
|
<ProjectReference Include="..\Xamarin.CodeAnalysis\Xamarin.CodeAnalysis.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,13 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<Sdk Name="Microsoft.Build.CentralPackageVersions" Version="2.0.1" />
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net46</TargetFramework>
|
||||||
|
<TargetFramework Condition="'$(VisualStudioVersion)' == '16.0'">net472</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Features" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
Загрузка…
Ссылка в новой задаче