mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 21:38:44 +00:00
use netstandard1.4
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4509caf102
commit
f4ced3c164
|
@ -67,10 +67,10 @@ def unpack():
|
||||||
mk_dir("out/runtimes/%s" % dst)
|
mk_dir("out/runtimes/%s" % dst)
|
||||||
shutil.move("tmp/%s/bin/libz3.%s" % (package_dir, ext), "out/runtimes/%s/." % dst)
|
shutil.move("tmp/%s/bin/libz3.%s" % (package_dir, ext), "out/runtimes/%s/." % dst)
|
||||||
if "win" in f:
|
if "win" in f:
|
||||||
mk_dir("out/lib/netstandard1.0/")
|
mk_dir("out/lib/netstandard1.4/")
|
||||||
for b in ["Microsoft.Z3.dll"]:
|
for b in ["Microsoft.Z3.dll"]:
|
||||||
zip_ref.extract("%s/bin/%s" % (package_dir, b), "tmp")
|
zip_ref.extract("%s/bin/%s" % (package_dir, b), "tmp")
|
||||||
shutil.move("tmp/%s/bin/%s" % (package_dir, b), "out/lib/netstandard1.0/%s" % b)
|
shutil.move("tmp/%s/bin/%s" % (package_dir, b), "out/lib/netstandard1.4/%s" % b)
|
||||||
|
|
||||||
def create_nuget_spec():
|
def create_nuget_spec():
|
||||||
mk_project.init_version()
|
mk_project.init_version()
|
||||||
|
|
|
@ -1872,14 +1872,13 @@ class DotNetCoreDLLComponent(Component):
|
||||||
core_csproj_str = """<Project Sdk="Microsoft.NET.Sdk">
|
core_csproj_str = """<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp1.0</TargetFramework>
|
<TargetFramework>netstandard1.4</TargetFramework>
|
||||||
<PlatformTarget>%s</PlatformTarget>
|
<PlatformTarget>%s</PlatformTarget>
|
||||||
<DefineConstants>$(DefineConstants);DOTNET_CORE</DefineConstants>
|
<DefineConstants>$(DefineConstants);DOTNET_CORE</DefineConstants>
|
||||||
<DebugType>portable</DebugType>
|
<DebugType>portable</DebugType>
|
||||||
<AssemblyName>Microsoft.Z3</AssemblyName>
|
<AssemblyName>Microsoft.Z3</AssemblyName>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<PackageId>Microsoft.Z3</PackageId>
|
<PackageId>Microsoft.Z3</PackageId>
|
||||||
<PackageTargetFallback>$(PackageTargetFallback);dnxcore50</PackageTargetFallback>
|
|
||||||
<RuntimeFrameworkVersion>1.0.4</RuntimeFrameworkVersion>
|
<RuntimeFrameworkVersion>1.0.4</RuntimeFrameworkVersion>
|
||||||
<Version>%s</Version>
|
<Version>%s</Version>
|
||||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||||
|
|
Loading…
Reference in a new issue