Skip to content

Commit 8187f7f

Browse files
committed
Update to .Net 8 and new version Q sharp
1 parent 86a0571 commit 8187f7f

File tree

3 files changed

+22
-12
lines changed

3 files changed

+22
-12
lines changed

sample/Sample.csproj

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<Project Sdk="Microsoft.Quantum.Sdk/0.18.2107153439">
1+
<Project Sdk="Microsoft.Quantum.Sdk/0.28.302812">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<DefaultSimulator>QSharpCommunity.Simulators.Chp.StabilizerSimulator</DefaultSimulator>
77
<Platforms>AnyCPU;x64</Platforms>
88
</PropertyGroup>
@@ -11,4 +11,9 @@
1111
<ProjectReference Include="../src/ChpSimulator.csproj" />
1212
</ItemGroup>
1313

14+
<ItemGroup>
15+
<PackageReference Update="Microsoft.Quantum.QSharp.Core" Version="0.28.302812" />
16+
<PackageReference Update="Microsoft.Quantum.Standard" Version="0.28.302812" />
17+
</ItemGroup>
18+
1419
</Project>

src/ChpSimulator.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.1</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Platforms>AnyCPU;x64</Platforms>
66
</PropertyGroup>
77

@@ -14,8 +14,8 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.18.2107153439" />
18-
<PackageReference Include="Microsoft.Quantum.IQSharp.Jupyter" Version="0.18.2107153439" />
17+
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.28.302812" />
18+
<PackageReference Include="Microsoft.Quantum.IQSharp.Jupyter" Version="0.28.302812" />
1919
</ItemGroup>
2020

2121
<!--For more info on the package properties check out https://docs.microsoft.com/en-us/dotnet/core/tools/csproj#nuget-metadata-properties -->

test/ChpSimulator.Test.csproj

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
<Project Sdk="Microsoft.Quantum.Sdk/0.18.2107153439">
1+
<Project Sdk="Microsoft.Quantum.Sdk/0.28.302812">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<Platforms>AnyCPU;x64</Platforms>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.Quantum.Xunit" Version="0.18.2107153439" />
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
12-
<PackageReference Include="xunit" Version="2.4.1" />
13-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.2">
10+
<PackageReference Include="Microsoft.Quantum.Xunit" Version="0.28.302812" />
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
12+
<PackageReference Include="xunit" Version="2.9.2" />
13+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>
@@ -21,4 +21,9 @@
2121
<ProjectReference Include="..\src\ChpSimulator.csproj" />
2222
</ItemGroup>
2323

24+
<ItemGroup>
25+
<PackageReference Update="Microsoft.Quantum.QSharp.Core" Version="0.28.302812" />
26+
<PackageReference Update="Microsoft.Quantum.Standard" Version="0.28.302812" />
27+
</ItemGroup>
28+
2429
</Project>

0 commit comments

Comments
 (0)