NuGet setup

2.2-servicing
bubibubi 8 years ago
parent 763f735e6a
commit ef0e31818f

2
.gitignore vendored

@ -158,3 +158,5 @@ $RECYCLE.BIN/
/packages
/NuGet.Packager
/.vs/EntityFrameworkCore.Jet/v15/sqlite3/storage.ide
/msbuild/Compile
/msbuild/Output

File diff suppressed because it is too large Load Diff

@ -0,0 +1,4 @@
..\build\GlobalAssemblyInfo.cs
_MakeSetup.bat

Binary file not shown.

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>EntityFrameworkCore.Jet</id>
<version>1.0.0</version>
<authors>Bubi</authors>
<owners>Bubi</owners>
<projectUrl>https://github.com/bubibubi/EntityFrameworkCore.Jet</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Allows Jet (Microsoft Access mdb or accdb format files) to be used with Entity Framework Core</description>
<summary>Allows Jet (Microsoft Access mdb or accdb format files) to be used with Entity Framework Core</summary>
<releaseNotes>for EF Core 2.0</releaseNotes>
<dependencies>
<group targetFramework="net461">
<dependency id="Microsoft.EntityFrameworkCore.Relational" version="2.0.0" />
</group>
</dependencies>
</metadata>
<files>
<file src="..\src\EFCore.Jet\bin\Release\EntityFrameworkCore.Jet.dll" target="lib\net461\" />
<file src="..\src\EFCore.Jet\bin\Release\System.Data.Jet.dll" target="lib\net461\" />
</files>
</package>

Binary file not shown.

@ -0,0 +1,17 @@
@echo Version = %VERSION%
@echo Build with this version numbers (Ctrl + C to stop build)?
pause
@Echo trying to create Output dir
mkdir Output
call _MakeSetup_msbuild.bat
call _MakeSetup_Copy.bat
call _MakeSetup_Pack.bat
call _MakeSetup_Push.bat
notepad Output\MakeSetup.log

@ -0,0 +1 @@
@echo Nothing to copy

@ -0,0 +1,3 @@
@echo Deleting al package files >> Output\Makesetup.log
del /q Output\*.nupkg >> Output\Makesetup.log
nuget pack EFCore.Jet.nuspec -version %VERSION% -OutputDirectory Output >> Output\Makesetup.log

@ -0,0 +1,4 @@
@echo Press enter to upload nuget files
@pause
SET PARAMETERS= -Verbosity detail
FOR %%F IN (output\*.nupkg) DO nuget push %%F %PARAMETERS% >> output\Makesetup.log

@ -0,0 +1,3 @@
@echo ========================================================= > Output\MakeSetup.log
call "%VS140COMNTOOLS%\vsvars32.bat"
msbuild ..\EntityFrameworkCore.Jet.sln /p:Configuration=Release /p:Platform="Any CPU" >> Output\MakeSetup.log

@ -110,6 +110,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\build\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="..\Shared\Check.cs">
<Link>Check.cs</Link>
</Compile>

@ -1,5 +1,8 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Reflection;
using Microsoft.EntityFrameworkCore.Design;
[assembly: DesignTimeProviderServices("Microsoft.EntityFrameworkCore.Design.Internal.JetDesignTimeServices")]
[assembly: AssemblyTitle("EntityFrameworkCore.Jet")]
[assembly: AssemblyDescription("Jet (Microsoft Access mdb or accdb files) provider for Entity Framework Core (EFCore)")]

@ -0,0 +1,4 @@
using System.Reflection;
[assembly: AssemblyTitle("System.Data.Jet")]
[assembly: AssemblyDescription("Jet (Microsoft Access mdb or accdb files) data access library")]

@ -63,6 +63,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\build\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="JetCommand.cs">
<SubType>Component</SubType>
</Compile>
@ -84,6 +87,7 @@
<Compile Include="JetTransaction.cs" />
<Compile Include="LogHelper.cs" />
<Compile Include="OleDbColumnFlagEnum.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs" />
<Compile Include="XmlObjectSerializer.cs" />
</ItemGroup>

@ -1,4 +1,5 @@
using System.Linq;
using System.Data.Jet;
using System.Linq;
using EntityFrameworkCore.Jet;
using Microsoft.EntityFrameworkCore;
using Xunit;
@ -31,7 +32,7 @@ namespace EntityFramework.Jet.FunctionalTests
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseJet(@"Data Source=BloggingNoIdentity.sdf");
optionsBuilder.UseJet(JetConnection.GetConnectionString("BloggingNoIdentity.sdf"));
}
protected override void OnModelCreating(ModelBuilder modelBuilder)

@ -1,20 +1,5 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("System.Data.Jet.Test")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("System.Data.Jet.Test")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyDescription("Test for System.Data.Jet")]
[assembly: ComVisible(false)]
[assembly: Guid("e77112b7-b6ba-43a8-b21f-dd79a7a47a2f")]
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

@ -115,6 +115,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\build\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="CreateDatabaseTest.cs" />
<Compile Include="CreateNorthwindTest.cs" />
<Compile Include="DdlTest.cs" />

@ -1,5 +1,5 @@
<!-- This file may be overwritten by automation. -->
<Project>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<KoreBuildChannel>dev</KoreBuildChannel>
<VersionPrefix>2.1.0</VersionPrefix>

Loading…
Cancel
Save