Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 1d1c14a

Browse files
bettinaheimanpaz
authored andcommitted
component detection (#4)
* component detection * switching to 2.2 for all dotnet core apps * vs code package
1 parent 2e853fe commit 1d1c14a

File tree

11 files changed

+17
-11
lines changed

11 files changed

+17
-11
lines changed

build/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ jobs:
99
- job: "QsCompiler"
1010
steps:
1111
- template: steps.yml
12+
13+
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
14+
displayName: 'Component detection'
15+
inputs:
16+
failOnAlert: true
17+

src/QsCompiler/CommandLineTool/QsCommandLineTool.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<PropertyGroup>
55
<AssemblyName>qsc</AssemblyName>
66
<AssemblyTitle>Microsoft Q# compiler command line tool.</AssemblyTitle>
7-
<TargetFramework>netcoreapp2.1</TargetFramework>
7+
<TargetFramework>netcoreapp2.2</TargetFramework>
88
<OutputType>Exe</OutputType>
99
</PropertyGroup>
1010

src/QsCompiler/LanguageServer/QsLanguageServer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<PropertyGroup>
55
<AssemblyName>Microsoft.Quantum.QsLanguageServer</AssemblyName>
6-
<TargetFramework>netcoreapp2.1</TargetFramework>
6+
<TargetFramework>netcoreapp2.2</TargetFramework>
77
<OutputType>Exe</OutputType>
88
</PropertyGroup>
99
<PropertyGroup>

src/QsCompiler/TestProjects/test10/test10.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.1</TargetFramework>
5+
<TargetFramework>netcoreapp2.2</TargetFramework>
66
<PlatformTarget>x64</PlatformTarget>
77
</PropertyGroup>
88

src/QsCompiler/Tests.Compiler/Tests.Compiler.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp2.1</TargetFramework>
4+
<TargetFramework>netcoreapp2.2</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<AssemblyName>Tests.Microsoft.Quantum.QsCompiler</AssemblyName>
77
<OutputType>Library</OutputType>

src/QsCompiler/Tests.DocGenerator/Tests.DocGenerator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp2.1</TargetFramework>
4+
<TargetFramework>netcoreapp2.2</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<RootNamespace>Microsoft.Quantum.QsCompiler.Documentation.Testing</RootNamespace>
77
<AssemblyName>Tests.Microsoft.Quantum.QsDocumentationParser</AssemblyName>

src/QsCompiler/Tests.LanguageServer/ProjectLoaderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ void CompareFramework(string project, string expected)
7777
("test7", "net461"),
7878
("test8", null),
7979
("test9", "netcoreapp2.0"),
80-
("test10", "netcoreapp2.1")
80+
("test10", "netcoreapp2.2")
8181
};
8282

8383
foreach (var (project, framework) in testProjects)

src/QsCompiler/Tests.LanguageServer/Tests.LanguageServer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp2.1</TargetFramework>
4+
<TargetFramework>netcoreapp2.2</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<AssemblyName>Tests.Microsoft.Quantum.QsLanguageServer</AssemblyName>
77
<OutputType>Library</OutputType>

src/VSCodeExtension/Build-Dependencies.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ param(
66
$Force
77
)
88

9-
$TargetMoniker = "netcoreapp2.1";
9+
$TargetMoniker = "netcoreapp2.2";
1010
$LanguageServerRoot = Resolve-Path "../QsCompiler/LanguageServer/";
1111

1212
# If we're not given a configuration, try to populate from an enviromnent variable.

src/VSCodeExtension/package.json.v.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"vscode-languageclient": "5.1.0",
8080
"portfinder": "1.0.13",
8181
"which": "1.3.1",
82-
"opn": "5.1.0",
82+
"open": "6.3.0",
8383
"vscode-extension-telemetry": "0.0.18",
8484
"tmp": "0.0.33",
8585
"semver": "^6.0.0"

0 commit comments

Comments
 (0)